1d53007
Merge branch 'update_deps' into 'master'
Click to expand commit body
Update dep jid-rs and minidom-rs See merge request !4
lumi created
1d53007
Merge branch 'update_deps' into 'master'
Update dep jid-rs and minidom-rs See merge request !4
lumi created
ee2f311
Update dep jid-rs to 0.2.0
Maxime “pep” Buquet created
9296915
Update dep minidom-rs to 0.2.0
Maxime “pep” Buquet created
1f7c61e
Merge branch 'xml-rs-0.4.1' into 'master'
Bump xml-rs dependency to 0.4.1 See merge request !5
lumi created
1b1e2fa
Merge branch 'use_btreemap_for_attributes' into 'master'
Use a BTreeMap<String, String> instead of a Vec<Attribute> to store attributes Closes #4 See merge request !4
lumi created
4b90c1d
data_forms, disco, jingle, jingle_ft: Remove superfluous “extern crate”.
Emmanuel Gil Peyrot created
407e4cc
License the project under MPL-2.0.
Emmanuel Gil Peyrot created
6f2ee2f
Cargo.toml: Add some metadata.
Emmanuel Gil Peyrot created
7750aae
presence, message, jingle_ft: Remove unneeded println!().
Emmanuel Gil Peyrot created
61efeb8
forwarding: Remove unused imports.
Emmanuel Gil Peyrot created
eecb47f
mam: Add tests.
Emmanuel Gil Peyrot created
0b2d46a
Add a MAM parser and serialiser.
Emmanuel Gil Peyrot created
7cd4a49
error: Add JidParseError.
Emmanuel Gil Peyrot created
72a6eee
Add a RSM parser and serialiser.
Emmanuel Gil Peyrot created
0f92a11
Add a forwarding parser and serialiser.
Emmanuel Gil Peyrot created
d824a16
message: Implement IntoElements.
Emmanuel Gil Peyrot created
4dc585f
delay: Implement IntoElements.
Emmanuel Gil Peyrot created
8b964df
Add a stanza-id parser and serialiser.
Emmanuel Gil Peyrot created
b09c57e
ecaps2: Move hashing crates to the main library.
Emmanuel Gil Peyrot created
45b38bc
iq: Wire up the IBB parser and serialiser.
Emmanuel Gil Peyrot created
846148d
ibb: Fix serialisation of <data/> data.
Emmanuel Gil Peyrot created
5e4ba27
iq: Wire up the Jingle parser and serialiser.
Emmanuel Gil Peyrot created
4fb4727
jingle: Remove extraneous println!.
Emmanuel Gil Peyrot created
10a336f
jingle: Accept any unknown child, as per the specification.
Emmanuel Gil Peyrot created
c20d37a
jingle: Add serialisation for <reason/>.
Emmanuel Gil Peyrot created
de93c32
jingle_ft: Add a received parser.
Emmanuel Gil Peyrot created
eeb9b36
jingle_ft: Make Creator into an enum, instead of a String.
Emmanuel Gil Peyrot created
9f6eea0
ns: Fix the hashes text-names namespaces.
Emmanuel Gil Peyrot created
fe3300b
jingle_ft: Add the forgotten desc element.
Emmanuel Gil Peyrot created
30a596c
ibb: Implement serialise.
Emmanuel Gil Peyrot created
6a48a6b
ecaps2, error: Update to base64 0.5.
Emmanuel Gil Peyrot created
154afda
Bump xml-rs dependency to 0.4.1.
Emmanuel Gil Peyrot created
f87e244
Use a BTreeMap<String, String> instead of a Vec<Attribute> to store attributes
This way we don't need to reimplement PartialEq for Element. It's also way easier to get an attribute by name as we don't need to iterate over every attribute to see if it exists. The only side effect is that now, in the Debug output, attributes are automatically sorted by names instead of being sorted by insertion order. Fixes #4
Bastien Orivel created
2aef4aa
linewrap license
lumi created
5d51dff
disco: Bump minidom dependency to 0.2.0, which fixes xml:lang parsing.
Emmanuel Gil Peyrot created
a0eab6c
ecaps2: Import Digest from digest.
Emmanuel Gil Peyrot created
8116c6e
Well, that's embarrassing. Hope nobody will ever look at this commit. (if you see this, please don't look)
lumi created
d54b002
bump to 2.0.0, switch license to MIT
lumi created
c6f9cc4
Merge branch 'Eijebong/minidom-rs-fix_namespaced_attributes'
# Conflicts: # src/tests.rs
lumi created
64f212d
Merge branch 'fix_equality' into 'master'
Fix the PartialEq implementation for Element Closes #3 See merge request !3
lumi created
0d0c4b7
Fix the PartialEq implementation for Element
The order of attributes in an `Element` doesn't matter anymore. `<elem a="b" c="d" />` and `<elem c="d" a="b" />` are now correctly considered equal. For that I had to derive `PartialOrd` and `Ord` for `Attribute`. This allows us to sort cloned vectors of `Attribute` in the `PartialEq` implementation and compare them instead of the struct `attributes`. Fixes #3
Eijebong created
7fc40db
ecaps2: Remove extraneous borrowing on base64::encode.
Emmanuel Gil Peyrot created
049ef23
jingle_ft: Implement IntoElements on Range, and change size to be an u64.
Emmanuel Gil Peyrot created
5abf820
jingle_ft: Implement serialise.
Emmanuel Gil Peyrot created
db1a87e
jingle: Implement serialise.
Emmanuel Gil Peyrot created
fa10ab4
jingle: Implement From for String on all special attributes.
Emmanuel Gil Peyrot created
90f1792
jingle_ibb: Make the fields in Transport public.
Emmanuel Gil Peyrot created
2b19a41
jingle_ibb: Implement serialise.
Emmanuel Gil Peyrot created
c71b32a
ibb: Implement IntoAttributeValue for Stanza.
Emmanuel Gil Peyrot created
1b4c0c4
iq: Clippify
Maxime “pep” Buquet created