xmpp-rs/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Bastien Orivel f87e2442d4 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
2017-04-26 23:44:58 +02:00
..
convert.rs overhauling the library, made tests pass 2017-03-08 20:34:17 +01:00
element.rs Use a BTreeMap<String, String> instead of a Vec<Attribute> to store attributes 2017-04-26 23:44:58 +02:00
error.rs overhauling the library, made tests pass 2017-03-08 20:34:17 +01:00
lib.rs Use a BTreeMap<String, String> instead of a Vec<Attribute> to store attributes 2017-04-26 23:44:58 +02:00
tests.rs Use a BTreeMap<String, String> instead of a Vec<Attribute> to store attributes 2017-04-26 23:44:58 +02:00