2019-03-21 17:41:29 +00:00
|
|
|
[package]
|
|
|
|
name = "xmpp"
|
2023-08-21 09:00:27 +00:00
|
|
|
version = "0.5.0"
|
2019-09-12 21:05:04 +00:00
|
|
|
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"
|
2023-05-18 14:30:03 +00:00
|
|
|
homepage = "https://xmpp.rs"
|
2019-10-19 23:04:22 +00:00
|
|
|
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"
|
2023-11-11 13:52:55 +00:00
|
|
|
edition = "2021"
|
2019-03-21 17:41:29 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-12-31 20:06:15 +00:00
|
|
|
chrono = "0.4"
|
2020-03-08 18:57:59 +00:00
|
|
|
futures = "0.3"
|
2021-12-28 20:53:54 +00:00
|
|
|
tokio = { version = "1", features = ["fs"] }
|
2019-09-29 02:08:56 +00:00
|
|
|
log = "0.4"
|
2024-06-02 20:35:45 +00:00
|
|
|
reqwest = { version = "0.12", features = ["stream"], default-features = false }
|
2023-04-03 10:13:37 +00:00
|
|
|
tokio-util = { version = "0.7", features = ["codec"] }
|
2023-12-18 12:06:22 +00:00
|
|
|
# same repository dependencies
|
2023-12-29 06:09:33 +00:00
|
|
|
tokio-xmpp = { version = "3.4", path = "../tokio-xmpp", default-features = false }
|
2019-10-20 19:16:17 +00:00
|
|
|
|
2020-03-13 22:22:10 +00:00
|
|
|
[dev-dependencies]
|
2024-04-25 19:01:29 +00:00
|
|
|
env_logger = { version = "0.11", default-features = false, features = ["auto-color", "humantime"] }
|
2020-03-13 22:22:10 +00:00
|
|
|
|
2023-08-17 20:29:04 +00:00
|
|
|
[[example]]
|
|
|
|
name = "hello_bot"
|
2023-08-20 19:33:55 +00:00
|
|
|
required-features = ["avatars"]
|
2023-08-17 20:29:04 +00:00
|
|
|
|
2019-10-20 19:16:17 +00:00
|
|
|
[features]
|
2023-12-31 03:08:37 +00:00
|
|
|
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"]
|
2019-10-20 19:16:17 +00:00
|
|
|
avatars = []
|
2024-06-04 17:36:56 +00:00
|
|
|
syntax-highlighting = [ "tokio-xmpp/syntax-highlighting" ]
|
2024-06-05 09:13:29 +00:00
|
|
|
# Enable serde support in jid crate
|
|
|
|
serde = [ "tokio-xmpp/serde" ]
|