diff --git a/Cargo.toml b/Cargo.toml index a93d0a3..681c1e8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,29 @@ resolver = "2" members = ["domain", "adapters", "composition"] +[workspace.package] +version = "0.1.0" +edition = "2021" +license = "AGPL-3.0-or-later" +repository = "https://codeberg.org/waydeer/layer-shika" +rust-version = "1.70" +keywords = ["layer-shell", "wayland", "slint", "femtovg", "smithay"] +categories = ["gui"] + +[workspace.dependencies] +glutin = { version = "0.32.3", default-features = false, features = ["wayland"] } +log = "0.4.28" +raw-window-handle = "0.6.2" +slint = { version = "1.14.1", default-features = false, features = ["compat-1-2", "renderer-femtovg", "backend-winit-wayland"] } +slint-interpreter = { version = "1.14.1", default-features = false, features = ["compat-1-2"] } +smithay-client-toolkit = "0.20.0" +thiserror = "2.0.17" +wayland-client = "0.31.11" +wayland-protocols = { version = "0.32.9", features = ["client", "staging"] } + +layer-shika-domain = { version = "0.1.0", path = "domain" } +layer-shika-adapters = { version = "0.1.0", path = "adapters" } + [workspace.lints.clippy] all = { level = "deny", priority = -1 } pedantic = { level = "deny", priority = -1 } diff --git a/adapters/Cargo.toml b/adapters/Cargo.toml index 6cf042f..651bf1d 100644 --- a/adapters/Cargo.toml +++ b/adapters/Cargo.toml @@ -1,29 +1,23 @@ [package] name = "layer-shika-adapters" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true +license.workspace = true +repository.workspace = true +rust-version.workspace = true description = "Adapters layer for layer-shika" -license = "AGPL-3.0-or-later" [lints] workspace = true [dependencies] -glutin = { version = "0.32.3", default-features = false, features = [ - "wayland", -] } -layer-shika-domain = { version = "0.1.0", path = "../domain" } -log = "0.4.28" -raw-window-handle = "0.6.2" -slint = { version = "1.14.1", default-features = false, features = [ - "compat-1-2", - "renderer-femtovg", - "backend-winit-wayland", -] } -slint-interpreter = { version = "1.14.1", default-features = false, features = [ - "compat-1-2", -] } -smithay-client-toolkit = "0.20.0" -thiserror = "2.0.17" -wayland-client = "0.31.11" -wayland-protocols = { version = "0.32.9", features = ["client", "staging"] } +glutin.workspace = true +layer-shika-domain.workspace = true +log.workspace = true +raw-window-handle.workspace = true +slint.workspace = true +slint-interpreter.workspace = true +smithay-client-toolkit.workspace = true +thiserror.workspace = true +wayland-client.workspace = true +wayland-protocols.workspace = true diff --git a/composition/Cargo.toml b/composition/Cargo.toml index 9b1e0c7..7936f3b 100644 --- a/composition/Cargo.toml +++ b/composition/Cargo.toml @@ -1,18 +1,19 @@ [package] name = "layer-shika" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true +license.workspace = true +repository.workspace = true +rust-version.workspace = true +keywords.workspace = true +categories.workspace = true description = "A layer shell library crate with Slint UI" -license = "AGPL-3.0-or-later" -repository = "https://codeberg.org/waydeer/layer-shika" readme = "../README.md" -keywords = ["layer-shell", "wayland", "slint", "femtovg", "smithay"] -categories = ["gui"] [lints] workspace = true [dependencies] -layer-shika-adapters = { path = "../adapters" } -layer-shika-domain = { path = "../domain" } -thiserror = "2.0" +layer-shika-adapters.workspace = true +layer-shika-domain.workspace = true +thiserror.workspace = true diff --git a/domain/Cargo.toml b/domain/Cargo.toml index 8fb77ed..9a69871 100644 --- a/domain/Cargo.toml +++ b/domain/Cargo.toml @@ -1,12 +1,14 @@ [package] name = "layer-shika-domain" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true +license.workspace = true +repository.workspace = true +rust-version.workspace = true description = "Domain layer for layer-shika" -license = "AGPL-3.0-or-later" [lints] workspace = true [dependencies] -thiserror = "2.0.17" +thiserror.workspace = true