# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "tokio-xmpp" version = "4.0.0" authors = [ "Astro ", "Emmanuel Gil Peyrot ", "pep ", "O01eg ", "SonnyX ", "Paul Fariello ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Asynchronous XMPP for Rust with tokio" homepage = "https://gitlab.com/xmpp-rs/xmpp-rs" documentation = "https://docs.rs/tokio-xmpp" readme = "README.md" keywords = [ "xmpp", "tokio", ] categories = [ "asynchronous", "network-programming", ] license = "MPL-2.0" repository = "https://gitlab.com/xmpp-rs/xmpp-rs" [lib] name = "tokio_xmpp" path = "src/lib.rs" [[example]] name = "contact_addr" path = "examples/contact_addr.rs" [[example]] name = "download_avatars" path = "examples/download_avatars.rs" [[example]] name = "echo_bot" path = "examples/echo_bot.rs" [[example]] name = "echo_component" path = "examples/echo_component.rs" [[example]] name = "echo_server" path = "examples/echo_server.rs" [[example]] name = "send_message" path = "examples/send_message.rs" [dependencies.bytes] version = "1" [dependencies.futures] version = "0.3" [dependencies.hickory-resolver] version = "0.24" optional = true [dependencies.idna] version = "1.0" optional = true [dependencies.log] version = "0.4" [dependencies.minidom] version = "0.16" [dependencies.native-tls] version = "0.2" optional = true [dependencies.rand] version = "0.8" [dependencies.rxml] version = "0.11.1" features = ["compact_str"] [dependencies.sasl] version = "0.5" [dependencies.syntect] version = "5" optional = true [dependencies.tokio] version = "1" features = [ "net", "rt", "rt-multi-thread", "macros", ] [dependencies.tokio-native-tls] version = "0.3" optional = true [dependencies.tokio-rustls] version = "0.26" optional = true [dependencies.tokio-stream] version = "0.1" features = [] [dependencies.tokio-util] version = "0.7" features = ["codec"] [dependencies.webpki-roots] version = "0.26" optional = true [dependencies.xmpp-parsers] version = "0.21" [dev-dependencies.env_logger] version = "0.11" features = [ "auto-color", "humantime", ] default-features = false [features] default = ["starttls-rust"] insecure-tcp = [] serde = ["xmpp-parsers/serde"] starttls = [ "hickory-resolver", "idna", ] starttls-native = [ "starttls", "tls-native", ] starttls-rust = [ "starttls", "tls-rust", ] syntax-highlighting = ["syntect"] tls-native = [ "tokio-native-tls", "native-tls", ] tls-rust = [ "tokio-rustls", "webpki-roots", ] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(xmpprs_doc_build)"]