a076221c9a
Add rustdoc flag to sort modules by XEP number
...
`--sort-modules-by-appearance` needs to be passed to rustdoc for this to
happen. I haven't found a way to make it so that we don't have to add
this flag manually each time we build locally. This config option should
at least fix it for docs.rs.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-24 13:42:09 +01:00
lumi
7d78455981
Merge branch 'all-optional' into 'master'
...
Make all dependencies for SCRAM optional when it is disabled
See merge request lumi/sasl-rs!6
2019-02-22 13:50:03 +00:00
Emmanuel Gil Peyrot
72e91043cc
Make all dependencies for SCRAM optional when it is disabled.
2019-02-22 03:45:39 +01:00
lumi
823810e2e0
Merge branch 'master' into 'master'
...
Fix clippy lints
See merge request lumi/minidom-rs!32
2019-02-21 20:14:36 +00:00
Emmanuel Gil Peyrot
f68826057b
Fix clippy lints
2019-02-21 21:06:23 +01:00
Emmanuel Gil Peyrot
637c3eadd7
Fix clippy lints.
2019-02-21 21:00:58 +01:00
Emmanuel Gil Peyrot
63dcba03b2
iq: Make @id required, as per RFC6120 §8.1.3.
2019-02-21 20:48:02 +01:00
Astro
fc5569a765
add logo
2019-02-14 20:02:37 +01:00
Astro
12e2f4e7e7
tokio-xmpp 1.0.0
2019-01-29 23:08:27 +01:00
Astro
1d69b1a256
improve echo_bot example
2019-01-29 23:06:07 +01:00
Astro
2654722fa3
client: switch SinkItem to Packet
...
this breaks backwards compatibility
2019-01-29 01:53:00 +01:00
Astro
1e7031aa31
xmpp_codec: encode </stream:stream>
2019-01-29 01:51:32 +01:00
Astro
39346506c8
xmpp_codec: remove packet encoding unwrap()s
2019-01-29 01:51:10 +01:00
Astro
be78f6578b
Revert "client: add more state to make close() send </stream:stream>
"
...
This reverts commit 6379f91e02
.
2019-01-29 01:34:44 +01:00
Emmanuel Gil Peyrot
d811c10ed3
pubsub: Make Item common to both pubsub and pubsub#event namespaces.
2019-01-27 18:57:25 +01:00
Emmanuel Gil Peyrot
d60feffc22
pubsub: Add a PubSubPayload trait.
2019-01-27 17:40:46 +01:00
Emmanuel Gil Peyrot
b936ce595f
caps: Add a helper constructor for Caps.
2019-01-27 17:20:34 +01:00
Emmanuel Gil Peyrot
ede2b08039
disco: Add a helper constructor for Feature.
2019-01-27 17:18:58 +01:00
Emmanuel Gil Peyrot
376fa9f92e
avatar: Fix parsing of avatar data containing whitespace in the base64.
2019-01-27 17:17:12 +01:00
Emmanuel Gil Peyrot
1921f6819e
util.helpers: Add a whitespace-aware base64 codec.
2019-01-27 17:16:23 +01:00
Astro
234450b9d1
echo_bot: illustrate close()
2019-01-26 23:59:06 +01:00
Astro
6379f91e02
client: add more state to make close() send </stream:stream>
2019-01-26 23:58:54 +01:00
Astro
599e3be32e
xmpp_codec, client: handle StreamEnd
2019-01-26 21:07:15 +01:00
Astro
380bd2fc02
client: implement close() to close inner stream
2019-01-26 20:46:51 +01:00
Astro
3586e5134d
client: reindent
2019-01-26 19:39:05 +01:00
Astro
c75eafa553
rm all annoying debug output
2019-01-26 19:30:05 +01:00
Emmanuel Gil Peyrot
b6c7a06edd
avatar: Fix build with --features=disable-validation.
2019-01-25 03:45:48 +01:00
Emmanuel Gil Peyrot
35fccafc09
avatar: Add a new XEP-0084 parser.
2019-01-25 03:34:23 +01:00
Emmanuel Gil Peyrot
82015de964
hashes: Add an hex-encoded SHA-1 attribute helper.
2019-01-25 03:03:08 +01:00
lumi
16a84f2d09
Merge branch 'update-dependency-and-edition' into 'master'
...
Update dependencies, edition, remove OpenSSL, and release 0.4.3
Closes #4
See merge request lumi/sasl-rs!5
2019-01-17 23:31:54 +00:00
Emmanuel Gil Peyrot
4bc768c016
Bump version to 0.4.3.
2019-01-18 00:26:48 +01:00
Emmanuel Gil Peyrot
0c426b4d17
Remove .unwrap() in SCRAM code.
2019-01-18 00:26:48 +01:00
Emmanuel Gil Peyrot
5337a0a149
Remove the openssl dependency, fixes #4 .
2019-01-18 00:08:48 +01:00
Emmanuel Gil Peyrot
5892caa4a8
Switch to RustCrypto for pbkdf2.
2019-01-18 00:08:48 +01:00
Emmanuel Gil Peyrot
506d0b17fc
Switch to rand_os for random bytes.
2019-01-18 00:08:48 +01:00
Emmanuel Gil Peyrot
392b1c66b1
Switch to RustCrypto for Hmac.
2019-01-18 00:08:48 +01:00
Emmanuel Gil Peyrot
13d6340298
Switch to RustCrypto for hashes.
2019-01-18 00:08:48 +01:00
Emmanuel Gil Peyrot
9e9f09a9a5
Update to Edition 2018.
2019-01-17 22:54:32 +01:00
Emmanuel Gil Peyrot
b1708823de
Update base64.
2019-01-17 22:44:22 +01:00
Astro
438dbaafec
tokio-xmpp 0.2.3
2019-01-17 01:41:59 +01:00
Astro
9921a59400
add Cargo.lock
2019-01-17 01:41:42 +01:00
Astro
def0092b20
happy_eyeballs: set LookupIpStrategy::Ipv4AndIpv6
...
this is what happy_eyeballs are all about
2019-01-17 01:38:24 +01:00
Astro
e59d048cd0
happy_eyeballs: eliminate State::Start
2019-01-17 01:29:48 +01:00
Astro
59f433fd21
happy_eyeballs: migrate to newer trust-dns dependencies
2019-01-17 01:29:39 +01:00
Astro
c015b3f776
Merge branch 'bump-xmpp-parsers' into 'master'
...
Bump xmpp-parsers to 0.12.2
See merge request xmpp-rs/tokio-xmpp!2
2019-01-16 22:59:49 +00:00
Emmanuel Gil Peyrot
62e9dcc022
Bump xmpp-parsers to 0.12.2.
...
This also removes minidom, jid and try_from as direct dependencies,
since they are now reexported by xmpp-parsers.
2019-01-16 15:26:45 +01:00
Emmanuel Gil Peyrot
7160397912
Cargo.toml: Release version 0.12.2.
2019-01-16 15:23:07 +01:00
Emmanuel Gil Peyrot
f28a27185b
ChangeLog: Add imminent 0.12.2 release.
2019-01-16 15:23:00 +01:00
Emmanuel Gil Peyrot
b59ca1cbcb
lib: Reexport TryFrom and util::error::Error.
2019-01-16 15:22:51 +01:00
Emmanuel Gil Peyrot
6660ca4c86
Cargo.toml: Release version 0.12.1.
2019-01-16 14:33:37 +01:00