1[package]
2name = "xmpp"
3version = "0.6.0"
4authors = [
5 "Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>",
6 "Maxime “pep” Buquet <pep@bouah.net>",
7]
8description = "High-level XMPP library"
9homepage = "https://xmpp.rs"
10repository = "https://gitlab.com/xmpp-rs/xmpp-rs"
11keywords = ["xmpp", "jabber", "chat", "messaging", "bot"]
12categories = ["network-programming"]
13license = "MPL-2.0"
14edition = "2024"
15
16[dependencies]
17chrono = "0.4"
18futures = "0.3"
19tokio = { version = "1", features = ["fs", "signal"] }
20log = "0.4"
21reqwest = { version = "0.12", features = ["stream"], default-features = false }
22tokio-util = { version = "0.7", features = ["codec"] }
23# same repository dependencies
24tokio-xmpp = { version = "5.0", features = ["component", "insecure-tcp"], path = "../tokio-xmpp", default-features = false }
25thiserror = "2.0"
26bevy_ecs = "0.18.0"
27bevy_app = "0.18.0"
28bevy-tokio-tasks = "0.18.0"
29
30[dev-dependencies]
31env_logger = { version = "0.11", default-features = false, features = ["auto-color", "humantime"] }
32
33[[example]]
34name = "hello_bot"
35required-features = ["avatars"]
36
37[features]
38default = ["avatars", "aws_lc_rs", "starttls", "rustls-native-certs", "component", "insecure-tcp"]
39
40aws_lc_rs = ["rustls-any-backend", "tokio-xmpp/aws_lc_rs", "reqwest/rustls-tls-no-provider"]
41ring = ["rustls-any-backend", "tokio-xmpp/ring", "reqwest/rustls-tls-no-provider"]
42native-tls = ["tokio-xmpp/native-tls", "reqwest/native-tls"]
43ktls = ["rustls-any-backend", "tokio-xmpp/ktls", "reqwest/rustls-tls"]
44
45rustls-any-backend = ["tokio-xmpp/rustls-any-backend"]
46
47rustls-native-certs = ["tokio-xmpp/rustls-native-certs"]
48webpki-roots = ["tokio-xmpp/webpki-roots"]
49
50starttls = ["tokio-xmpp/starttls"]
51
52insecure-tcp = ["tokio-xmpp/insecure-tcp"]
53component = ["tokio-xmpp/component"]
54
55avatars = []
56escape-hatch = []
57syntax-highlighting = [ "tokio-xmpp/syntax-highlighting" ]
58# Enable serde support in jid crate
59serde = [ "tokio-xmpp/serde" ]