forked from Proxmox/proxmox
define workspace dependencies in workspace
so that we no longer have to (or forget to) bump the version in multiple places. notable changes: - outdated versions have been unified - proxmox-metrics -> proxmox-async no longer uses explicit empty features (proxmox-async doesn't provide any anyway) - proxmox-subscription -> proxmox-http no longer uses explicit default_features = false (proxmox-http has an empty default feature anyway) - missing path dependencies added (mainly proxmox-rest-server) Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
6c161bd5ab
commit
e5abc0590e
15
Cargo.toml
15
Cargo.toml
@ -57,3 +57,18 @@ tokio = "1.6"
|
|||||||
tokio-openssl = "0.6.1"
|
tokio-openssl = "0.6.1"
|
||||||
url = "2.2"
|
url = "2.2"
|
||||||
zstd = { version = "0.6", features = [ "bindgen" ] }
|
zstd = { version = "0.6", features = [ "bindgen" ] }
|
||||||
|
|
||||||
|
# workspace dependencies
|
||||||
|
proxmox-api-macro = { version = "1.0.3", path = "proxmox-api-macro" }
|
||||||
|
proxmox-async = { version = "0.4.1", path = "proxmox-async" }
|
||||||
|
proxmox-compression = { version = "0.1.1", path = "proxmox-compression" }
|
||||||
|
proxmox-http = { version = "0.7", path = "proxmox-http" }
|
||||||
|
proxmox-io = { version = "1.0.0", path = "proxmox-io" }
|
||||||
|
proxmox-lang = { version = "1.1", path = "proxmox-lang" }
|
||||||
|
proxmox-router = { version = "1.3.0", path = "proxmox-router" }
|
||||||
|
proxmox-schema = { version = "1.3.3", path = "proxmox-schema" }
|
||||||
|
proxmox-serde = { version = "0.1.1", path = "proxmox-serde", features = [ "serde_json" ] }
|
||||||
|
proxmox-sortable-macro = { version = "0.1.2", path = "proxmox-sortable-macro" }
|
||||||
|
proxmox-sys = { version = "0.4", path = "proxmox-sys" }
|
||||||
|
proxmox-time = { version = "1.1", path = "proxmox-time" }
|
||||||
|
proxmox-uuid = { version = "1", path = "proxmox-uuid" }
|
||||||
|
@ -16,8 +16,8 @@ lazy_static.workspace = true
|
|||||||
pin-utils = "0.1.0"
|
pin-utils = "0.1.0"
|
||||||
tokio = { workspace = true, features = [ "net", "rt", "rt-multi-thread", "sync"] }
|
tokio = { workspace = true, features = [ "net", "rt", "rt-multi-thread", "sync"] }
|
||||||
|
|
||||||
proxmox-io = { path = "../proxmox-io", version = "1", features = [ "tokio" ] }
|
proxmox-io = { workspace = true, features = [ "tokio" ] }
|
||||||
proxmox-lang = { path = "../proxmox-lang", version = "1.1" }
|
proxmox-lang.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tokio = { workspace = true, features = [ "macros" ] }
|
tokio = { workspace = true, features = [ "macros" ] }
|
||||||
|
@ -22,9 +22,9 @@ walkdir = "2"
|
|||||||
tar = "0.4"
|
tar = "0.4"
|
||||||
zstd.workspace = true
|
zstd.workspace = true
|
||||||
|
|
||||||
proxmox-time = { path = "../proxmox-time", version = "1" }
|
proxmox-time.workspace = true
|
||||||
proxmox-io = { path = "../proxmox-io", version = "1", features = [ "tokio" ] }
|
proxmox-io = { workspace = true, features = [ "tokio" ] }
|
||||||
proxmox-lang = { path = "../proxmox-lang", version = "1.1" }
|
proxmox-lang.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tokio = { workspace = true, features = [ "macros" ] }
|
tokio = { workspace = true, features = [ "macros" ] }
|
||||||
|
@ -22,10 +22,10 @@ tokio-openssl = { workspace = true, optional = true }
|
|||||||
ureq = { version = "2.4", features = ["native-certs"], optional = true }
|
ureq = { version = "2.4", features = ["native-certs"], optional = true }
|
||||||
url = { workspace = true, optional = true }
|
url = { workspace = true, optional = true }
|
||||||
|
|
||||||
proxmox-async = { path = "../proxmox-async", optional = true, version = "0.4.1" }
|
proxmox-async = { workspace = true, optional = true }
|
||||||
proxmox-sys = { path = "../proxmox-sys", optional = true, version = "0.4" }
|
proxmox-sys = { workspace = true, optional = true }
|
||||||
proxmox-io = { path = "../proxmox-io", optional = true, version = "1.0.0" }
|
proxmox-io = { workspace = true, optional = true }
|
||||||
proxmox-lang = { path = "../proxmox-lang", optional = true, version = "1.1" }
|
proxmox-lang = { workspace = true, optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
@ -19,5 +19,5 @@ serde.workspace = true
|
|||||||
serde_json.workspace = true
|
serde_json.workspace = true
|
||||||
tokio = { workspace = true, features = [ "net", "sync" ] }
|
tokio = { workspace = true, features = [ "net", "sync" ] }
|
||||||
|
|
||||||
proxmox-async = { path = "../proxmox-async", features = [], version = "0.4" }
|
proxmox-async.workspace = true
|
||||||
proxmox-http = { path = "../proxmox-http", features = [ "client" ], version = "0.7" }
|
proxmox-http = { workspace = true, features = [ "client" ] }
|
||||||
|
@ -10,7 +10,7 @@ description = "REST server implementation"
|
|||||||
exclude.workspace = true
|
exclude.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
proxmox-schema = { version = "1.3.1", features = [ "api-macro" ] }
|
proxmox-schema = { workspace = true, features = [ "api-macro" ] }
|
||||||
tokio = { workspace = true, features = [ "rt-multi-thread", "signal", "process" ] }
|
tokio = { workspace = true, features = [ "rt-multi-thread", "signal", "process" ] }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
@ -34,13 +34,12 @@ tokio-stream = "0.1.0"
|
|||||||
tower-service = "0.3.0"
|
tower-service = "0.3.0"
|
||||||
url.workspace = true
|
url.workspace = true
|
||||||
|
|
||||||
#proxmox = "0.15.3"
|
proxmox-async.workspace = true
|
||||||
proxmox-async = "0.4"
|
proxmox-compression.workspace = true
|
||||||
proxmox-compression = "0.1.1"
|
proxmox-io.workspace = true
|
||||||
proxmox-io = "1"
|
proxmox-lang.workspace = true
|
||||||
proxmox-lang = "1.1"
|
proxmox-http = { workspace = true, features = [ "client" ] }
|
||||||
proxmox-http = { version = "0.7", features = [ "client" ] }
|
proxmox-router.workspace = true
|
||||||
proxmox-router = "1.3.0"
|
proxmox-schema = { workspace = true, features = [ "api-macro", "upid-api-impl" ] }
|
||||||
proxmox-schema = { version = "1.3.1", features = [ "api-macro", "upid-api-impl" ] }
|
proxmox-time.workspace = true
|
||||||
proxmox-time = "1"
|
proxmox-sys = { workspace = true, features = [ "logrotate", "timer" ] }
|
||||||
proxmox-sys = { version = "0.4", features = [ "logrotate", "timer" ] }
|
|
||||||
|
@ -25,9 +25,9 @@ tokio = { workspace = true, features = [], optional = true }
|
|||||||
rustyline = { version = "9", optional = true }
|
rustyline = { version = "9", optional = true }
|
||||||
libc = { workspace = true, optional = true }
|
libc = { workspace = true, optional = true }
|
||||||
|
|
||||||
proxmox-lang = { path = "../proxmox-lang", version = "1.1" }
|
proxmox-lang.workspace = true
|
||||||
proxmox-schema = { path = "../proxmox-schema", version = "1.1" }
|
proxmox-schema.workspace = true
|
||||||
proxmox-async = { path = "../proxmox-async", version = "0.4.1" }
|
proxmox-async.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = [ "cli", "server" ]
|
default = [ "cli", "server" ]
|
||||||
|
@ -21,12 +21,12 @@ textwrap = "0.16"
|
|||||||
libc = { workspace = true, optional = true }
|
libc = { workspace = true, optional = true }
|
||||||
nix = { workspace = true, optional = true }
|
nix = { workspace = true, optional = true }
|
||||||
|
|
||||||
proxmox-api-macro = { path = "../proxmox-api-macro", optional = true, version = "1.0.3" }
|
proxmox-api-macro = { workspace = true, optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
url.workspace = true
|
url.workspace = true
|
||||||
serde = { workspace = true, features = [ "derive" ] }
|
serde = { workspace = true, features = [ "derive" ] }
|
||||||
proxmox-api-macro = { path = "../proxmox-api-macro", version = "1.0.3" }
|
proxmox-api-macro.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
@ -15,6 +15,6 @@ hex.workspace = true
|
|||||||
serde.workspace = true
|
serde.workspace = true
|
||||||
serde_json.workspace = true
|
serde_json.workspace = true
|
||||||
|
|
||||||
proxmox-schema = { path = "../proxmox-schema", version = "1.1" }
|
proxmox-schema.workspace = true
|
||||||
# FIXME: remove!
|
# FIXME: remove!
|
||||||
proxmox-lang = { path = "../proxmox-lang", version = "1.1" }
|
proxmox-lang.workspace = true
|
||||||
|
@ -15,7 +15,7 @@ base64.workspace = true
|
|||||||
serde = { workspace = true, features = ["derive"] }
|
serde = { workspace = true, features = ["derive"] }
|
||||||
serde_json = { workspace = true, optional = true }
|
serde_json = { workspace = true, optional = true }
|
||||||
|
|
||||||
proxmox-time = { path = "../proxmox-time", version = "1.0.0" }
|
proxmox-time.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
serde_json.workspace = true
|
serde_json.workspace = true
|
||||||
|
@ -14,4 +14,4 @@ anyhow.workspace = true
|
|||||||
libc.workspace = true
|
libc.workspace = true
|
||||||
nix.workspace = true
|
nix.workspace = true
|
||||||
|
|
||||||
proxmox-sys = { path = "../proxmox-sys", version = "0.4" }
|
proxmox-sys.workspace = true
|
||||||
|
@ -19,12 +19,12 @@ regex = "1.5"
|
|||||||
serde.workspace = true
|
serde.workspace = true
|
||||||
serde_json.workspace = true
|
serde_json.workspace = true
|
||||||
|
|
||||||
proxmox-http = { path = "../proxmox-http", version = "0.7", default_features = false, features = ["client-trait", "http-helpers"] }
|
proxmox-http = { workspace = true, features = ["client-trait", "http-helpers"] }
|
||||||
proxmox-serde = { path = "../proxmox-serde", version = "0.1.1", features = ["serde_json"]}
|
proxmox-serde.workspace = true
|
||||||
proxmox-sys = { path = "../proxmox-sys", version = "0.4" }
|
proxmox-sys.workspace = true
|
||||||
proxmox-time = { path = "../proxmox-time", version = "1.1" }
|
proxmox-time.workspace = true
|
||||||
|
|
||||||
proxmox-schema = { path = "../proxmox-schema", version = "1.3.3", features = ["api-macro"], optional = true }
|
proxmox-schema = { workspace = true, features = ["api-macro"], optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
@ -22,11 +22,11 @@ serde = { workspace = true, features = [ "derive" ] }
|
|||||||
zstd = { workspace = true, optional = true}
|
zstd = { workspace = true, optional = true}
|
||||||
|
|
||||||
# Macro crates:
|
# Macro crates:
|
||||||
proxmox-sortable-macro = { path = "../proxmox-sortable-macro", optional = true, version = "0.1.2" }
|
proxmox-sortable-macro = { workspace = true, optional = true }
|
||||||
|
|
||||||
proxmox-io = { path = "../proxmox-io", version = "1.0.0" }
|
proxmox-io.workspace = true
|
||||||
proxmox-lang = { path = "../proxmox-lang", version = "1.1" }
|
proxmox-lang.workspace = true
|
||||||
proxmox-time = { path = "../proxmox-time", version = "1.0.0" }
|
proxmox-time.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
@ -21,12 +21,12 @@ serde_plain = "1.0"
|
|||||||
serde_json = { workspace = true, optional = true }
|
serde_json = { workspace = true, optional = true }
|
||||||
libc = { workspace = true, optional = true }
|
libc = { workspace = true, optional = true }
|
||||||
url.workspace = true
|
url.workspace = true
|
||||||
|
|
||||||
proxmox-schema = { version = "1", path = "../proxmox-schema", features = [ "api-macro" ], optional = true }
|
|
||||||
proxmox-time = { version = "1", path = "../proxmox-time", optional = true }
|
|
||||||
proxmox-uuid = { version = "1", path = "../proxmox-uuid", optional = true }
|
|
||||||
webauthn-rs = { version = "0.3", optional = true }
|
webauthn-rs = { version = "0.3", optional = true }
|
||||||
|
|
||||||
|
proxmox-schema = { workspace = true, features = [ "api-macro" ], optional = true }
|
||||||
|
proxmox-time = { workspace = true, optional = true }
|
||||||
|
proxmox-uuid = { workspace = true, optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
u2f = [ "dep:libc", "dep:serde_json", "serde/derive" ]
|
u2f = [ "dep:libc", "dep:serde_json", "serde/derive" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user