chore: missing metadata and update edition and version

This commit is contained in:
drendog 2025-10-28 06:51:59 +01:00
parent e16bf8cef1
commit e8d636798d
Signed by: dwenya
GPG key ID: 8DD77074645332D0
5 changed files with 23 additions and 7 deletions

View file

@ -4,19 +4,27 @@ members = ["domain", "adapters", "composition"]
[workspace.package]
version = "0.1.0"
edition = "2021"
edition = "2024"
license = "AGPL-3.0-or-later"
repository = "https://codeberg.org/waydeer/layer-shika"
rust-version = "1.70"
rust-version = "1.85"
keywords = ["layer-shell", "wayland", "slint", "femtovg", "smithay"]
categories = ["gui"]
[workspace.dependencies]
glutin = { version = "0.32.3", default-features = false, features = ["wayland"] }
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"] }
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"
@ -28,6 +36,7 @@ layer-shika-adapters = { version = "0.1.0", path = "adapters" }
[workspace.lints.clippy]
all = { level = "deny", priority = -1 }
pedantic = { level = "deny", priority = -1 }
cargo = { level = "deny", priority = -1 }
disallowed_types = "deny"
disallowed_methods = "deny"
pub_use = "deny"
@ -48,6 +57,7 @@ cognitive_complexity = "deny"
needless_collect = "deny"
let_underscore_must_use = "deny"
absolute_paths = "deny"
multiple_crate_versions = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"

View file

@ -5,7 +5,10 @@ edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
keywords.workspace = true
categories.workspace = true
description = "Adapters layer for layer-shika"
readme = "../README.md"
[lints]
workspace = true

View file

@ -55,7 +55,7 @@ impl FemtoVGWindow {
.dispatch_event(WindowEvent::ScaleFactorChanged { scale_factor });
}
pub const fn scale_factor(&self) -> f32 {
pub fn scale_factor(&self) -> f32 {
self.scale_factor.get()
}
}

View file

@ -60,7 +60,7 @@ impl PopupWindow {
.dispatch_event(WindowEvent::ScaleFactorChanged { scale_factor });
}
pub const fn scale_factor(&self) -> f32 {
pub fn scale_factor(&self) -> f32 {
self.scale_factor.get()
}
}

View file

@ -5,7 +5,10 @@ edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
keywords.workspace = true
categories.workspace = true
description = "Domain layer for layer-shika"
readme = "../README.md"
[lints]
workspace = true