Use relative cargo paths when using local copy

This commit is contained in:
xmppftw 2023-12-18 13:06:22 +01:00
parent a6b07d4435
commit ac4ffd2268
4 changed files with 11 additions and 7 deletions

View file

@ -20,11 +20,12 @@ gitlab = { repository = "xmpp-rs/xmpp-rs" }
[dependencies] [dependencies]
memchr = "2.5" memchr = "2.5"
minidom = { version = "0.15", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true } serde = { version = "1.0", features = ["derive"], optional = true }
stringprep = "0.1.3" stringprep = "0.1.3"
quote = { version = "1.0", optional = true } quote = { version = "1.0", optional = true }
proc-macro2 = { 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] [dev-dependencies]
serde_test = "1" serde_test = "1"

View file

@ -14,8 +14,6 @@ license = "MPL-2.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
minidom = "0.15"
jid = { version = "0.10", features = ["minidom"] }
base64 = "0.21" base64 = "0.21"
digest = "0.10" digest = "0.10"
sha1 = "0.10" sha1 = "0.10"
@ -23,6 +21,9 @@ sha2 = "0.10"
sha3 = "0.10" sha3 = "0.10"
blake2 = "0.10.4" blake2 = "0.10.4"
chrono = { version = "0.4.5", default-features = false, features = ["std"] } 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] [features]
# Build xmpp-parsers to make components instead of clients. # Build xmpp-parsers to make components instead of clients.

View file

@ -17,19 +17,20 @@ futures = "0.3"
idna = "0.4" idna = "0.4"
log = "0.4" log = "0.4"
native-tls = { version = "0.2", optional = true } native-tls = { version = "0.2", optional = true }
sasl = "0.5"
tokio = { version = "1", features = ["net", "rt", "rt-multi-thread", "macros"] } tokio = { version = "1", features = ["net", "rt", "rt-multi-thread", "macros"] }
tokio-native-tls = { version = "0.3", optional = true } tokio-native-tls = { version = "0.3", optional = true }
tokio-rustls = { version = "0.24", optional = true } tokio-rustls = { version = "0.24", optional = true }
tokio-stream = { version = "0.1", features = [] } tokio-stream = { version = "0.1", features = [] }
tokio-util = { version = "0.7", features = ["codec"] } tokio-util = { version = "0.7", features = ["codec"] }
hickory-resolver = "0.24" hickory-resolver = "0.24"
xmpp-parsers = "0.20"
minidom = "0.15"
rxml = "0.9.1" rxml = "0.9.1"
webpki-roots = { version = "0.25", optional = true } webpki-roots = { version = "0.25", optional = true }
rand = "^0.8" rand = "^0.8"
syntect = { version = "5", optional = true } 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] [dev-dependencies]
env_logger = { version = "0.10", default-features = false, features = ["auto-color", "humantime"] } env_logger = { version = "0.10", default-features = false, features = ["auto-color", "humantime"] }

View file

@ -14,12 +14,13 @@ license = "MPL-2.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
tokio-xmpp = "3.4"
futures = "0.3" futures = "0.3"
tokio = { version = "1", features = ["fs"] } tokio = { version = "1", features = ["fs"] }
log = "0.4" log = "0.4"
reqwest = { version = "0.11.8", features = ["stream"] } reqwest = { version = "0.11.8", features = ["stream"] }
tokio-util = { version = "0.7", features = ["codec"] } tokio-util = { version = "0.7", features = ["codec"] }
# same repository dependencies
tokio-xmpp = { version = "3.4", path = "../tokio-xmpp" }
[dev-dependencies] [dev-dependencies]
env_logger = { version = "0.10", default-features = false, features = ["auto-color", "humantime"] } env_logger = { version = "0.10", default-features = false, features = ["auto-color", "humantime"] }