2019-03-21 18:41:29 +01:00
|
|
|
[package]
|
|
|
|
|
name = "xmpp"
|
2026-06-10 17:48:26 +02:00
|
|
|
version = "0.7.0"
|
2019-09-12 23:05:04 +02:00
|
|
|
authors = [
|
|
|
|
|
"Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>",
|
|
|
|
|
"Maxime “pep” Buquet <pep@bouah.net>",
|
|
|
|
|
]
|
2019-07-25 15:37:00 +02:00
|
|
|
description = "High-level XMPP library"
|
2023-05-18 16:30:03 +02:00
|
|
|
homepage = "https://xmpp.rs"
|
2019-10-20 01:04:22 +02:00
|
|
|
repository = "https://gitlab.com/xmpp-rs/xmpp-rs"
|
2019-07-25 15:37:00 +02:00
|
|
|
keywords = ["xmpp", "jabber", "chat", "messaging", "bot"]
|
|
|
|
|
categories = ["network-programming"]
|
2019-07-25 15:36:45 +02:00
|
|
|
license = "MPL-2.0"
|
2025-11-13 19:58:14 +01:00
|
|
|
edition = "2024"
|
2019-03-21 18:41:29 +01:00
|
|
|
|
|
|
|
|
[dependencies]
|
2023-12-31 21:06:15 +01:00
|
|
|
chrono = "0.4"
|
2020-03-08 19:57:59 +01:00
|
|
|
futures = "0.3"
|
2025-04-11 15:52:15 +02:00
|
|
|
tokio = { version = "1", features = ["fs", "signal"] }
|
2019-09-29 04:08:56 +02:00
|
|
|
log = "0.4"
|
2026-05-17 20:38:20 +02:00
|
|
|
reqwest = { version = "0.13", features = ["stream"], default-features = false }
|
2023-04-03 12:13:37 +02:00
|
|
|
tokio-util = { version = "0.7", features = ["codec"] }
|
2023-12-18 13:06:22 +01:00
|
|
|
# same repository dependencies
|
2026-06-10 17:48:26 +02:00
|
|
|
tokio-xmpp = { version = "6.0", path = "../tokio-xmpp", default-features = false }
|
2019-10-20 21:16:17 +02:00
|
|
|
|
2020-03-13 23:22:10 +01:00
|
|
|
[dev-dependencies]
|
2024-04-25 21:01:29 +02:00
|
|
|
env_logger = { version = "0.11", default-features = false, features = ["auto-color", "humantime"] }
|
2020-03-13 23:22:10 +01:00
|
|
|
|
2023-08-17 22:29:04 +02:00
|
|
|
[[example]]
|
|
|
|
|
name = "hello_bot"
|
2023-08-20 21:33:55 +02:00
|
|
|
required-features = ["avatars"]
|
2023-08-17 22:29:04 +02:00
|
|
|
|
2019-10-20 21:16:17 +02:00
|
|
|
[features]
|
2025-05-10 10:45:43 +02:00
|
|
|
default = ["avatars", "aws_lc_rs", "starttls", "rustls-native-certs"]
|
|
|
|
|
|
2026-05-17 20:38:20 +02:00
|
|
|
aws_lc_rs = ["rustls-any-backend", "tokio-xmpp/aws_lc_rs", "reqwest/rustls-no-provider"]
|
|
|
|
|
ring = ["rustls-any-backend", "tokio-xmpp/ring", "reqwest/rustls-no-provider"]
|
2025-05-10 10:45:43 +02:00
|
|
|
native-tls = ["tokio-xmpp/native-tls", "reqwest/native-tls"]
|
2026-05-17 20:38:20 +02:00
|
|
|
ktls = ["rustls-any-backend", "tokio-xmpp/ktls", "reqwest/rustls"]
|
2025-05-10 10:45:43 +02:00
|
|
|
|
|
|
|
|
rustls-any-backend = ["tokio-xmpp/rustls-any-backend"]
|
|
|
|
|
|
|
|
|
|
rustls-native-certs = ["tokio-xmpp/rustls-native-certs"]
|
|
|
|
|
webpki-roots = ["tokio-xmpp/webpki-roots"]
|
|
|
|
|
|
|
|
|
|
starttls = ["tokio-xmpp/starttls"]
|
|
|
|
|
|
2019-10-20 21:16:17 +02:00
|
|
|
avatars = []
|
2025-04-20 15:16:17 +02:00
|
|
|
escape-hatch = []
|
2024-06-04 19:36:56 +02:00
|
|
|
syntax-highlighting = [ "tokio-xmpp/syntax-highlighting" ]
|
2024-06-05 11:13:29 +02:00
|
|
|
# Enable serde support in jid crate
|
|
|
|
|
serde = [ "tokio-xmpp/serde" ]
|