1[package]
2name = "tokio-xmpp"
3version = "3.3.0"
4authors = ["Astro <astro@spaceboyz.net>", "Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>", "pep <pep+code@bouah.net>", "O01eg <o01eg@yandex.ru>", "SonnyX <randy@vonderweide.nl>", "Paul Fariello <paul@fariello.eu>"]
5description = "Asynchronous XMPP for Rust with tokio"
6license = "MPL-2.0"
7homepage = "https://gitlab.com/xmpp-rs/xmpp-rs"
8repository = "https://gitlab.com/xmpp-rs/xmpp-rs"
9documentation = "https://docs.rs/tokio-xmpp"
10categories = ["asynchronous", "network-programming"]
11keywords = ["xmpp", "tokio"]
12edition = "2018"
13
14[dependencies]
15bytes = "1"
16futures = "0.3"
17idna = "0.3"
18log = "0.4"
19native-tls = { version = "0.2", optional = true }
20sasl = "0.5"
21tokio = { version = "1", features = ["net", "rt", "rt-multi-thread", "macros"] }
22tokio-native-tls = { version = "0.3", optional = true }
23tokio-rustls = { version = "0.24", optional = true }
24tokio-stream = { version = "0.1", features = [] }
25tokio-util = { version = "0.7", features = ["codec"] }
26trust-dns-proto = "0.22"
27trust-dns-resolver = "0.22"
28xmpp-parsers = "0.19"
29minidom = "0.15"
30rxml = "0.9.1"
31webpki-roots = { version = "0.23", optional = true }
32rand = "^0.8"
33
34[dev-dependencies]
35env_logger = "0.10"
36
37[build-dependencies]
38rustc_version = "0.4"
39
40[features]
41default = ["tls-native"]
42tls-rust = ["tokio-rustls", "webpki-roots"]
43tls-native = ["tokio-native-tls", "native-tls"]