From df106dfbaf86eaf1cd61cc11bfe067d026ffed81 Mon Sep 17 00:00:00 2001 From: xmppftw Date: Mon, 12 Aug 2024 10:16:15 +0200 Subject: [PATCH] Relative dependencies --- jid/Cargo.toml | 2 +- parsers/Cargo.toml | 6 +++--- tokio-xmpp/Cargo.toml | 6 +++--- xmpp/Cargo.toml | 2 +- xso/Cargo.toml | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/jid/Cargo.toml b/jid/Cargo.toml index 8dfcfaa7..3559d2cb 100644 --- a/jid/Cargo.toml +++ b/jid/Cargo.toml @@ -25,7 +25,7 @@ stringprep = "0.1.3" quote = { version = "1.0", optional = true } proc-macro2 = { version = "1.0", optional = true } # same repository dependencies -minidom = { version = "0.16", optional = true } +minidom = { version = "0.16", path = "../minidom", optional = true } [dev-dependencies] serde_test = "1" diff --git a/parsers/Cargo.toml b/parsers/Cargo.toml index 15fcbb60..8121e9a9 100644 --- a/parsers/Cargo.toml +++ b/parsers/Cargo.toml @@ -22,9 +22,9 @@ sha3 = "0.10" blake2 = "0.10.4" chrono = { version = "0.4.5", default-features = false, features = ["std"] } # same repository dependencies -jid = { version = "0.11", features = ["minidom"] } -minidom = { version = "0.16" } -xso = { version = "0.1", features = ["macros", "minidom", "panicking-into-impl", "jid", "uuid", "base64"] } +jid = { version = "0.11", path = "../jid", features = ["minidom"] } +minidom = { version = "0.16", path = "../minidom" } +xso = { version = "0.1", path = "../xso", features = ["macros", "minidom", "panicking-into-impl", "jid", "uuid", "base64"] } uuid = { version = "1.9.1", features = ["v4"] } [features] diff --git a/tokio-xmpp/Cargo.toml b/tokio-xmpp/Cargo.toml index 92039e71..467e48c6 100644 --- a/tokio-xmpp/Cargo.toml +++ b/tokio-xmpp/Cargo.toml @@ -23,9 +23,9 @@ rxml = { version = "0.11.1", features = ["compact_str"] } rand = "0.8" syntect = { version = "5", optional = true } # same repository dependencies -sasl = { version = "0.5" } -xmpp-parsers = { version = "0.21" } -minidom = { version = "0.16" } +sasl = { version = "0.5", path = "../sasl" } +xmpp-parsers = { version = "0.21", path = "../parsers" } +minidom = { version = "0.16", path = "../minidom" } # these are only needed for starttls ServerConnector support hickory-resolver = { version = "0.24", optional = true} diff --git a/xmpp/Cargo.toml b/xmpp/Cargo.toml index 780f2c78..81eeef6f 100644 --- a/xmpp/Cargo.toml +++ b/xmpp/Cargo.toml @@ -21,7 +21,7 @@ log = "0.4" reqwest = { version = "0.12", features = ["stream"], default-features = false } tokio-util = { version = "0.7", features = ["codec"] } # same repository dependencies -tokio-xmpp = { version = "4.0", default-features = false } +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"] } diff --git a/xso/Cargo.toml b/xso/Cargo.toml index c6f3abe2..7f763c36 100644 --- a/xso/Cargo.toml +++ b/xso/Cargo.toml @@ -11,8 +11,8 @@ license = "MPL-2.0" [dependencies] rxml = { version = "0.11.1", default-features = false } -minidom = { version = "0.16" } -xso_proc = { version = "0.1", optional = true } +minidom = { version = "0.16", path = "../minidom" } +xso_proc = { version = "0.1", path = "../xso-proc", optional = true } # optional dependencies to provide text conversion to/from types from/using # these crates @@ -20,7 +20,7 @@ xso_proc = { version = "0.1", optional = true } # defaults to picking the highest matching version by default, the only # sensible thing we can do here is to depend on the least version of the most # recent semver of each crate. -jid = { version = "0.11", optional = true } +jid = { version = "0.11", path = "../jid", optional = true } uuid = { version = "1", optional = true } base64 = { version = "0.22", optional = true }