Cargo.toml

 1[package]
 2name = "xso"
 3version = "0.3.0"
 4edition = "2021"
 5description = "XML Streamed Objects: similar to serde, but XML-native."
 6homepage = "https://xmpp.rs"
 7repository = "https://gitlab.com/xmpp-rs/xmpp-rs"
 8keywords = ["xmpp", "xml", "serialization"]
 9categories = ["encoding"]
10license = "MPL-2.0"
11
12[dependencies]
13bytes = { version = "1" }
14rxml = { version = "0.13.1", default-features = false }
15minidom = { version = "0.18", path = "../minidom" }
16xso_proc = { version = "0.2", path = "../xso-proc", optional = true }
17
18# optional dependencies to provide text conversion to/from types from/using
19# these crates
20# NOTE: because we don't have public/private dependencies yet and cargo
21# defaults to picking the highest matching version by default, the only
22# sensible thing we can do here is to depend on the least version of the most
23# recent semver of each crate.
24jid = { version = "0.12", path = "../jid", optional = true }
25uuid = { version = "1", optional = true }
26base64 = { version = "0.22", optional = true }
27serde_json = { version = "1.0", optional = true, default-features = false, features = ["alloc"] }
28
29[features]
30default = [ "std" ]
31macros = [ "dep:xso_proc", "rxml/macros" ]
32minidom = [ "xso_proc/minidom"]
33panicking-into-impl = ["xso_proc/panicking-into-impl"]
34non-pedantic = []
35std = []
36
37[package.metadata.docs.rs]
38all-features = true
39rustdoc-args = ["--cfg", "docsrs"]