395d448027
Split Jid struct into BareJid and FullJid. Jid is now an enum
...
This will help with being able to enforce the usage of bare or full at
compile time. It is still possible to allow one or the other with the
`Jid` enum.
Thanks to O01eg (from xmpp-rs@muc.linkmauve.fr ) for the help. This
commit also contains code from them.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-21 23:52:02 +01:00
Emmanuel Gil Peyrot
1f260cfe86
Prepare for release 0.5.3.
2019-01-16 13:27:54 +01:00
Emmanuel Gil Peyrot
9c8da4a063
Use a working CI script, and test on both stable and nightly.
2018-12-20 17:49:36 +01:00
Emmanuel Gil Peyrot
fa0894daa0
Run cargo fmt
.
2018-12-18 16:40:44 +01:00
Emmanuel Gil Peyrot
316268d3a1
Use edition 2018.
2018-12-18 16:39:39 +01:00
Emmanuel Gil Peyrot
d48473648b
Bump minidom dependency to 0.10.
2018-12-18 16:35:08 +01:00
lumi
46b7ce9603
Prepare for release 0.5.2.
2018-07-31 22:22:00 +02:00
Astro
0ae044b0d5
Bump minidom dependency to 0.9.1
2018-07-25 00:23:23 +02:00
Emmanuel Gil Peyrot
06afb5afed
release version 0.5.1
2018-03-01 16:27:59 +01:00
Emmanuel Gil Peyrot
c45d1bf5ca
simplify tests for invalid JIDs
2018-03-01 16:26:44 +01:00
Emmanuel Gil Peyrot
fd4a513779
implement Fail on JidParseError
2018-03-01 16:25:59 +01:00
Emmanuel Gil Peyrot
87d59181cb
remove redundant test
2018-03-01 16:25:05 +01:00
Emmanuel Gil Peyrot
56b4657518
simplify Debug and Display implementations
2018-03-01 16:24:53 +01:00
lumi
0589b85f15
Merge branch 'tests' into 'master'
...
Add more error cases and corresponding tests, and bump minidom
See merge request xmpp-rs/jid-rs!12
2018-02-18 21:09:44 +00:00
Emmanuel Gil Peyrot
98ad44b511
release version 0.5.0
2018-02-18 21:38:07 +01:00
Emmanuel Gil Peyrot
c1fbfd2632
bump minidom dependency
2018-02-18 21:37:01 +01:00
Emmanuel Gil Peyrot
00f7d545aa
add tests for errors
2018-02-18 21:36:36 +01:00
lumi
95b77c80ae
Merge branch 'update-ci' into 'master'
...
Update docker image used in CI
See merge request xmpp-rs/jid-rs!11
2018-01-01 13:43:34 +00:00
Maxime “pep” Buquet
5e6990bef9
Update docker image used in CI
2018-01-01 13:41:52 +00:00
lumi
4392446189
update the change log
2017-12-27 17:23:28 +01:00
lumi
5563449c07
change Cargo.toml to reflect the repository transfer
2017-12-27 17:16:59 +01:00
lumi
a8c4c45767
Merge branch 'master' into 'master'
...
Update minidom dep to 0.7.0
See merge request lumi/jid-rs!10
2017-12-27 16:08:53 +00:00
Maxime “pep” Buquet
a733ea5fb8
Update minidom dep to 0.7.0
2017-12-27 16:46:35 +01:00
lumi
7490799acd
fixing the date format in the change log
2017-10-31 22:53:10 +01:00
lumi
0541234776
add a changelog
2017-10-31 22:51:29 +01:00
lumi
92723a2f13
Merge branch 'minidom' into 'master'
...
Implement IntoElements on Jid
See merge request lumi/jid-rs!9
2017-10-31 21:47:25 +00:00
Emmanuel Gil Peyrot
5185c0bb9e
bump version
2017-10-31 20:24:47 +00:00
Emmanuel Gil Peyrot
2ffa3dc1d9
optionally implement minidom::IntoElements
2017-10-31 20:24:41 +00:00
lumi
e0124e50f6
bump minidom dependency to 0.6.1
2017-08-20 17:52:32 +02:00
lumi
30e6d7b47d
woops, had to bump to 0.3.0, not 0.2.4
2017-08-20 17:50:42 +02:00
lumi
c82f9b46f4
bump version
2017-08-20 17:20:09 +02:00
lumi
0a2308b941
Merge branch 'master' into 'master'
...
bump minidom dependency version
See merge request !7
2017-08-20 15:17:27 +00:00
Astro
275719a204
bump minidom dependency version
2017-08-14 23:32:27 +02:00
lumi
cbff99b73d
bump version
2017-07-29 12:06:53 +02:00
lumi
0ed1a00c17
Merge branch 'minidom' into 'master'
...
Optionally implement minidom::IntoAttributeValue
See merge request !6
2017-07-29 10:05:41 +00:00
Emmanuel Gil Peyrot
5bd0feb178
optionally implement minidom::IntoAttributeValue
2017-07-29 05:11:30 +01:00
lumi
3882a3ba96
Merge branch 'master' into 'master'
...
Speedup jid parsing
See merge request !5
2017-06-29 12:45:29 +00:00
Bastien Orivel
e00cfa2c2e
Speedup jid parsing
...
name control ns/iter variable ns/iter diff ns/iter diff % speedup
big_jids 638 456 -182 -28.53% x 1.40
small_jids 92 91 -1 -1.09% x 1.01
2017-06-12 23:11:37 +02:00
lumi
1f11796057
set version to 0.2.2
2017-06-12 22:28:14 +02:00
lumi
ce664554d6
Merge branch 'get__functions' into 'master'
...
Add get_ functions that return new truncated structs from the current one
See merge request !4
2017-06-12 17:37:55 +00:00
Maxime “pep” Buquet
2f59ca4b56
Fix doctests
2017-06-12 18:20:42 +01:00
Maxime “pep” Buquet
b69ecb31aa
Renaming functions
2017-06-12 18:05:19 +01:00
Maxime “pep” Buquet
10ab104ea0
Better without clones
2017-06-12 17:46:06 +01:00
Maxime “pep” Buquet
072cba6a3e
Add get_ functions that return new truncated structs from the current one
2017-06-12 17:41:07 +01:00
lumi
abaf16079c
add linkmauve to authors, bump version to 0.2.1
2017-05-27 23:18:46 +02:00
lumi
83b0d6fa94
Merge branch 'hash' into 'master'
...
Implement the Hash trait on Jid
See merge request !3
2017-05-27 21:14:23 +00:00
Emmanuel Gil Peyrot
4cca174f68
Implement the Hash trait on Jid.
2017-05-27 20:45:00 +01:00
lumi
940d49914e
Merge branch 'master' into 'master'
...
Simplify and prettify Display and Debug implementations
See merge request !2
2017-05-06 18:41:04 +00:00
Emmanuel Gil Peyrot
c13cebf025
Implement the Debug trait in a more user-friendly way.
2017-05-01 00:00:12 +01:00
Emmanuel Gil Peyrot
0288b937df
Simplify the Display implementation.
2017-04-30 21:44:02 +01:00