2017-06-01 22:42:57 +00:00
|
|
|
[package]
|
|
|
|
name = "tokio-xmpp"
|
2024-07-27 23:00:01 +00:00
|
|
|
version = "4.0.0"
|
2021-01-13 16:21:49 +00:00
|
|
|
authors = ["Astro <astro@spaceboyz.net>", "Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>", "pep <pep+code@bouah.net>", "O01eg <o01eg@yandex.ru>", "SonnyX <randy@vonderweide.nl>", "Paul Fariello <paul@fariello.eu>"]
|
2018-07-31 22:28:24 +00:00
|
|
|
description = "Asynchronous XMPP for Rust with tokio"
|
|
|
|
license = "MPL-2.0"
|
2019-10-19 23:04:22 +00:00
|
|
|
homepage = "https://gitlab.com/xmpp-rs/xmpp-rs"
|
|
|
|
repository = "https://gitlab.com/xmpp-rs/xmpp-rs"
|
2018-07-31 22:28:24 +00:00
|
|
|
documentation = "https://docs.rs/tokio-xmpp"
|
2018-08-02 23:16:42 +00:00
|
|
|
categories = ["asynchronous", "network-programming"]
|
|
|
|
keywords = ["xmpp", "tokio"]
|
2023-11-11 13:52:55 +00:00
|
|
|
edition = "2021"
|
2017-06-01 22:42:57 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2020-12-04 16:33:55 +00:00
|
|
|
bytes = "1"
|
2020-03-05 00:25:24 +00:00
|
|
|
futures = "0.3"
|
2019-12-09 02:34:28 +00:00
|
|
|
log = "0.4"
|
2020-12-04 16:33:55 +00:00
|
|
|
tokio = { version = "1", features = ["net", "rt", "rt-multi-thread", "macros"] }
|
|
|
|
tokio-stream = { version = "0.1", features = [] }
|
2022-09-20 19:17:26 +00:00
|
|
|
tokio-util = { version = "0.7", features = ["codec"] }
|
2024-07-25 18:51:20 +00:00
|
|
|
webpki-roots = { version = "0.26", optional = true }
|
2024-08-22 10:24:58 +00:00
|
|
|
rustls-native-certs = { version = "0.7", optional = true }
|
2024-08-09 12:48:40 +00:00
|
|
|
rxml = { version = "0.12.0", features = ["compact_str"] }
|
2024-07-25 08:34:39 +00:00
|
|
|
rand = "0.8"
|
2023-06-18 12:21:49 +00:00
|
|
|
syntect = { version = "5", optional = true }
|
2024-08-07 13:52:55 +00:00
|
|
|
pin-project-lite = { version = "0.2" }
|
2023-12-18 12:06:22 +00:00
|
|
|
# same repository dependencies
|
2024-08-12 08:16:15 +00:00
|
|
|
sasl = { version = "0.5", path = "../sasl" }
|
|
|
|
xmpp-parsers = { version = "0.21", path = "../parsers" }
|
|
|
|
minidom = { version = "0.16", path = "../minidom" }
|
2024-08-07 13:52:55 +00:00
|
|
|
xso = { version = "0.1", path = "../xso" }
|
2020-04-30 21:19:06 +00:00
|
|
|
|
2023-12-31 03:08:37 +00:00
|
|
|
# these are only needed for starttls ServerConnector support
|
|
|
|
hickory-resolver = { version = "0.24", optional = true}
|
2024-07-25 18:51:20 +00:00
|
|
|
idna = { version = "1.0", optional = true}
|
2023-12-31 03:08:37 +00:00
|
|
|
native-tls = { version = "0.2", optional = true }
|
|
|
|
tokio-native-tls = { version = "0.3", optional = true }
|
2024-07-25 18:51:20 +00:00
|
|
|
tokio-rustls = { version = "0.26", optional = true }
|
2023-12-31 03:08:37 +00:00
|
|
|
|
2023-06-05 11:06:52 +00:00
|
|
|
[dev-dependencies]
|
2024-04-25 19:01:29 +00:00
|
|
|
env_logger = { version = "0.11", default-features = false, features = ["auto-color", "humantime"] }
|
2024-01-01 06:13:51 +00:00
|
|
|
# this is needed for echo-component example
|
|
|
|
tokio-xmpp = { path = ".", features = ["insecure-tcp"]}
|
2023-06-05 11:06:52 +00:00
|
|
|
|
2020-04-30 21:19:06 +00:00
|
|
|
[features]
|
2024-08-22 10:24:58 +00:00
|
|
|
default = ["starttls-rust", "rustls-native-certs"]
|
2024-08-05 13:09:59 +00:00
|
|
|
starttls = ["dns"]
|
2024-08-22 10:24:58 +00:00
|
|
|
tls-rust = ["tokio-rustls"]
|
|
|
|
tls-rust-native-certs = ["tls-rust", "rustls-native-certs"]
|
|
|
|
tls-rust-webpki-roots = ["tls-rust", "webpki-roots"]
|
2021-02-15 18:59:46 +00:00
|
|
|
tls-native = ["tokio-native-tls", "native-tls"]
|
2023-12-31 03:08:37 +00:00
|
|
|
starttls-native = ["starttls", "tls-native"]
|
|
|
|
starttls-rust = ["starttls", "tls-rust"]
|
2024-01-01 06:13:51 +00:00
|
|
|
insecure-tcp = []
|
2023-06-18 12:21:49 +00:00
|
|
|
syntax-highlighting = ["syntect"]
|
2024-06-05 09:13:29 +00:00
|
|
|
# Enable serde support in jid crate
|
|
|
|
serde = [ "xmpp-parsers/serde" ]
|
2024-08-05 13:09:59 +00:00
|
|
|
# Required by starttls, and used by insecure-tcp by default
|
|
|
|
dns = [ "hickory-resolver", "idna" ]
|
2024-06-16 08:45:09 +00:00
|
|
|
|
|
|
|
[lints.rust]
|
|
|
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(xmpprs_doc_build)'] }
|