lumi
f0dd03d633
Split Node
off into its own module: node.rs
2018-12-23 15:59:13 +01:00
lumi
c5c8dee20a
Get rid of IntoElements
, replace it with Into<Node>
and <T: Into<Node> IntoIterator<Item = T>
. This is a backwards-incompatible change, but should require minimal changes.
...
Doing this splits the `append` method in `ElementBuilder` into two methods. `append` now appends exactly one node, while `append_all` appends an iterator of nodes.
Add `remove_child`, which removes the first child that has a specific name and namespace, then returns it if it exists.
Add a lot of convenience methods on `Node`: `as_text_mut`, `as_element_mut`, `into_text`, `into_element`.
2018-12-23 15:42:50 +01:00
Astro
7bb4bd1094
tokio-xmpp 0.2.1
2018-12-20 21:30:56 +01:00
Astro
a6512c2b42
auth: delint
2018-12-20 21:20:52 +01:00
Astro
78f74c6338
auth: clarify + optimize
2018-12-20 21:17:56 +01:00
Astro
11cc7f183a
auth: add work-around for xmpp-parsers pickyness
2018-12-20 21:09:13 +01:00
Astro
ce039d767e
restructure auth code
2018-12-20 20:39:01 +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
Astro
bbadf75c01
move from travis-ci to gitlab-ci
2018-12-20 17:35:05 +01:00
Astro
c7132493cf
Cargo: update paths for move to gitlab.com
2018-12-20 17:30:32 +01:00
Emmanuel Gil Peyrot
f6593aa74b
Setup CI for GitLab.
2018-12-20 16:56:15 +01:00
Emmanuel Gil Peyrot
cf0cfda6b5
Link .hgignore to .gitignore.
2018-12-20 16:46:59 +01:00
Astro
ecd3b72f75
Merge pull request #7 from linkmauve/edition
...
Update to edition 2018, and run cargo fmt
2018-12-20 02:04:33 +01:00
Emmanuel Gil Peyrot
51bae9b0e5
Run cargo fmt
on the entire project.
2018-12-18 19:04:31 +01:00
Emmanuel Gil Peyrot
3aba4e7070
Remove now-useless "extern crate"s.
2018-12-18 19:04:02 +01:00
Emmanuel Gil Peyrot
24b2ff1851
Move to edition 2018.
2018-12-18 18:29:31 +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
Emmanuel Gil Peyrot
376ccc1c06
Run cargo fmt
on some more files.
2018-12-18 16:07:46 +01:00
Emmanuel Gil Peyrot
090a16953b
bind: Add forgotten test for attributes.
2018-12-18 16:00:25 +01:00
Emmanuel Gil Peyrot
7a204cd182
Also test the size of IBB StreamId.
2018-12-18 15:44:07 +01:00
Emmanuel Gil Peyrot
5e64dee0ed
Only define assert_size!() macro when testing.
2018-12-18 15:43:49 +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
d517b8e32e
Bump base64 and try_from crates.
2018-12-18 15:29:30 +01:00
Emmanuel Gil Peyrot
6b2dd8fe5e
Run cargo fix --edition
to move to Edition 2018.
2018-12-18 15:27:30 +01:00
Emmanuel Gil Peyrot
3f4586caba
presence: Add status and payload insertion helpers.
2018-11-02 16:29:11 +01:00
Emmanuel Gil Peyrot
c420c87bf5
muc: Document more constructors.
2018-11-02 16:28:40 +01:00
Emmanuel Gil Peyrot
e2c0068af9
disco: Remove errors for out-of-order elements, allowed in XEP-0030 2.5rc3.
2018-11-02 16:27:51 +01:00
Emmanuel Gil Peyrot
e5c1be68d0
muc: Add constructors.
2018-11-01 17:25:24 +01:00
Emmanuel Gil Peyrot
7a2dcbee01
Test struct sizes on 32-bit too.
2018-10-28 13:10:48 +01:00
Emmanuel Gil Peyrot
40aedcf184
Test the size of every struct defined here.
2018-10-26 14:26:16 +02:00
lumi
da7de97dce
Merge branch 'bump' into 'master'
...
Update quick-xml and bump version
See merge request lumi/minidom-rs!31
2018-10-21 18:30:53 +00:00
Bastien Orivel
72c63920a8
Update quick-xml and bump version
2018-10-21 20:24:32 +02:00
Emmanuel Gil Peyrot
9cb4f00341
caps, ecaps2: Update to RustCrypto 0.8.
2018-10-12 17:23:34 +02:00
Astro
7ba1b5604f
Merge pull request #5 from linkmauve/ConnectFuture
...
Use tokio::net::tcp::ConnectFuture directly
2018-10-01 17:06:36 +02:00
Emmanuel Gil Peyrot
4ab3890cd3
Use tokio::net::tcp::ConnectFuture directly.
...
This removes this warning:
```
warning: use of deprecated item 'tokio::net::ConnectFuture': use `tokio::net::tcp::ConnectFuture` instead
```
2018-10-01 12:34:33 +02:00
Emmanuel Gil Peyrot
8e26095fd3
Added tag v0.11.1 for changeset df9fe6ae2739
2018-09-20 21:20:23 +02:00
Emmanuel Gil Peyrot
4567b66d26
Cargo.toml: Release version 0.11.1.
2018-09-20 21:20:18 +02:00
Emmanuel Gil Peyrot
2878b0c546
ChangeLog: Add imminent version 0.11.1.
2018-09-20 21:20:02 +02:00
Emmanuel Gil Peyrot
0da5639be5
jingle: Document this module.
2018-09-20 21:15:50 +02:00
Emmanuel Gil Peyrot
5582a48b4e
message: Everything is already documented, remove the allow(missing_docs).
2018-09-20 21:09:05 +02:00
Emmanuel Gil Peyrot
c508275f40
presence: Finish to document this module.
2018-09-20 21:08:46 +02:00
Emmanuel Gil Peyrot
fbe22e6db1
eme: Fix indentation.
2018-09-20 20:58:53 +02:00
Emmanuel Gil Peyrot
07cccad356
message: Make MessagePayload a trait, and implement it on every payload.
2018-09-20 20:58:27 +02:00
Emmanuel Gil Peyrot
e41de29d9d
presence: Make PresencePayload a trait, and implement it on every payload.
2018-09-20 20:51:48 +02:00
Emmanuel Gil Peyrot
709666bb91
jingle: Document most of this module.
2018-09-20 20:28:50 +02:00
Emmanuel Gil Peyrot
f3366b94bb
stanza_error: Fix compilation error due to an extra pub.
2018-09-20 20:28:29 +02:00
Emmanuel Gil Peyrot
388941b483
stanza_error: Document this module.
2018-09-19 21:26:21 +02:00