Use workspace dependencies for path dependencies

This commit is contained in:
Jonas Platte 2023-02-01 12:37:45 +01:00
parent de448ead01
commit b6f0a43fa3
No known key found for this signature in database
GPG Key ID: AAA7A61F696C3E0C
13 changed files with 35 additions and 24 deletions

View File

@ -12,6 +12,17 @@ criterion = "0.4.0"
http = "0.2.8"
js_int = "0.2.2"
maplit = "1.0.2"
ruma-appservice-api = { version = "0.7.0", path = "crates/ruma-appservice-api" }
ruma-common = { version = "0.10.5", path = "crates/ruma-common" }
ruma-client = { version = "0.10.0", path = "crates/ruma-client" }
ruma-client-api = { version = "0.15.3", path = "crates/ruma-client-api" }
ruma-federation-api = { version = "0.6.0", path = "crates/ruma-federation-api" }
ruma-identifiers-validation = { version = "0.9.0", path = "crates/ruma-identifiers-validation" }
ruma-identity-service-api = { version = "0.6.0", path = "crates/ruma-identity-service-api" }
ruma-macros = { version = "0.10.5", path = "crates/ruma-macros" }
ruma-push-gateway-api = { version = "0.6.0", path = "crates/ruma-push-gateway-api" }
ruma-signatures = { version = "0.12.0", path = "crates/ruma-signatures" }
ruma-state-res = { version = "0.8.0", path = "crates/ruma-state-res" }
serde = { version = "1.0.147", features = ["derive"] }
serde_html_form = "0.2.0"
serde_json = "1.0.87"

View File

@ -24,7 +24,7 @@ unstable-msc3202 = []
[dependencies]
js_int = { workspace = true, features = ["serde"] }
ruma-common = { version = "0.10.5", path = "../ruma-common", features = ["api", "events"] }
ruma-common = { workspace = true, features = ["api", "events"] }
serde = { workspace = true }
serde_json = { workspace = true }

View File

@ -38,7 +38,7 @@ http = { workspace = true }
js_int = { workspace = true, features = ["serde"] }
js_option = "0.1.1"
maplit = { workspace = true }
ruma-common = { version = "0.10.5", path = "../ruma-common", features = ["api", "events"] }
ruma-common = { workspace = true, features = ["api", "events"] }
serde = { workspace = true }
serde_html_form = { workspace = true }
serde_json = { workspace = true }

View File

@ -44,13 +44,13 @@ hyper-rustls = { version = "0.23.0", optional = true, default-features = false }
hyper-tls = { version = "0.5.0", optional = true }
isahc = { version = "1.3.1", optional = true }
reqwest = { version = "0.11.4", optional = true, default-features = false }
ruma-client-api = { version = "0.15.3", path = "../ruma-client-api", optional = true, features = ["client"] }
ruma-common = { version = "0.10.5", path = "../ruma-common", features = ["api"] }
ruma-client-api = { workspace = true, optional = true, features = ["client"] }
ruma-common = { workspace = true, features = ["api"] }
serde = { workspace = true }
serde_html_form = { workspace = true }
serde_json = { workspace = true }
tracing = { version = "0.1.30", default-features = false, features = ["std"] }
[dev-dependencies]
ruma-client-api = { version = "0.15.3", path = "../ruma-client-api", features = ["client"] }
ruma-client-api = { workspace = true, features = ["client"] }
tokio-stream = "0.1.8"

View File

@ -66,8 +66,8 @@ phf = { version = "0.11.1", features = ["macros"], optional = true }
pulldown-cmark = { version = "0.9.1", default-features = false, optional = true }
rand = { version = "0.8.3", optional = true }
regex = { version = "1.5.6", default-features = false, features = ["std", "perf"] }
ruma-identifiers-validation = { version = "0.9.0", path = "../ruma-identifiers-validation", default-features = false }
ruma-macros = { version = "0.10.5", path = "../ruma-macros" }
ruma-identifiers-validation = { workspace = true, default-features = false }
ruma-macros = { workspace = true }
serde = { workspace = true }
serde_html_form = { workspace = true }
serde_json = { workspace = true, features = ["raw_value"] }

View File

@ -29,7 +29,7 @@ unstable-unspecified = []
[dependencies]
js_int = { workspace = true, features = ["serde"] }
ruma-common = { version = "0.10.5", path = "../ruma-common", features = ["api", "events"] }
ruma-common = { workspace = true, features = ["api", "events"] }
serde = { workspace = true }
serde_json = { workspace = true }

View File

@ -20,7 +20,7 @@ server = []
[dependencies]
js_int = { workspace = true, features = ["serde"] }
ruma-common = { version = "0.10.5", path = "../ruma-common", features = ["api"] }
ruma-common = { workspace = true, features = ["api"] }
serde = { workspace = true }
[dev-dependencies]

View File

@ -22,7 +22,7 @@ once_cell = "1.13.0"
proc-macro-crate = "1.0.0"
proc-macro2 = "1.0.24"
quote = "1.0.8"
ruma-identifiers-validation = { version = "0.9.0", path = "../ruma-identifiers-validation", default-features = false }
ruma-identifiers-validation = { workspace = true, default-features = false }
serde = { workspace = true }
syn = { version = "1.0.57", features = ["extra-traits", "full", "visit"] }
toml = { version = "0.7.1", default-features = false, features = ["parse"] }

View File

@ -21,6 +21,6 @@ server = []
[dependencies]
js_int = { workspace = true, features = ["serde"] }
ruma-common = { version = "0.10.5", path = "../ruma-common", features = ["api", "events"] }
ruma-common = { workspace = true, features = ["api", "events"] }
serde = { workspace = true }
serde_json = { workspace = true }

View File

@ -17,7 +17,7 @@ rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
headers = "0.3"
ruma-common = { version = "0.10.5", path = "../ruma-common" }
ruma-common = { workspace = true }
tracing = { workspace = true }
yap = "0.8.0"

View File

@ -23,7 +23,7 @@ ed25519-dalek = "1.0.1"
pkcs8 = { version = "0.9.0", features = ["alloc"] }
# because dalek uses an older version of rand_core
rand = { version = "0.7", features = ["getrandom"] }
ruma-common = { version = "0.10.5", path = "../ruma-common", features = ["canonical-json"] }
ruma-common = { workspace = true, features = ["canonical-json"] }
serde_json = { workspace = true }
sha2 = "0.10.6"
subslice = { version = "0.2.3", optional = true }

View File

@ -20,7 +20,7 @@ unstable-exhaustive-types = []
[dependencies]
itertools = "0.10.0"
js_int = { workspace = true }
ruma-common = { version = "0.10.5", path = "../ruma-common", features = ["events"] }
ruma-common = { workspace = true, features = ["events"] }
serde = { workspace = true }
serde_json = { workspace = true }
thiserror = { workspace = true }
@ -32,7 +32,7 @@ criterion = { workspace = true, optional = true }
[dev-dependencies]
maplit = { workspace = true }
rand = "0.8.3"
ruma-common = { version = "0.10.5", path = "../ruma-common", features = ["unstable-pdu"] }
ruma-common = { workspace = true, features = ["unstable-pdu"] }
tracing-subscriber = "0.3.16"
[[bench]]

View File

@ -205,17 +205,17 @@ assign = { workspace = true }
js_int = { workspace = true }
js_option = "0.1.1"
ruma-common = { version = "0.10.5", path = "../ruma-common" }
ruma-common = { workspace = true }
ruma-client = { version = "0.10.0", path = "../ruma-client", optional = true }
ruma-signatures = { version = "0.12.0", path = "../ruma-signatures", optional = true }
ruma-state-res = { version = "0.8.0", path = "../ruma-state-res", optional = true }
ruma-client = { workspace = true, optional = true }
ruma-signatures = { workspace = true, optional = true }
ruma-state-res = { workspace = true, optional = true }
ruma-appservice-api = { version = "0.7.0", path = "../ruma-appservice-api", optional = true }
ruma-client-api = { version = "0.15.3", path = "../ruma-client-api", optional = true }
ruma-federation-api = { version = "0.6.0", path = "../ruma-federation-api", optional = true }
ruma-identity-service-api = { version = "0.6.0", path = "../ruma-identity-service-api", optional = true }
ruma-push-gateway-api = { version = "0.6.0", path = "../ruma-push-gateway-api", optional = true }
ruma-appservice-api = { workspace = true, optional = true }
ruma-client-api = { workspace = true, optional = true }
ruma-federation-api = { workspace = true, optional = true }
ruma-identity-service-api = { workspace = true, optional = true }
ruma-push-gateway-api = { workspace = true, optional = true }
[dev-dependencies]
serde = { workspace = true }