diff --git a/Cargo.lock b/Cargo.lock index 65db9b2..d3b78dc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1209,6 +1209,19 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f25c0e292a7ca6d6498557ff1df68f32c99850012b6ea401cf8daf771f22ff53" +[[package]] +name = "drm" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98888c4bbd601524c11a7ed63f814b8825f420514f78e96f752c437ae9cbb5d1" +dependencies = [ + "bitflags 2.6.0", + "bytemuck", + "drm-ffi 0.8.0", + "drm-fourcc", + "rustix", +] + [[package]] name = "drm" version = "0.14.1" @@ -1217,19 +1230,29 @@ checksum = "80bc8c5c6c2941f70a55c15f8d9f00f9710ebda3ffda98075f996a0e6c92756f" dependencies = [ "bitflags 2.6.0", "bytemuck", - "drm-ffi", + "drm-ffi 0.9.0", "drm-fourcc", "libc", "rustix", ] +[[package]] +name = "drm-ffi" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97c98727e48b7ccb4f4aea8cfe881e5b07f702d17b7875991881b41af7278d53" +dependencies = [ + "drm-sys 0.7.0", + "rustix", +] + [[package]] name = "drm-ffi" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d8e41459d99a9b529845f6d2c909eb9adf3b6d2f82635ae40be8de0601726e8b" dependencies = [ - "drm-sys", + "drm-sys 0.8.0", "rustix", ] @@ -1239,6 +1262,16 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0aafbcdb8afc29c1a7ee5fbe53b5d62f4565b35a042a662ca9fecd0b54dae6f4" +[[package]] +name = "drm-sys" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd39dde40b6e196c2e8763f23d119ddb1a8714534bf7d77fa97a65b0feda3986" +dependencies = [ + "libc", + "linux-raw-sys 0.6.5", +] + [[package]] name = "drm-sys" version = "0.8.0" @@ -1669,7 +1702,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fa9a106f044fbd21edf2d8cc57300df1e60630e46ed4bebd59cdcbb23cfad1ce" dependencies = [ "bitflags 2.6.0", - "drm", + "drm 0.14.1", "drm-fourcc", "gbm-sys", "libc", @@ -1912,12 +1945,13 @@ checksum = "2205814bb3595d50142989dc23d4c2fd679f77d2111d3ae77e72da0b320c6bb6" dependencies = [ "bytemuck", "calloop 0.14.2", - "drm", + "drm 0.14.1", "gbm", "glutin", "i-slint-common", "i-slint-core", "i-slint-renderer-femtovg", + "i-slint-renderer-skia", "input", "memmap2", "nix", @@ -3888,6 +3922,7 @@ dependencies = [ "bytemuck", "cfg_aliases", "core-graphics 0.24.0", + "drm 0.12.0", "fastrand", "foreign-types", "js-sys", diff --git a/preferences/Cargo.toml b/preferences/Cargo.toml index 70f67dd..1a330a7 100644 --- a/preferences/Cargo.toml +++ b/preferences/Cargo.toml @@ -9,12 +9,15 @@ path = "src/main.rs" [dependencies] anyhow = "1.0.95" -slint = "1.8.0" windows = { version = "0.58.0", features = [ "Win32_Security", "Win32_System_Registry", ] } +[dependencies.slint] +version = "1.8.0" +features = ["renderer-skia"] + [dependencies.chewing] version = "0.9.1" features = ["sqlite"]