mirror of
https://codeberg.org/waydeer/layer-shika.git
synced 2025-11-03 12:24:23 +00:00
chore: missing metadata and update edition and version
This commit is contained in:
parent
e16bf8cef1
commit
e8d636798d
5 changed files with 23 additions and 7 deletions
20
Cargo.toml
20
Cargo.toml
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue