xmpp-rs/xmpp/Cargo.toml

41 lines
1.3 KiB
TOML
Raw Normal View History

2019-03-21 17:41:29 +00:00
[package]
name = "xmpp"
version = "0.6.0"
authors = [
"Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>",
"Maxime “pep” Buquet <pep@bouah.net>",
]
2019-07-25 13:37:00 +00:00
description = "High-level XMPP library"
homepage = "https://xmpp.rs"
repository = "https://gitlab.com/xmpp-rs/xmpp-rs"
2019-07-25 13:37:00 +00:00
keywords = ["xmpp", "jabber", "chat", "messaging", "bot"]
categories = ["network-programming"]
2019-07-25 13:36:45 +00:00
license = "MPL-2.0"
edition = "2021"
2019-03-21 17:41:29 +00:00
[dependencies]
chrono = "0.4"
futures = "0.3"
tokio = { version = "1", features = ["fs"] }
log = "0.4"
2024-06-02 20:35:45 +00:00
reqwest = { version = "0.12", features = ["stream"], default-features = false }
tokio-util = { version = "0.7", features = ["codec"] }
# same repository dependencies
2024-08-12 08:16:15 +00:00
tokio-xmpp = { version = "4.0", path = "../tokio-xmpp", default-features = false }
[dev-dependencies]
env_logger = { version = "0.11", default-features = false, features = ["auto-color", "humantime"] }
[[example]]
name = "hello_bot"
required-features = ["avatars"]
[features]
default = ["avatars", "starttls-rust"]
2024-06-02 20:35:45 +00:00
starttls-native = ["tokio-xmpp/starttls", "tokio-xmpp/tls-native", "reqwest/native-tls"]
starttls-rust = ["tokio-xmpp/starttls", "tokio-xmpp/tls-rust", "reqwest/rustls-tls"]
avatars = []
syntax-highlighting = [ "tokio-xmpp/syntax-highlighting" ]
2024-06-05 09:13:29 +00:00
# Enable serde support in jid crate
serde = [ "tokio-xmpp/serde" ]