Emmanuel Gil Peyrot
0aa5f5f60f
lib: Stop reexporting TryFrom and TryInto.
...
They are available in std::convert nowadays, and should be imported from
there.
2019-07-17 22:26:41 +02:00
Emmanuel Gil Peyrot
329afabb66
Implement Message Carbons.
2019-07-17 21:58:39 +02:00
1e3f940db9
Update jid dependency to 0.6.0: Jid split change
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-06-10 23:17:38 +02:00
Emmanuel Gil Peyrot
2d7bf32ad4
Add a XEP-0202 implementation.
...
Fixes #7 .
2019-04-22 13:22:24 +02:00
Emmanuel Gil Peyrot
5bf14b0b22
Drop dependency on try_from.
...
This bumps the minimum supported stable Rust version to 1.34.
The TryFrom and TryInto traits are still reexported to not break the
API, but these reexports are deprecated and will be removed in a future
release.
2019-04-12 11:06:03 +02:00
ba5a014de9
XEP-0157: Contact Addresses for XMPP Services.
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-03-20 19:10:43 +01:00
Emmanuel Gil Peyrot
429fc387b5
jingle_drls_srtp: Add a new parser and serialiser.
2019-02-28 13:33:18 +01:00
Emmanuel Gil Peyrot
c4d867571e
Also reexport TryInto from try_from.
2019-02-27 23:27:40 +01:00
Emmanuel Gil Peyrot
beacbaeb86
jingle_ice_udp: Add a new parser/serialiser for XEP-0176.
2019-02-27 18:13:37 +01:00
Emmanuel Gil Peyrot
40d397c1fe
jingle_rtp: Add a new parser/serialiser for XEP-0167.
2019-02-27 18:13:37 +01:00
Emmanuel Gil Peyrot
35fccafc09
avatar: Add a new XEP-0084 parser.
2019-01-25 03:34:23 +01:00
Emmanuel Gil Peyrot
b59ca1cbcb
lib: Reexport TryFrom and util::error::Error.
2019-01-16 15:22:51 +01:00
Emmanuel Gil Peyrot
bfd90be0c9
lib: Reexport JidParseError from the jid crate.
2019-01-16 14:32:51 +01:00
Emmanuel Gil Peyrot
5efc64490c
lib: Reexport Jid from the jid crate.
2019-01-16 13:22:07 +01:00
Emmanuel Gil Peyrot
409a1dafa9
Move Error, helpers and macros into a util module.
2019-01-13 12:39:51 +01:00
Emmanuel Gil Peyrot
83f7c67870
Remove now-useless "extern crate"s.
2018-12-18 15:39:37 +01:00
Emmanuel Gil Peyrot
efd7bd5f2f
Run cargo fmt
.
2018-12-18 15:32:05 +01:00
Emmanuel Gil Peyrot
7f12d05fd2
Switch allow→deny(missing_docs) for the whole crate.
2018-08-08 18:48:05 +02:00
Emmanuel Gil Peyrot
33ac338e3e
bookmarks: Add an implementation of XEP-0048.
2018-05-29 15:04:16 +02:00
Emmanuel Gil Peyrot
6752bc7131
Don’t export helpers or macros.
2018-05-28 17:32:27 +02:00
Emmanuel Gil Peyrot
7cbdf621ca
Reexport minidom::Element.
2018-05-28 17:32:10 +02:00
Emmanuel Gil Peyrot
c828f93839
Add a Stream Management implementation.
2018-05-18 19:04:02 +02:00
Emmanuel Gil Peyrot
b37a8da906
Add a User Nickname (XEP-0172) parser and serialiser.
2018-05-14 17:43:03 +02:00
Emmanuel Gil Peyrot
011308b4b4
Add a component handshake parser.
2018-03-01 10:57:01 +01:00
Emmanuel Gil Peyrot
395b64e644
Add a <stream:stream> parser.
2018-03-01 10:08:30 +01:00
Emmanuel Gil Peyrot
3de29e1e81
lib, ns, error, macros: Update the copyright year.
2018-03-01 10:01:35 +01:00
Emmanuel Gil Peyrot
7c0975dd5d
Add a Bind parser.
2018-02-20 17:43:19 +01:00
Emmanuel Gil Peyrot
cfaebb4a91
Add a SASL parser.
2018-02-20 17:01:12 +01:00
Emmanuel Gil Peyrot
208e280067
Add a WebSocket <open/> parser.
2018-02-20 16:20:45 +01:00
Emmanuel Gil Peyrot
5a2f4859cf
Add a mood parser and serialiser.
2017-11-24 05:20:36 +00:00
Emmanuel Gil Peyrot
ad17c877f5
Move Base64 codec into a helper module.
2017-11-23 16:00:47 +00:00
Emmanuel Gil Peyrot
c1ff291c11
Update all crypto crates to their latest release; un-break blake2b.
2017-11-15 18:37:28 +00:00
Emmanuel Gil Peyrot
bd9aa01ad5
Split macros into their own module.
2017-10-31 21:17:24 +00:00
Emmanuel Gil Peyrot
6eba0e7d87
Simplify check_self macro.
2017-10-31 20:35:25 +00:00
Emmanuel Gil Peyrot
5cdb2d77ab
Split out DateTime parsing into its own module (implement XEP-0082).
2017-10-31 19:41:45 +00:00
Emmanuel Gil Peyrot
61badccf8b
Add meta support to macros.
2017-10-31 18:37:32 +00:00
Emmanuel Gil Peyrot
929bd577f3
Add a generate_element_with_only_attributes macro, and use it wherever it makes sense.
2017-10-31 17:58:11 +00:00
Emmanuel Gil Peyrot
b5e41a7074
Fix the name in create_empty_element.
2017-10-31 17:55:27 +00:00
Emmanuel Gil Peyrot
b7b3340c9f
Add a blocking command parser (XEP-0191).
2017-10-31 15:48:11 +00:00
Emmanuel Gil Peyrot
f85b451fcf
Add a new check_no_attributes macro, to avoid the empty list.
2017-10-31 15:47:38 +00:00
Emmanuel Gil Peyrot
ee243c4720
chatstates: Use the new helper macros to simplify parsing.
2017-10-10 18:09:58 +01:00
Emmanuel Gil Peyrot
cfbfce512e
lib, ping, attention: Add a macro for singleton elements.
2017-10-10 17:53:25 +01:00
Emmanuel Gil Peyrot
6add31b526
lib: Add check macros, to simplify code.
2017-10-10 17:52:14 +01:00
Astro
1b1661fd82
Introduce comparing with namespace support.
2017-08-19 00:04:18 +01:00
Emmanuel Gil Peyrot
1af06fdf6d
Add an iq version parser (XEP-0092).
2017-07-29 11:45:45 +01:00
Emmanuel Gil Peyrot
6ec1e46953
roster: Make Group a proper struct.
2017-07-29 05:36:59 +01:00
Emmanuel Gil Peyrot
5388696b95
lib: Remove erroneous “reference” mention in the module docstring.
2017-07-29 05:24:20 +01:00
Emmanuel Gil Peyrot
fd31e691af
lib: Improve the wording of the docstring.
2017-07-20 23:46:44 +01:00
Emmanuel Gil Peyrot
87af0f3615
message, presence, iq: Improve documentation.
2017-07-20 23:10:13 +01:00
Emmanuel Gil Peyrot
1f43cd934b
Use TryFrom from the try_from crate, instead of the unstable feature.
...
This makes xmpp-parsers usable on stable.
2017-07-20 20:03:15 +01:00