fix: --no-default-features
This commit is contained in:
parent
fec5ffef68
commit
8844f2ce55
1 changed files with 4 additions and 6 deletions
10
Cargo.toml
10
Cargo.toml
|
|
@ -62,7 +62,7 @@ nix = { workspace = true, optional = true }
|
||||||
# For power status with upower feature
|
# For power status with upower feature
|
||||||
upower_dbus = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
|
upower_dbus = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
|
||||||
# Required for some features
|
# Required for some features
|
||||||
zbus = { workspace = true, optional = true }
|
zbus = { workspace = true }
|
||||||
# CLI arguments
|
# CLI arguments
|
||||||
clap_lex = "0.7"
|
clap_lex = "0.7"
|
||||||
# Internationalization
|
# Internationalization
|
||||||
|
|
@ -91,12 +91,10 @@ features = ["tokio-codec"]
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["logind", "networkmanager", "upower", "systemd"]
|
default = ["logind", "networkmanager", "upower", "systemd"]
|
||||||
logind = ["logind-zbus", "zbus", "systemd"]
|
logind = ["logind-zbus", "systemd"]
|
||||||
systemd = ["tracing-journald"]
|
systemd = ["tracing-journald"]
|
||||||
networkmanager = ["cosmic-dbus-networkmanager", "zbus"]
|
networkmanager = ["cosmic-dbus-networkmanager"]
|
||||||
upower = ["upower_dbus", "zbus"]
|
upower = ["upower_dbus"]
|
||||||
zbus = ["dep:zbus", "nix"]
|
|
||||||
|
|
||||||
|
|
||||||
[profile.dev.package.tiny-skia]
|
[profile.dev.package.tiny-skia]
|
||||||
opt-level = 2
|
opt-level = 2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue