chore: centralize deps and metadata on workspace level

This commit is contained in:
drendog 2025-10-28 06:40:15 +01:00
parent 6353a786af
commit e16bf8cef1
Signed by: dwenya
GPG key ID: 8DD77074645332D0
4 changed files with 54 additions and 34 deletions

View file

@ -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 }

View file

@ -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

View file

@ -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

View file

@ -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