set workspace resolver to 2 and use workspace deps
This commit is contained in:
parent
dd3d4935a9
commit
3b8936053d
5 changed files with 25 additions and 14 deletions
10
Cargo.toml
10
Cargo.toml
|
|
@ -1,6 +1,16 @@
|
|||
[workspace]
|
||||
|
||||
resolver = "2"
|
||||
|
||||
members = [
|
||||
"networkmanager",
|
||||
"timedate",
|
||||
"upower",
|
||||
]
|
||||
|
||||
[workspace.dependencies]
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
thiserror = "1.0"
|
||||
time = { version = "0.3", features = ["parsing"] }
|
||||
zbus = { version = "3.14" }
|
||||
zvariant = { version = "3.15"}
|
||||
|
|
@ -6,11 +6,11 @@ edition = "2021"
|
|||
license = "MPL-2.0"
|
||||
|
||||
[dependencies]
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
thiserror = "1.0"
|
||||
time = { version = "0.3", features = ["parsing"] }
|
||||
zbus = "3.8.0"
|
||||
zvariant = "3.10"
|
||||
serde.workspace = true
|
||||
thiserror.workspace = true
|
||||
time.workspace = true
|
||||
zbus.workspace = true
|
||||
zvariant.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
miette = { version = "4.3", features = ["fancy"] }
|
||||
|
|
|
|||
|
|
@ -5,9 +5,10 @@ edition = "2021"
|
|||
license = "MPL-2.0"
|
||||
|
||||
[dependencies]
|
||||
bitflags = "1.3"
|
||||
bitflags = "2.4"
|
||||
derive_builder = "0.12"
|
||||
procfs = { version = "0.14", default-features = false }
|
||||
time = "0.3"
|
||||
zvariant = "3.10"
|
||||
zbus = "3.7"
|
||||
procfs = { version = "0.16", default-features = false }
|
||||
thiserror.workspace = true
|
||||
time.workspace = true
|
||||
zvariant.workspace = true
|
||||
zbus.workspace = true
|
||||
|
|
@ -12,14 +12,14 @@ keywords = ["systemd", "timedate", "zbus"]
|
|||
all-features = true
|
||||
|
||||
[dependencies]
|
||||
zbus = "3.8.0"
|
||||
zbus.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
chrono = "0.4.23"
|
||||
chrono-tz = "0.8.1"
|
||||
|
||||
[dev-dependencies.zbus]
|
||||
version = "3.8.0"
|
||||
version = "3.14"
|
||||
default-features = false
|
||||
features = ["tokio"]
|
||||
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ keywords = ["linux", "systemd", "logind", "dbus", "zbus"]
|
|||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
serde = "1.0.152"
|
||||
serde.workspace = true
|
||||
serde_repr = "0.1.10"
|
||||
zbus = "3.8.0"
|
||||
zbus.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
futures = "0.3.26"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue