mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Shift all deps to workspace versioning
This commit is contained in:
443
Cargo.lock
generated
443
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
38
Cargo.toml
38
Cargo.toml
@@ -1,6 +1,44 @@
|
|||||||
[workspace]
|
[workspace]
|
||||||
members = ["asusctl", "asus-notify", "daemon", "daemon-user", "rog-platform", "rog-dbus", "rog-anime", "rog-aura", "rog-profiles", "rog-control-center"]
|
members = ["asusctl", "asus-notify", "daemon", "daemon-user", "rog-platform", "rog-dbus", "rog-anime", "rog-aura", "rog-profiles", "rog-control-center"]
|
||||||
|
|
||||||
|
[workspace.package]
|
||||||
|
version = "4.5.0-rc3"
|
||||||
|
|
||||||
|
[workspace.dependencies]
|
||||||
|
async-trait = "^0.1"
|
||||||
|
tokio = { version = "^1.21.1", features = ["macros", "rt-multi-thread", "time"]}
|
||||||
|
concat-idents = "1.1.3"
|
||||||
|
dirs = "^4.0"
|
||||||
|
smol = "^1.2"
|
||||||
|
|
||||||
|
zbus = "^3.1.0"
|
||||||
|
zbus_macros = "^2.0"
|
||||||
|
zvariant = "^3.2"
|
||||||
|
zvariant_derive = "^3.2"
|
||||||
|
logind-zbus = { version = "^3.0" } #, default-features = false, features = ["non_blocking"] }
|
||||||
|
|
||||||
|
serde = "^1.0"
|
||||||
|
serde_derive = "^1.0"
|
||||||
|
serde_json = "^1.0"
|
||||||
|
toml = "^0.5.8"
|
||||||
|
|
||||||
|
log = "^0.4"
|
||||||
|
env_logger = "^0.9"
|
||||||
|
|
||||||
|
glam = { version = "^0.21.2", features = ["serde"] }
|
||||||
|
gumdrop = "^0.8"
|
||||||
|
udev = "^0.6"
|
||||||
|
rusb = "^0.9"
|
||||||
|
sysfs-class = "^0.1.2"
|
||||||
|
inotify = "^0.10.0"
|
||||||
|
|
||||||
|
png_pong = "^0.8.0"
|
||||||
|
pix = "0.13"
|
||||||
|
tinybmp = "^0.3.3"
|
||||||
|
gif = "^0.11.2"
|
||||||
|
|
||||||
|
notify-rust = { version = "^4.3", default-features = false, features = ["z"] }
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
# thin = 57s, asusd = 9.0M
|
# thin = 57s, asusd = 9.0M
|
||||||
# fat = 72s, asusd = 6.4M
|
# fat = 72s, asusd = 6.4M
|
||||||
|
|||||||
@@ -1,22 +1,16 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "asus-notify"
|
name = "asus-notify"
|
||||||
version = "3.1.0"
|
version.workspace = true
|
||||||
authors = ["Luke D Jones <luke@ljones.dev>"]
|
authors = ["Luke D Jones <luke@ljones.dev>"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
zbus = "^2.2"
|
zbus.workspace = true
|
||||||
# serialisation
|
# serialisation
|
||||||
serde_json = "^1.0"
|
serde_json.workspace = true
|
||||||
rog_dbus = { path = "../rog-dbus" }
|
rog_dbus = { path = "../rog-dbus" }
|
||||||
rog_aura = { path = "../rog-aura" }
|
rog_aura = { path = "../rog-aura" }
|
||||||
rog_platform = { path = "../rog-platform" }
|
rog_platform = { path = "../rog-platform" }
|
||||||
rog_profiles = { path = "../rog-profiles" }
|
rog_profiles = { path = "../rog-profiles" }
|
||||||
smol = "^1.2"
|
smol.workspace = true
|
||||||
|
notify-rust.workspace = true
|
||||||
[dependencies.notify-rust]
|
|
||||||
version = "^4.3"
|
|
||||||
default-features = false
|
|
||||||
features = ["z"]
|
|
||||||
@@ -1,26 +1,23 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "asusctl"
|
name = "asusctl"
|
||||||
version = "4.3.3"
|
|
||||||
authors = ["Luke D Jones <luke@ljones.dev>"]
|
authors = ["Luke D Jones <luke@ljones.dev>"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
|
version.workspace = true
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
zbus = "^2.2"
|
|
||||||
rog_anime = { path = "../rog-anime" }
|
rog_anime = { path = "../rog-anime" }
|
||||||
rog_aura = { path = "../rog-aura" }
|
rog_aura = { path = "../rog-aura" }
|
||||||
rog_dbus = { path = "../rog-dbus" }
|
rog_dbus = { path = "../rog-dbus" }
|
||||||
rog_profiles = { path = "../rog-profiles" }
|
rog_profiles = { path = "../rog-profiles" }
|
||||||
rog_platform = { path = "../rog-platform" }
|
rog_platform = { path = "../rog-platform" }
|
||||||
daemon = { path = "../daemon" }
|
daemon = { path = "../daemon" }
|
||||||
gumdrop = "^0.8"
|
|
||||||
toml = "^0.5.8"
|
|
||||||
|
|
||||||
sysfs-class = "^0.1.2"
|
gumdrop.workspace = true
|
||||||
|
toml.workspace = true
|
||||||
|
sysfs-class.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tinybmp = "^0.3.3"
|
gif.workspace = true
|
||||||
glam = "^0.21.2"
|
tinybmp.workspace = true
|
||||||
|
glam.workspace = true
|
||||||
rog_dbus = { path = "../rog-dbus" }
|
rog_dbus = { path = "../rog-dbus" }
|
||||||
gif = "^0.11.2"
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "daemon-user"
|
name = "daemon-user"
|
||||||
version = "1.3.1"
|
version.workspace = true
|
||||||
authors = ["Luke D Jones <luke@ljones.dev>"]
|
authors = ["Luke D Jones <luke@ljones.dev>"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
description = "Usermode daemon for user settings, anime, per-key lighting"
|
description = "Usermode daemon for user settings, anime, per-key lighting"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
@@ -14,20 +14,19 @@ name = "asusd-user"
|
|||||||
path = "src/daemon.rs"
|
path = "src/daemon.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
dirs.workspace = true
|
||||||
|
smol.workspace = true
|
||||||
|
|
||||||
# serialisation
|
# serialisation
|
||||||
serde = "^1.0"
|
serde.workspace = true
|
||||||
serde_json = "^1.0"
|
serde_json.workspace = true
|
||||||
serde_derive = "^1.0"
|
serde_derive.workspace = true
|
||||||
|
|
||||||
rog_anime = { path = "../rog-anime" }
|
rog_anime = { path = "../rog-anime" }
|
||||||
rog_aura = { path = "../rog-aura" }
|
rog_aura = { path = "../rog-aura" }
|
||||||
rog_dbus = { path = "../rog-dbus" }
|
rog_dbus = { path = "../rog-dbus" }
|
||||||
rog_platform = { path = "../rog-platform" }
|
rog_platform = { path = "../rog-platform" }
|
||||||
|
|
||||||
dirs = "^4.0"
|
zbus.workspace = true
|
||||||
|
zvariant.workspace = true
|
||||||
zbus = "^2.2"
|
zvariant_derive.workspace = true
|
||||||
zvariant = "^3.0"
|
|
||||||
zvariant_derive = "^3.0"
|
|
||||||
|
|
||||||
smol = "^1.2"
|
|
||||||
@@ -1,13 +1,13 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "daemon"
|
name = "daemon"
|
||||||
version = "4.5.0-rc3"
|
version.workspace = true
|
||||||
license = "MPL-2.0"
|
license = "MPL-2.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
authors = ["Luke <luke@ljones.dev>"]
|
authors = ["Luke <luke@ljones.dev>"]
|
||||||
repository = "https://gitlab.com/asus-linux/asus-nb-ctrl"
|
repository = "https://gitlab.com/asus-linux/asus-nb-ctrl"
|
||||||
homepage = "https://gitlab.com/asus-linux/asus-nb-ctrl"
|
homepage = "https://gitlab.com/asus-linux/asus-nb-ctrl"
|
||||||
description = "A daemon app for ASUS GX502 and similar laptops to control missing features"
|
description = "A daemon app for ASUS GX502 and similar laptops to control missing features"
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "daemon"
|
name = "daemon"
|
||||||
@@ -24,24 +24,24 @@ rog_platform = { path = "../rog-platform" }
|
|||||||
rog_profiles = { path = "../rog-profiles" }
|
rog_profiles = { path = "../rog-profiles" }
|
||||||
rog_dbus = { path = "../rog-dbus" }
|
rog_dbus = { path = "../rog-dbus" }
|
||||||
|
|
||||||
async-trait = "^0.1"
|
async-trait.workspace = true
|
||||||
tokio = { version = "^1.21.1", features = ["macros", "rt-multi-thread", "time"]}
|
tokio.workspace = true
|
||||||
|
|
||||||
# cli and logging
|
# cli and logging
|
||||||
log = "^0.4"
|
log.workspace = true
|
||||||
env_logger = "^0.9"
|
env_logger.workspace = true
|
||||||
|
|
||||||
zbus = "^2.2"
|
zbus.workspace = true
|
||||||
zvariant = "^3.2"
|
zvariant.workspace = true
|
||||||
logind-zbus = { version = "^3.0" } #, default-features = false, features = ["non_blocking"] }
|
logind-zbus.workspace = true
|
||||||
|
|
||||||
# serialisation
|
# serialisation
|
||||||
serde = "^1.0"
|
serde.workspace = true
|
||||||
serde_derive = "^1.0"
|
serde_derive.workspace = true
|
||||||
serde_json = "^1.0"
|
serde_json.workspace = true
|
||||||
toml = "^0.5.8"
|
toml.workspace = true
|
||||||
|
|
||||||
# Device control
|
# Device control
|
||||||
sysfs-class = "^0.1.2" # used for backlight control and baord ID
|
sysfs-class.workspace = true # used for backlight control and baord ID
|
||||||
|
|
||||||
concat-idents = "1.1.3"
|
concat-idents.workspace = true
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "rog_anime"
|
name = "rog_anime"
|
||||||
version = "1.3.5"
|
version.workspace = true
|
||||||
license = "MPL-2.0"
|
license = "MPL-2.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
authors = ["Luke <luke@ljones.dev>"]
|
authors = ["Luke <luke@ljones.dev>"]
|
||||||
@@ -9,7 +9,7 @@ homepage = "https://gitlab.com/asus-linux/asus-nb-ctrl"
|
|||||||
documentation = "https://docs.rs/rog-anime"
|
documentation = "https://docs.rs/rog-anime"
|
||||||
description = "Types useful for translating images and other data for display on the ASUS AniMe Matrix display"
|
description = "Types useful for translating images and other data for display on the ASUS AniMe Matrix display"
|
||||||
keywords = ["ROG", "ASUS", "AniMe"]
|
keywords = ["ROG", "ASUS", "AniMe"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
exclude = ["data"]
|
exclude = ["data"]
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
@@ -18,17 +18,17 @@ dbus = ["zvariant", "zbus"]
|
|||||||
detect = ["sysfs-class"]
|
detect = ["sysfs-class"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
png_pong = "^0.8.0"
|
png_pong.workspace = true
|
||||||
pix = "0.13"
|
pix.workspace = true
|
||||||
gif = "^0.11.2"
|
gif.workspace = true
|
||||||
log = "*"
|
log.workspace = true
|
||||||
|
|
||||||
serde = "^1.0"
|
serde.workspace = true
|
||||||
serde_derive = "^1.0"
|
serde_derive.workspace = true
|
||||||
|
|
||||||
glam = { version = "^0.21.2", features = ["serde"] }
|
glam.workspace = true
|
||||||
|
|
||||||
zvariant = { version = "^3.0", optional = true }
|
zvariant = { workspace = true, optional = true }
|
||||||
zbus = { version = "^2.2", optional = true }
|
zbus = { workspace = true, optional = true }
|
||||||
|
|
||||||
sysfs-class = { version = "^0.1", optional = true }
|
sysfs-class = { workspace = true, optional = true }
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "rog_aura"
|
name = "rog_aura"
|
||||||
version = "1.3.3"
|
version.workspace = true
|
||||||
license = "MPL-2.0"
|
license = "MPL-2.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
authors = ["Luke <luke@ljones.dev>"]
|
authors = ["Luke <luke@ljones.dev>"]
|
||||||
@@ -9,7 +9,7 @@ homepage = "https://gitlab.com/asus-linux/asusctl"
|
|||||||
documentation = "https://docs.rs/rog-anime"
|
documentation = "https://docs.rs/rog-anime"
|
||||||
description = "Types useful for fancy keyboards on ASUS ROG laptops"
|
description = "Types useful for fancy keyboards on ASUS ROG laptops"
|
||||||
keywords = ["ROG", "ASUS", "Aura"]
|
keywords = ["ROG", "ASUS", "Aura"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
exclude = ["data"]
|
exclude = ["data"]
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
@@ -17,10 +17,10 @@ default = ["dbus", "toml"]
|
|||||||
dbus = ["zvariant"]
|
dbus = ["zvariant"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
serde = "^1.0"
|
serde.workspace = true
|
||||||
serde_derive = "^1.0"
|
serde_derive.workspace = true
|
||||||
toml = { version = "^0.5", optional = true }
|
toml = { workspace = true, optional = true }
|
||||||
zvariant = { version = "^3.0", optional = true }
|
zvariant = { workspace = true, optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
serde_json = "^1.0"
|
serde_json.workspace = true
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "rog-control-center"
|
name = "rog-control-center"
|
||||||
version = "1.1.1"
|
version.workspace = true
|
||||||
authors = ["Luke D. Jones <luke@ljones.dev>"]
|
authors = ["Luke D. Jones <luke@ljones.dev>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
@@ -20,18 +20,16 @@ rog_profiles = { path = "../rog-profiles" }
|
|||||||
rog_platform = { path = "../rog-platform" }
|
rog_platform = { path = "../rog-platform" }
|
||||||
# supergfxctl = { git = "https://gitlab.com/asus-linux/supergfxctl.git" }
|
# supergfxctl = { git = "https://gitlab.com/asus-linux/supergfxctl.git" }
|
||||||
|
|
||||||
smol = "^1.2"
|
smol.workspace = true
|
||||||
|
|
||||||
|
serde.workspace = true
|
||||||
|
toml.workspace = true
|
||||||
|
serde_json.workspace = true
|
||||||
|
serde_derive.workspace = true
|
||||||
|
zbus.workspace = true
|
||||||
|
dirs.workspace = true
|
||||||
|
|
||||||
|
notify-rust.workspace = true
|
||||||
|
|
||||||
serde = "^1.0"
|
|
||||||
toml = "^0.5"
|
|
||||||
serde_json = "^1.0"
|
|
||||||
serde_derive = "^1.0"
|
|
||||||
zbus = "^2.3"
|
|
||||||
nix = "^0.20.0"
|
nix = "^0.20.0"
|
||||||
tempfile = "3.2.0"
|
tempfile = "3.2.0"
|
||||||
dirs = "3.0.1"
|
|
||||||
|
|
||||||
[dependencies.notify-rust]
|
|
||||||
version = "^4.3"
|
|
||||||
default-features = false
|
|
||||||
features = ["z"]
|
|
||||||
@@ -1,19 +1,19 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "rog_dbus"
|
name = "rog_dbus"
|
||||||
version = "4.4.0"
|
version.workspace = true
|
||||||
license = "MPL-2.0"
|
license = "MPL-2.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
authors = ["Luke <luke@ljones.dev>"]
|
authors = ["Luke <luke@ljones.dev>"]
|
||||||
repository = "https://gitlab.com/asus-linux/asus-nb-ctrl"
|
repository = "https://gitlab.com/asus-linux/asus-nb-ctrl"
|
||||||
homepage = "https://gitlab.com/asus-linux/asus-nb-ctrl"
|
homepage = "https://gitlab.com/asus-linux/asus-nb-ctrl"
|
||||||
description = "dbus interface methods for asusctl"
|
description = "dbus interface methods for asusctl"
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rog_anime = { path = "../rog-anime" }
|
rog_anime = { path = "../rog-anime" }
|
||||||
rog_aura = { path = "../rog-aura" }
|
rog_aura = { path = "../rog-aura" }
|
||||||
rog_profiles = { path = "../rog-profiles" }
|
rog_profiles = { path = "../rog-profiles" }
|
||||||
rog_platform = { path = "../rog-platform" }
|
rog_platform = { path = "../rog-platform" }
|
||||||
zbus = "^2.2"
|
zbus.workspace = true
|
||||||
zbus_macros = "^2.0"
|
zbus_macros.workspace = true
|
||||||
zvariant = "^3.0"
|
zvariant.workspace = true
|
||||||
|
|||||||
@@ -1,23 +1,18 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "rog_platform"
|
name = "rog_platform"
|
||||||
version = "0.1.1"
|
version.workspace = true
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log = "*"
|
log.workspace = true
|
||||||
|
|
||||||
rog_aura = { path = "../rog-aura" }
|
rog_aura = { path = "../rog-aura" }
|
||||||
serde = "^1.0"
|
serde.workspace = true
|
||||||
serde_derive = "^1.0"
|
serde_derive.workspace = true
|
||||||
zvariant = "^3.0"
|
zvariant.workspace = true
|
||||||
zvariant_derive = "^3.0"
|
zvariant_derive.workspace = true
|
||||||
|
sysfs-class.workspace = true
|
||||||
|
concat-idents.workspace = true
|
||||||
|
udev.workspace = true
|
||||||
|
inotify.workspace = true
|
||||||
|
|
||||||
udev = "^0.6"
|
rusb.workspace = true
|
||||||
rusb = "^0.9"
|
|
||||||
sysfs-class = "^0.1"
|
|
||||||
inotify = "^0.10.0"
|
|
||||||
# inotify = { version = "0.10.0", default-features = false }
|
|
||||||
|
|
||||||
concat-idents = "1.1.3"
|
|
||||||
@@ -1,17 +1,17 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "rog_profiles"
|
name = "rog_profiles"
|
||||||
version = "1.1.3"
|
version.workspace = true
|
||||||
authors = ["Luke D. Jones <luke@ljones.dev>"]
|
authors = ["Luke D. Jones <luke@ljones.dev>"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["dbus"]
|
default = ["dbus"]
|
||||||
dbus = ["zvariant", "zvariant_derive"]
|
dbus = ["zvariant", "zvariant_derive"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
udev = "^0.6"
|
udev.workspace = true
|
||||||
serde = "^1.0"
|
serde.workspace = true
|
||||||
serde_derive = "^1.0"
|
serde_derive.workspace = true
|
||||||
|
|
||||||
zvariant = { version = "^3.0", optional = true }
|
zvariant = { workspace = true, optional = true }
|
||||||
zvariant_derive = { version = "^3.0", optional = true }
|
zvariant_derive = { workspace = true, optional = true }
|
||||||
Reference in New Issue
Block a user