diff --git a/Cargo.lock b/Cargo.lock index 853dfe30..77560dc0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -45,9 +45,9 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" dependencies = [ "memchr", ] @@ -408,14 +408,14 @@ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] name = "av1-grain" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f3efb2ca85bc610acfa917b5aaa36f3fcbebed5b3182d7f877b02531c4b80c8" +checksum = "8cfddb07216410377231960af4fcab838eaa12e013417781b78bd95ee22077f8" dependencies = [ "anyhow", "arrayvec", "log", - "nom", + "nom 8.0.0", "num-rational", "v_frame", ] @@ -706,6 +706,18 @@ dependencies = [ "wayland-client", ] +[[package]] +name = "calloop-wayland-source" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "138efcf0940a02ebf0cc8d1eff41a1682a46b431630f4c52450d6265876021fa" +dependencies = [ + "calloop 0.14.3", + "rustix 1.1.2", + "wayland-backend", + "wayland-client", +] + [[package]] name = "cargo-husky" version = "1.5.0" @@ -714,9 +726,9 @@ checksum = "7b02b629252fe8ef6460461409564e2c21d0c8e77e0944f3d189ff06c4e932ad" [[package]] name = "cc" -version = "1.2.41" +version = "1.2.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac9fe6cdbb24b6ade63616c0a0688e45bb56732262c158df3c0c4bea4ca47cb7" +checksum = "37521ac7aabe3d13122dc382493e20c9416f299d2ccd5b3a5340a2570cdeb0f3" dependencies = [ "find-msvc-tools", "jobserver", @@ -736,7 +748,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" dependencies = [ - "nom", + "nom 7.1.3", ] [[package]] @@ -911,7 +923,7 @@ dependencies = [ [[package]] name = "const-field-offset" version = "0.1.5" -source = "git+https://github.com/slint-ui/slint.git#5b6f254c3ae381fde18bb4ed62bc20c2abd595b9" +source = "git+https://github.com/slint-ui/slint.git#7f21826607746ecedda6aa1d66bc0d396bae7eda" dependencies = [ "const-field-offset-macro", "field-offset", @@ -920,7 +932,7 @@ dependencies = [ [[package]] name = "const-field-offset-macro" version = "0.1.5" -source = "git+https://github.com/slint-ui/slint.git#5b6f254c3ae381fde18bb4ed62bc20c2abd595b9" +source = "git+https://github.com/slint-ui/slint.git#7f21826607746ecedda6aa1d66bc0d396bae7eda" dependencies = [ "proc-macro2", "quote", @@ -1105,9 +1117,9 @@ checksum = "be1e0bca6c3637f992fc1cc7cbc52a78c1ef6db076dbf1059c4323d6a2048376" [[package]] name = "deranged" -version = "0.5.4" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a41953f86f8a05768a6cda24def994fd2f424b04ec5c719cf89989779f199071" +checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587" dependencies = [ "powerfmt", ] @@ -1479,9 +1491,9 @@ checksum = "52051878f80a721bb68ebfbc930e07b65ba72f2da88968ea5c06fd6ca3d3a127" [[package]] name = "flate2" -version = "1.1.4" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc5a4e564e38c699f2880d3fda590bedc2e69f3f84cd48b457bd892ce61d0aa9" +checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb" dependencies = [ "crc32fast", "miniz_oxide 0.8.9", @@ -1999,7 +2011,7 @@ dependencies = [ "base64 0.21.7", "byteorder", "flate2", - "nom", + "nom 7.1.3", "num-traits", ] @@ -2138,8 +2150,8 @@ dependencies = [ [[package]] name = "i-slint-backend-linuxkms" -version = "1.14.1" -source = "git+https://github.com/slint-ui/slint.git#5b6f254c3ae381fde18bb4ed62bc20c2abd595b9" +version = "1.15.0" +source = "git+https://github.com/slint-ui/slint.git#7f21826607746ecedda6aa1d66bc0d396bae7eda" dependencies = [ "calloop 0.14.3", "drm", @@ -2156,8 +2168,8 @@ dependencies = [ [[package]] name = "i-slint-backend-selector" -version = "1.14.1" -source = "git+https://github.com/slint-ui/slint.git#5b6f254c3ae381fde18bb4ed62bc20c2abd595b9" +version = "1.15.0" +source = "git+https://github.com/slint-ui/slint.git#7f21826607746ecedda6aa1d66bc0d396bae7eda" dependencies = [ "cfg-if", "i-slint-backend-linuxkms", @@ -2169,8 +2181,8 @@ dependencies = [ [[package]] name = "i-slint-backend-winit" -version = "1.14.1" -source = "git+https://github.com/slint-ui/slint.git#5b6f254c3ae381fde18bb4ed62bc20c2abd595b9" +version = "1.15.0" +source = "git+https://github.com/slint-ui/slint.git#7f21826607746ecedda6aa1d66bc0d396bae7eda" dependencies = [ "cfg-if", "cfg_aliases", @@ -2203,8 +2215,8 @@ dependencies = [ [[package]] name = "i-slint-common" -version = "1.14.1" -source = "git+https://github.com/slint-ui/slint.git#5b6f254c3ae381fde18bb4ed62bc20c2abd595b9" +version = "1.15.0" +source = "git+https://github.com/slint-ui/slint.git#7f21826607746ecedda6aa1d66bc0d396bae7eda" dependencies = [ "fontique", "ttf-parser 0.25.1", @@ -2212,8 +2224,8 @@ dependencies = [ [[package]] name = "i-slint-compiler" -version = "1.14.1" -source = "git+https://github.com/slint-ui/slint.git#5b6f254c3ae381fde18bb4ed62bc20c2abd595b9" +version = "1.15.0" +source = "git+https://github.com/slint-ui/slint.git#7f21826607746ecedda6aa1d66bc0d396bae7eda" dependencies = [ "by_address", "codemap", @@ -2233,7 +2245,7 @@ dependencies = [ "rayon", "resvg", "rowan", - "smol_str 0.3.3", + "smol_str 0.3.4", "strum", "typed-index-collections", "url", @@ -2241,8 +2253,8 @@ dependencies = [ [[package]] name = "i-slint-core" -version = "1.14.1" -source = "git+https://github.com/slint-ui/slint.git#5b6f254c3ae381fde18bb4ed62bc20c2abd595b9" +version = "1.15.0" +source = "git+https://github.com/slint-ui/slint.git#7f21826607746ecedda6aa1d66bc0d396bae7eda" dependencies = [ "auto_enums", "bitflags 2.10.0", @@ -2282,12 +2294,14 @@ dependencies = [ "wasm-bindgen", "web-sys", "web-time", + "webbrowser", + "zeno", ] [[package]] name = "i-slint-core-macros" -version = "1.14.1" -source = "git+https://github.com/slint-ui/slint.git#5b6f254c3ae381fde18bb4ed62bc20c2abd595b9" +version = "1.15.0" +source = "git+https://github.com/slint-ui/slint.git#7f21826607746ecedda6aa1d66bc0d396bae7eda" dependencies = [ "quote", "serde_json", @@ -2296,8 +2310,8 @@ dependencies = [ [[package]] name = "i-slint-renderer-femtovg" -version = "1.14.1" -source = "git+https://github.com/slint-ui/slint.git#5b6f254c3ae381fde18bb4ed62bc20c2abd595b9" +version = "1.15.0" +source = "git+https://github.com/slint-ui/slint.git#7f21826607746ecedda6aa1d66bc0d396bae7eda" dependencies = [ "cfg-if", "const-field-offset", @@ -2318,8 +2332,8 @@ dependencies = [ [[package]] name = "i-slint-renderer-skia" -version = "1.14.1" -source = "git+https://github.com/slint-ui/slint.git#5b6f254c3ae381fde18bb4ed62bc20c2abd595b9" +version = "1.15.0" +source = "git+https://github.com/slint-ui/slint.git#7f21826607746ecedda6aa1d66bc0d396bae7eda" dependencies = [ "bytemuck", "cfg-if", @@ -2377,9 +2391,9 @@ dependencies = [ [[package]] name = "icu_collections" -version = "2.0.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "200072f5d0e3614556f94a9930d5dc3e0662a652823904c3a75dc3b0af7fee47" +checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43" dependencies = [ "displaydoc", "potential_utf", @@ -2390,12 +2404,13 @@ dependencies = [ [[package]] name = "icu_locale_core" -version = "2.0.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0cde2700ccaed3872079a65fb1a78f6c0a36c91570f28755dda67bc8f7d9f00a" +checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6" dependencies = [ "displaydoc", "litemap", + "serde", "tinystr", "writeable", "zerovec", @@ -2403,11 +2418,10 @@ dependencies = [ [[package]] name = "icu_normalizer" -version = "2.0.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "436880e8e18df4d7bbc06d58432329d6458cc84531f7ac5f024e93deadb37979" +checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599" dependencies = [ - "displaydoc", "icu_collections", "icu_normalizer_data", "icu_properties", @@ -2418,42 +2432,38 @@ dependencies = [ [[package]] name = "icu_normalizer_data" -version = "2.0.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00210d6893afc98edb752b664b8890f0ef174c8adbb8d0be9710fa66fbbf72d3" +checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a" [[package]] name = "icu_properties" -version = "2.0.1" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "016c619c1eeb94efb86809b015c58f479963de65bdb6253345c1a1276f22e32b" +checksum = "e93fcd3157766c0c8da2f8cff6ce651a31f0810eaa1c51ec363ef790bbb5fb99" dependencies = [ - "displaydoc", "icu_collections", "icu_locale_core", "icu_properties_data", "icu_provider", - "potential_utf", "zerotrie", "zerovec", ] [[package]] name = "icu_properties_data" -version = "2.0.1" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "298459143998310acd25ffe6810ed544932242d3f07083eee1084d83a71bd632" +checksum = "02845b3647bb045f1100ecd6480ff52f34c35f82d9880e029d329c21d1054899" [[package]] name = "icu_provider" -version = "2.0.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03c80da27b5f4187909049ee2d72f276f0d9f99a42c306bd0131ecfe04d8e5af" +checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614" dependencies = [ "displaydoc", "icu_locale_core", - "stable_deref_trait", - "tinystr", "writeable", "yoke", "zerofrom", @@ -2622,13 +2632,13 @@ dependencies = [ [[package]] name = "is-terminal" -version = "0.4.16" +version = "0.4.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9" +checksum = "3640c1c38b8e4e43584d8df18be5fc6b0aa314ce6ebf51b53313d4306cca8e46" dependencies = [ "hermit-abi 0.5.2", "libc", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -2698,9 +2708,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.81" +version = "0.3.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec48937a97411dcb524a265206ccd4c90bb711fca92b2792c407f268825b9305" +checksum = "b011eec8cc36da2aab2d5cff675ec18454fad408585853910a202391cf9f8e65" dependencies = [ "once_cell", "wasm-bindgen", @@ -2890,9 +2900,9 @@ checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" [[package]] name = "litemap" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956" +checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77" [[package]] name = "locale_config" @@ -2975,9 +2985,9 @@ dependencies = [ [[package]] name = "mac-notification-sys" -version = "0.6.6" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "119c8490084af61b44c9eda9d626475847a186737c0378c85e32d77c33a01cd4" +checksum = "4ee70bb2bba058d58e252d2944582d634fc884fc9c489a966d428dedcf653e97" dependencies = [ "cc", "objc2 0.6.3", @@ -3100,9 +3110,9 @@ dependencies = [ [[package]] name = "moxcms" -version = "0.7.7" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c588e11a3082784af229e23e8e4ecf5bcc6fbe4f69101e0421ce8d79da7f0b40" +checksum = "0fbdd3d7436f8b5e892b8b7ea114271ff0fa00bc5acae845d53b07d498616ef6" dependencies = [ "num-traits", "pxfm", @@ -3199,6 +3209,15 @@ dependencies = [ "minimal-lexical", ] +[[package]] +name = "nom" +version = "8.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405" +dependencies = [ + "memchr", +] + [[package]] name = "noop_proc_macro" version = "0.3.0" @@ -3701,9 +3720,9 @@ dependencies = [ [[package]] name = "orbclient" -version = "0.3.48" +version = "0.3.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba0b26cec2e24f08ed8bb31519a9333140a6599b867dac464bb150bdb796fd43" +checksum = "247ad146e19b9437f8604c21f8652423595cf710ad108af40e77d3ae6e96b827" dependencies = [ "libredox", ] @@ -3896,9 +3915,9 @@ dependencies = [ [[package]] name = "potential_utf" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84df19adbe5b5a0782edcab45899906947ab039ccf4573713735ee7de1e6b08a" +checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" dependencies = [ "zerovec", ] @@ -3939,9 +3958,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.102" +version = "1.0.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e0f6df8eaa422d97d72edcd152e1451618fed47fabbdbd5a8864167b1d4aff7" +checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" dependencies = [ "unicode-ident", ] @@ -4535,7 +4554,7 @@ dependencies = [ "ab_glyph", "log", "memmap2", - "smithay-client-toolkit", + "smithay-client-toolkit 0.19.2", "tiny-skia", ] @@ -4750,8 +4769,8 @@ checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" [[package]] name = "slint" -version = "1.14.1" -source = "git+https://github.com/slint-ui/slint.git#5b6f254c3ae381fde18bb4ed62bc20c2abd595b9" +version = "1.15.0" +source = "git+https://github.com/slint-ui/slint.git#7f21826607746ecedda6aa1d66bc0d396bae7eda" dependencies = [ "const-field-offset", "i-slint-backend-selector", @@ -4768,8 +4787,8 @@ dependencies = [ [[package]] name = "slint-build" -version = "1.14.1" -source = "git+https://github.com/slint-ui/slint.git#5b6f254c3ae381fde18bb4ed62bc20c2abd595b9" +version = "1.15.0" +source = "git+https://github.com/slint-ui/slint.git#7f21826607746ecedda6aa1d66bc0d396bae7eda" dependencies = [ "derive_more", "i-slint-compiler", @@ -4779,8 +4798,8 @@ dependencies = [ [[package]] name = "slint-macros" -version = "1.14.1" -source = "git+https://github.com/slint-ui/slint.git#5b6f254c3ae381fde18bb4ed62bc20c2abd595b9" +version = "1.15.0" +source = "git+https://github.com/slint-ui/slint.git#7f21826607746ecedda6aa1d66bc0d396bae7eda" dependencies = [ "i-slint-compiler", "proc-macro2", @@ -4811,7 +4830,7 @@ checksum = "3457dea1f0eb631b4034d61d4d8c32074caa6cd1ab2d59f2327bd8461e2c0016" dependencies = [ "bitflags 2.10.0", "calloop 0.13.0", - "calloop-wayland-source", + "calloop-wayland-source 0.3.0", "cursor-icon", "libc", "log", @@ -4829,13 +4848,40 @@ dependencies = [ ] [[package]] -name = "smithay-clipboard" -version = "0.7.2" +name = "smithay-client-toolkit" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc8216eec463674a0e90f29e0ae41a4db573ec5b56b1c6c1c71615d249b6d846" +checksum = "0512da38f5e2b31201a93524adb8d3136276fa4fe4aafab4e1f727a82b534cc0" +dependencies = [ + "bitflags 2.10.0", + "calloop 0.14.3", + "calloop-wayland-source 0.4.1", + "cursor-icon", + "libc", + "log", + "memmap2", + "rustix 1.1.2", + "thiserror 2.0.17", + "wayland-backend", + "wayland-client", + "wayland-csd-frame", + "wayland-cursor", + "wayland-protocols", + "wayland-protocols-experimental", + "wayland-protocols-misc", + "wayland-protocols-wlr", + "wayland-scanner", + "xkeysym", +] + +[[package]] +name = "smithay-clipboard" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71704c03f739f7745053bde45fa203a46c58d25bc5c4efba1d9a60e9dba81226" dependencies = [ "libc", - "smithay-client-toolkit", + "smithay-client-toolkit 0.20.0", "wayland-backend", ] @@ -4867,9 +4913,9 @@ dependencies = [ [[package]] name = "smol_str" -version = "0.3.3" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9231377ac148083bff390f78bea6df70947f151bd8ec3c660c7f08a4672df60a" +checksum = "3498b0a27f93ef1402f20eefacfaa1691272ac4eca1cdc8c596cb0a245d6cbf5" dependencies = [ "borsh", "serde_core", @@ -5072,7 +5118,7 @@ dependencies = [ "heck", "pkg-config", "toml 0.8.23", - "version-compare 0.2.0", + "version-compare 0.2.1", ] [[package]] @@ -5261,11 +5307,12 @@ dependencies = [ [[package]] name = "tinystr" -version = "0.8.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d4f6d1145dcb577acf783d4e601bc1d76a13337bb54e6233add580b07344c8b" +checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869" dependencies = [ "displaydoc", + "serde_core", "zerovec", ] @@ -5324,9 +5371,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.16" +version = "0.7.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14307c986784f72ef81c89db7d9e28d6ac26d16213b109ea501696195e6e3ce5" +checksum = "2efa149fe76073d6e8fd97ef4f4eca7b67f599660115591483572e406e165594" dependencies = [ "bytes", "futures-core", @@ -5652,9 +5699,9 @@ checksum = "ce61d488bcdc9bc8b5d1772c404828b17fc481c0a582b5581e95fb233aef503e" [[package]] name = "unicode-ident" -version = "1.0.20" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "462eeb75aeb73aea900253ce739c8e18a67423fadf006037cd3ff27e82748a06" +checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" [[package]] name = "unicode-linebreak" @@ -5664,9 +5711,9 @@ checksum = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f" [[package]] name = "unicode-properties" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e70f2a8b45122e719eb623c01822704c4e0907e7e426a05927e1a1cfff5b75d0" +checksum = "7df058c713841ad818f1dc5d3fd88063241cc61f49f5fbea4b951e8cf5a8d71d" [[package]] name = "unicode-script" @@ -5785,9 +5832,9 @@ checksum = "579a42fc0b8e0c63b76519a339be31bed574929511fa53c1a3acae26eb258f29" [[package]] name = "version-compare" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "852e951cb7832cb45cb1169900d19760cfa39b82bc0ea9c0e5a14ae88411c98b" +checksum = "03c2856837ef78f57382f06b2b8563a2f512f7185d732608fd9176cb3b8edf0e" [[package]] name = "version_check" @@ -5802,13 +5849,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f25d498b63d1fdb376b4250f39ab3a5ee8d103957346abacd911e2d8b612c139" dependencies = [ "itertools 0.13.0", - "nom", + "nom 7.1.3", ] [[package]] name = "vtable" version = "0.3.0" -source = "git+https://github.com/slint-ui/slint.git#5b6f254c3ae381fde18bb4ed62bc20c2abd595b9" +source = "git+https://github.com/slint-ui/slint.git#7f21826607746ecedda6aa1d66bc0d396bae7eda" dependencies = [ "const-field-offset", "portable-atomic", @@ -5819,7 +5866,7 @@ dependencies = [ [[package]] name = "vtable-macro" version = "0.3.0" -source = "git+https://github.com/slint-ui/slint.git#5b6f254c3ae381fde18bb4ed62bc20c2abd595b9" +source = "git+https://github.com/slint-ui/slint.git#7f21826607746ecedda6aa1d66bc0d396bae7eda" dependencies = [ "proc-macro2", "quote", @@ -5862,9 +5909,9 @@ dependencies = [ [[package]] name = "wasm-bindgen" -version = "0.2.104" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1da10c01ae9f1ae40cbfac0bac3b1e724b320abfcf52229f80b547c0d250e2d" +checksum = "da95793dfc411fbbd93f5be7715b0578ec61fe87cb1a42b12eb625caa5c5ea60" dependencies = [ "cfg-if", "once_cell", @@ -5873,25 +5920,11 @@ dependencies = [ "wasm-bindgen-shared", ] -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.104" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "671c9a5a66f49d8a47345ab942e2cb93c7d1d0339065d4f8139c486121b43b19" -dependencies = [ - "bumpalo", - "log", - "proc-macro2", - "quote", - "syn 2.0.108", - "wasm-bindgen-shared", -] - [[package]] name = "wasm-bindgen-futures" -version = "0.4.54" +version = "0.4.55" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e038d41e478cc73bae0ff9b36c60cff1c98b8f38f8d7e8061e79ee63608ac5c" +checksum = "551f88106c6d5e7ccc7cd9a16f312dd3b5d36ea8b4954304657d5dfba115d4a0" dependencies = [ "cfg-if", "js-sys", @@ -5902,9 +5935,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.104" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ca60477e4c59f5f2986c50191cd972e3a50d8a95603bc9434501cf156a9a119" +checksum = "04264334509e04a7bf8690f2384ef5265f05143a4bff3889ab7a3269adab59c2" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -5912,22 +5945,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.104" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f07d2f20d4da7b26400c9f4a0511e6e0345b040694e8a75bd41d578fa4421d7" +checksum = "420bc339d9f322e562942d52e115d57e950d12d88983a14c79b86859ee6c7ebc" dependencies = [ + "bumpalo", "proc-macro2", "quote", "syn 2.0.108", - "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.104" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bad67dc8b2a1a6e5448428adec4c3e84c43e561d8c9ee8a9e5aabeb193ec41d1" +checksum = "76f218a38c84bcb33c25ec7059b07847d465ce0e0a76b995e134a45adcb6af76" dependencies = [ "unicode-ident", ] @@ -5992,6 +6025,32 @@ dependencies = [ "wayland-scanner", ] +[[package]] +name = "wayland-protocols-experimental" +version = "20250721.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40a1f863128dcaaec790d7b4b396cc9b9a7a079e878e18c47e6c2d2c5a8dcbb1" +dependencies = [ + "bitflags 2.10.0", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-scanner", +] + +[[package]] +name = "wayland-protocols-misc" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dfe33d551eb8bffd03ff067a8b44bb963919157841a99957151299a6307d19c" +dependencies = [ + "bitflags 2.10.0", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-scanner", +] + [[package]] name = "wayland-protocols-plasma" version = "0.3.9" @@ -6043,9 +6102,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.81" +version = "0.3.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9367c417a924a74cae129e6a2ae3b47fabb1f8995595ab474029da749a8be120" +checksum = "3a1f95c0d03a47f4ae1f7a64643a6bb97465d9b740f0fa8f90ea33915c99a9a1" dependencies = [ "js-sys", "wasm-bindgen", @@ -6061,6 +6120,22 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "webbrowser" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00f1243ef785213e3a32fa0396093424a3a6ea566f9948497e5a2309261a4c97" +dependencies = [ + "core-foundation 0.10.1", + "jni", + "log", + "ndk-context", + "objc2 0.6.3", + "objc2-foundation 0.3.2", + "url", + "web-sys", +] + [[package]] name = "weezl" version = "0.1.10" @@ -6701,7 +6776,7 @@ dependencies = [ "redox_syscall 0.4.1", "rustix 0.38.44", "sctk-adwaita", - "smithay-client-toolkit", + "smithay-client-toolkit 0.19.2", "smol_str 0.2.2", "tracing", "unicode-segmentation", @@ -6749,9 +6824,9 @@ dependencies = [ [[package]] name = "writeable" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb" +checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9" [[package]] name = "x11-clipboard" @@ -6843,9 +6918,9 @@ checksum = "b9cc00251562a284751c9973bace760d86c0276c471b4be569fe6b068ee97a56" [[package]] name = "xml-rs" -version = "0.8.27" +version = "0.8.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fd8403733700263c6eb89f192880191f1b83e332f7a20371ddcf421c4a337c7" +checksum = "3ae8337f8a065cfc972643663ea4279e04e7256de865aa66fe25cec5fb912d3f" [[package]] name = "xmlwriter" @@ -6872,11 +6947,10 @@ dependencies = [ [[package]] name = "yoke" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f41bb01b8226ef4bfd589436a297c53d118f65921786300e427be8d487695cc" +checksum = "72d6e5c6afb84d73944e5cedb052c4680d5657337201555f9f2a16b7406d4954" dependencies = [ - "serde", "stable_deref_trait", "yoke-derive", "zerofrom", @@ -6884,9 +6958,9 @@ dependencies = [ [[package]] name = "yoke-derive" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38da3c9736e16c5d3c8c597a9aaa5d1fa565d0532ae05e27c24aa62fb32c0ab6" +checksum = "b659052874eb698efe5b9e8cf382204678a0086ebf46982b79d6ca3182927e5d" dependencies = [ "proc-macro2", "quote", @@ -7004,9 +7078,9 @@ dependencies = [ [[package]] name = "zerotrie" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36f0bbd478583f79edad978b407914f61b2972f5af6fa089686016be8f9af595" +checksum = "2a59c17a5562d507e4b54960e8569ebee33bee890c70aa3fe7b97e85a9fd7851" dependencies = [ "displaydoc", "yoke", @@ -7015,10 +7089,11 @@ dependencies = [ [[package]] name = "zerovec" -version = "0.11.4" +version = "0.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7aa2bd55086f1ab526693ecbe444205da57e25f4489879da80635a46d90e73b" +checksum = "6c28719294829477f525be0186d13efa9a3c602f7ec202ca9e353d310fb9a002" dependencies = [ + "serde", "yoke", "zerofrom", "zerovec-derive", @@ -7026,9 +7101,9 @@ dependencies = [ [[package]] name = "zerovec-derive" -version = "0.11.1" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f" +checksum = "eadce39539ca5cb3985590102671f2567e659fca9666581ad3411d59207951f3" dependencies = [ "proc-macro2", "quote", diff --git a/README.md b/README.md index d3e1071d..6f822d83 100644 --- a/README.md +++ b/README.md @@ -46,13 +46,13 @@ See the [rog-aura readme](./rog-aura/README.md) for more details. Most ASUS gaming laptops that have a USB keyboard. If `lsusb` shows something similar to this: -``` +```plain Bus 001 Device 002: ID 0b05:1866 ASUSTek Computer, Inc. N-KEY Device ``` or -``` +```plain Bus 003 Device 002: ID 0b05:19b6 ASUSTek Computer, Inc. [unknown] ``` @@ -74,13 +74,13 @@ The list is a bit outdated as many features have been enabled in the Linux kerne - [x] Toggle bios setting for boot/POST sound - [x] Toggle GPU MUX (g-sync, or called MUX on 2022+ laptops) -# GUI +## GUI A gui is now in the repo - ROG Control Center. At this time it is still a WIP, but it has almost all features in place already. **NOTE**: Xorg is not supported. -# BUILDING +## BUILDING Rust and cargo are required, they can be installed from [rustup.rs](https://rustup.rs/). @@ -88,27 +88,33 @@ Distro packaging should work with the stable toolchain. If your distro does not **fedora:** - dnf install cmake clang-devel libxkbcommon-devel systemd-devel expat-devel pcre2-devel libzstd-devel gtk3-devel - make - sudo make install +```sh +dnf install cmake clang-devel libxkbcommon-devel systemd-devel expat-devel pcre2-devel libzstd-devel gtk3-devel +make +sudo make install +``` **openSUSE:** Works with KDE Plasma (without GTK packages) - zypper in -t pattern devel_basis - zypper in rustup make cmake clang-devel libxkbcommon-devel systemd-devel expat-devel pcre2-devel libzstd-devel gtk3-devel - make - sudo make install +```sh +zypper in -t pattern devel_basis +zypper in rustup make cmake clang-devel libxkbcommon-devel systemd-devel expat-devel pcre2-devel libzstd-devel gtk3-devel +make +sudo make install +``` **Debian(unsuported):** officially unsuported,but you can still try and test it by yourself(some features may not be available). - sudo apt install libclang-dev libudev-dev libfontconfig-dev build-essential cmake libxkbcommon-dev - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh - make - sudo make install +```sh +sudo apt install libclang-dev libudev-dev libfontconfig-dev build-essential cmake libxkbcommon-dev +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh +make +sudo make install +``` **Ubuntu, Popos (unsuported):** @@ -135,15 +141,15 @@ You may also need to activate the service for debian install. If running Pop!\_O If you are upgrading from a previous installed version, you will need to restart the service or reboot. -``` -$ systemctl daemon-reload && systemctl restart asusd +```sh +systemctl daemon-reload && systemctl restart asusd ``` ## Uninstalling Run `sudo make uninstall` in the source repo, and remove `/etc/asusd/`. -# Contributing +## Contributing See `CONTRIBUTING.md`. Additionally, also do `cargo clean` and `cargo test` on first checkout to ensure the commit hooks are used (via `cargo-husky`). @@ -151,17 +157,17 @@ Generation of the bindings with `make bindings` requires `typeshare` to be insta Dbus introsepction XML requires with `make introspection` requires `anime_sim` to be running before starting `asusd`. -# OTHER +## OTHER -## AniMe Matrix simulator +### AniMe Matrix simulator A simulator using SDL2 can be built using `cargo build --package rog_simulators` and run with `./target/debug/anime_sim`. Once started `asusd` will need restarting to pick it up. If running this sim on a laptop _with_ the display, the simulated display will be used instead of the physical display. -## Supporting more laptops +### Supporting more laptops Please file a support request. -# License & Trademarks +## License & Trademarks Mozilla Public License 2 (MPL-2.0) diff --git a/asusctl/src/cli_opts.rs b/asusctl/src/cli_opts.rs index 465895ad..6b9c5492 100644 --- a/asusctl/src/cli_opts.rs +++ b/asusctl/src/cli_opts.rs @@ -78,7 +78,11 @@ pub struct ProfileCommand { #[options(short = "a", meta = "", help = "set the profile to use on AC power")] pub profile_set_ac: Option, - #[options(short = "b", meta = "", help = "set the profile to use on battery power")] + #[options( + short = "b", + meta = "", + help = "set the profile to use on battery power" + )] pub profile_set_bat: Option, } diff --git a/asusctl/src/main.rs b/asusctl/src/main.rs index c91fcc05..ce5e86c2 100644 --- a/asusctl/src/main.rs +++ b/asusctl/src/main.rs @@ -979,7 +979,13 @@ fn handle_throttle_profile( return Err(ProfileError::NotSupported.into()); } - if !cmd.next && !cmd.list && cmd.profile_set.is_none() && !cmd.profile_get && cmd.profile_set_ac.is_none() && cmd.profile_set_bat.is_none() { + if !cmd.next + && !cmd.list + && cmd.profile_set.is_none() + && !cmd.profile_get + && cmd.profile_set_ac.is_none() + && cmd.profile_set_bat.is_none() + { if !cmd.help { println!("Missing arg or command\n"); } @@ -1014,7 +1020,10 @@ fn handle_throttle_profile( if cmd.profile_get { println!("Active profile is {current:?}"); println!("Profile on AC is {:?}", proxy.platform_profile_on_ac()?); - println!("Profile on Battery is {:?}", proxy.platform_profile_on_battery()?); + println!( + "Profile on Battery is {:?}", + proxy.platform_profile_on_battery()? + ); } Ok(())