diff --git a/jid/Cargo.toml b/jid/Cargo.toml index df12387..ba5b97d 100644 --- a/jid/Cargo.toml +++ b/jid/Cargo.toml @@ -20,11 +20,12 @@ gitlab = { repository = "xmpp-rs/xmpp-rs" } [dependencies] memchr = "2.5" -minidom = { version = "0.15", optional = true } serde = { version = "1.0", features = ["derive"], optional = true } stringprep = "0.1.3" quote = { version = "1.0", optional = true } proc-macro2 = { version = "1.0", optional = true } +# same repository dependencies +minidom = { version = "0.15", optional = true, path = "../minidom" } [dev-dependencies] serde_test = "1" diff --git a/parsers/Cargo.toml b/parsers/Cargo.toml index b4352f9..5196d00 100644 --- a/parsers/Cargo.toml +++ b/parsers/Cargo.toml @@ -14,8 +14,6 @@ license = "MPL-2.0" edition = "2021" [dependencies] -minidom = "0.15" -jid = { version = "0.10", features = ["minidom"] } base64 = "0.21" digest = "0.10" sha1 = "0.10" @@ -23,6 +21,9 @@ sha2 = "0.10" sha3 = "0.10" blake2 = "0.10.4" chrono = { version = "0.4.5", default-features = false, features = ["std"] } +# same repository dependencies +jid = { version = "0.10", features = ["minidom"], path = "../jid" } +minidom = { version = "0.15", path = "../minidom" } [features] # Build xmpp-parsers to make components instead of clients. diff --git a/tokio-xmpp/Cargo.toml b/tokio-xmpp/Cargo.toml index dbdf6b0..a984e63 100644 --- a/tokio-xmpp/Cargo.toml +++ b/tokio-xmpp/Cargo.toml @@ -17,19 +17,20 @@ futures = "0.3" idna = "0.4" log = "0.4" native-tls = { version = "0.2", optional = true } -sasl = "0.5" tokio = { version = "1", features = ["net", "rt", "rt-multi-thread", "macros"] } tokio-native-tls = { version = "0.3", optional = true } tokio-rustls = { version = "0.24", optional = true } tokio-stream = { version = "0.1", features = [] } tokio-util = { version = "0.7", features = ["codec"] } hickory-resolver = "0.24" -xmpp-parsers = "0.20" -minidom = "0.15" rxml = "0.9.1" webpki-roots = { version = "0.25", optional = true } rand = "^0.8" syntect = { version = "5", optional = true } +# same repository dependencies +minidom = { version = "0.15", path = "../minidom" } +sasl = { version = "0.5", path = "../sasl" } +xmpp-parsers = { version = "0.20", path = "../parsers" } [dev-dependencies] env_logger = { version = "0.10", default-features = false, features = ["auto-color", "humantime"] } diff --git a/xmpp/Cargo.toml b/xmpp/Cargo.toml index bd5cee1..1a24e79 100644 --- a/xmpp/Cargo.toml +++ b/xmpp/Cargo.toml @@ -14,12 +14,13 @@ license = "MPL-2.0" edition = "2021" [dependencies] -tokio-xmpp = "3.4" futures = "0.3" tokio = { version = "1", features = ["fs"] } log = "0.4" reqwest = { version = "0.11.8", features = ["stream"] } tokio-util = { version = "0.7", features = ["codec"] } +# same repository dependencies +tokio-xmpp = { version = "3.4", path = "../tokio-xmpp" } [dev-dependencies] env_logger = { version = "0.10", default-features = false, features = ["auto-color", "humantime"] }