1[package]
2name = "xmpp-parsers"
3version = "0.22.0"
4authors = [
5 "Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>",
6 "Maxime “pep” Buquet <pep@bouah.net>",
7]
8description = "Collection of parsers and serialisers for XMPP extensions"
9homepage = "https://gitlab.com/xmpp-rs/xmpp-rs"
10repository = "https://gitlab.com/xmpp-rs/xmpp-rs"
11keywords = ["xmpp", "jabber", "xml"]
12categories = ["parsing", "network-programming"]
13license = "MPL-2.0"
14edition = "2021"
15
16[dependencies]
17base64 = "0.22"
18digest = "0.10"
19sha1 = "0.10"
20sha2 = "0.10"
21sha3 = "0.10"
22blake2 = "0.10.4"
23chrono = { version = "0.4.5", default-features = false, features = ["std"] }
24log = { version = "0.4", optional = true }
25# same repository dependencies
26jid = { version = "0.12", path = "../jid", features = ["minidom"] }
27minidom = { version = "0.18", path = "../minidom" }
28xso = { version = "0.3", path = "../xso", features = ["macros", "minidom", "panicking-into-impl", "jid", "uuid", "base64", "serde_json"] }
29uuid = { version = "1.9.1", features = ["v4"] }
30serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
31
32[features]
33# Build xmpp-parsers to make components instead of clients.
34component = []
35# Disable validation of unknown attributes.
36disable-validation = [ "xso/non-pedantic" ]
37# Enable serde support in jid crate
38serde = [ "jid/serde" ]
39# Enable some additional logging in helpers
40log = [ "dep:log" ]
41
42[package.metadata.docs.rs]
43rustdoc-args = [ "--sort-modules-by-appearance", "-Zunstable-options" ]