mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
cb3da52ba2
This adds shims which provide FromXml and IntoXml implementations to *all* macro-generated types in `xmpp_parsers`. Mind that this does not cover all types in `xmpp_parsers`, but a good share of them. This is another first step toward real, fully streamed parsing.
38 lines
1.1 KiB
TOML
38 lines
1.1 KiB
TOML
[package]
|
|
name = "xmpp-parsers"
|
|
version = "0.20.0"
|
|
authors = [
|
|
"Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>",
|
|
"Maxime “pep” Buquet <pep@bouah.net>",
|
|
]
|
|
description = "Collection of parsers and serialisers for XMPP extensions"
|
|
homepage = "https://gitlab.com/xmpp-rs/xmpp-rs"
|
|
repository = "https://gitlab.com/xmpp-rs/xmpp-rs"
|
|
keywords = ["xmpp", "jabber", "xml"]
|
|
categories = ["parsing", "network-programming"]
|
|
license = "MPL-2.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
base64 = "0.22"
|
|
digest = "0.10"
|
|
sha1 = "0.10"
|
|
sha2 = "0.10"
|
|
sha3 = "0.10"
|
|
blake2 = "0.10.4"
|
|
chrono = { version = "0.4.5", default-features = false, features = ["std"] }
|
|
# same repository dependencies
|
|
jid = { version = "0.10", features = ["minidom"], path = "../jid" }
|
|
minidom = { version = "0.15", path = "../minidom" }
|
|
xso = { version = "0.0.2" }
|
|
|
|
[features]
|
|
# Build xmpp-parsers to make components instead of clients.
|
|
component = []
|
|
# Disable validation of unknown attributes.
|
|
disable-validation = []
|
|
# Enable serde support in jid crate
|
|
serde = [ "jid/serde" ]
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = [ "--sort-modules-by-appearance", "-Zunstable-options" ]
|