A small utility to inhibit idle on wayland for mpris clients
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update Deps

Ben C 4a776219 8f488b4b

+325 -173
+270 -135
Cargo.lock
··· 1 1 # This file is automatically @generated by Cargo. 2 2 # It is not intended for manual editing. 3 - version = 3 3 + version = 4 4 4 5 5 [[package]] 6 6 name = "aho-corasick" ··· 13 13 14 14 [[package]] 15 15 name = "anstream" 16 - version = "0.6.18" 16 + version = "0.6.20" 17 17 source = "registry+https://github.com/rust-lang/crates.io-index" 18 - checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b" 18 + checksum = "3ae563653d1938f79b1ab1b5e668c87c76a9930414574a6583a7b7e11a8e6192" 19 19 dependencies = [ 20 20 "anstyle", 21 21 "anstyle-parse", ··· 28 28 29 29 [[package]] 30 30 name = "anstyle" 31 - version = "1.0.10" 31 + version = "1.0.11" 32 32 source = "registry+https://github.com/rust-lang/crates.io-index" 33 - checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" 33 + checksum = "862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd" 34 34 35 35 [[package]] 36 36 name = "anstyle-parse" 37 - version = "0.2.6" 37 + version = "0.2.7" 38 38 source = "registry+https://github.com/rust-lang/crates.io-index" 39 - checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9" 39 + checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2" 40 40 dependencies = [ 41 41 "utf8parse", 42 42 ] 43 43 44 44 [[package]] 45 45 name = "anstyle-query" 46 - version = "1.1.2" 46 + version = "1.1.4" 47 47 source = "registry+https://github.com/rust-lang/crates.io-index" 48 - checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c" 48 + checksum = "9e231f6134f61b71076a3eab506c379d4f36122f2af15a9ff04415ea4c3339e2" 49 49 dependencies = [ 50 - "windows-sys", 50 + "windows-sys 0.60.2", 51 51 ] 52 52 53 53 [[package]] 54 54 name = "anstyle-wincon" 55 - version = "3.0.7" 55 + version = "3.0.10" 56 56 source = "registry+https://github.com/rust-lang/crates.io-index" 57 - checksum = "ca3534e77181a9cc07539ad51f2141fe32f6c3ffd4df76db8ad92346b003ae4e" 57 + checksum = "3e0633414522a32ffaac8ac6cc8f748e090c5717661fddeea04219e2344f5f2a" 58 58 dependencies = [ 59 59 "anstyle", 60 - "once_cell", 61 - "windows-sys", 60 + "once_cell_polyfill", 61 + "windows-sys 0.60.2", 62 62 ] 63 63 64 64 [[package]] 65 65 name = "anyhow" 66 - version = "1.0.95" 66 + version = "1.0.99" 67 67 source = "registry+https://github.com/rust-lang/crates.io-index" 68 - checksum = "34ac096ce696dc2fcabef30516bb13c0a68a11d30131d3df6f04711467681b04" 68 + checksum = "b0674a1ddeecb70197781e945de4b3b8ffb61fa939a5597bcf48503737663100" 69 69 70 70 [[package]] 71 71 name = "bitflags" 72 - version = "2.8.0" 72 + version = "2.9.4" 73 73 source = "registry+https://github.com/rust-lang/crates.io-index" 74 - checksum = "8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36" 74 + checksum = "2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394" 75 75 76 76 [[package]] 77 77 name = "cc" 78 - version = "1.2.12" 78 + version = "1.2.38" 79 79 source = "registry+https://github.com/rust-lang/crates.io-index" 80 - checksum = "755717a7de9ec452bf7f3f1a3099085deabd7f2962b861dae91ecd7a365903d2" 80 + checksum = "80f41ae168f955c12fb8960b057d70d0ca153fb83182b57d86380443527be7e9" 81 81 dependencies = [ 82 + "find-msvc-tools", 82 83 "shlex", 83 84 ] 84 85 85 86 [[package]] 86 87 name = "clap" 87 - version = "4.5.28" 88 + version = "4.5.47" 88 89 source = "registry+https://github.com/rust-lang/crates.io-index" 89 - checksum = "3e77c3243bd94243c03672cb5154667347c457ca271254724f9f393aee1c05ff" 90 + checksum = "7eac00902d9d136acd712710d71823fb8ac8004ca445a89e73a41d45aa712931" 90 91 dependencies = [ 91 92 "clap_builder", 92 93 "clap_derive", ··· 94 95 95 96 [[package]] 96 97 name = "clap_builder" 97 - version = "4.5.27" 98 + version = "4.5.47" 98 99 source = "registry+https://github.com/rust-lang/crates.io-index" 99 - checksum = "1b26884eb4b57140e4d2d93652abfa49498b938b3c9179f9fc487b0acc3edad7" 100 + checksum = "2ad9bbf750e73b5884fb8a211a9424a1906c1e156724260fdae972f31d70e1d6" 100 101 dependencies = [ 101 102 "anstream", 102 103 "anstyle", ··· 106 107 107 108 [[package]] 108 109 name = "clap_derive" 109 - version = "4.5.28" 110 + version = "4.5.47" 110 111 source = "registry+https://github.com/rust-lang/crates.io-index" 111 - checksum = "bf4ced95c6f4a675af3da73304b9ac4ed991640c36374e4b46795c49e17cf1ed" 112 + checksum = "bbfd7eae0b0f1a6e63d4b13c9c478de77c2eb546fba158ad50b4203dc24b9f9c" 112 113 dependencies = [ 113 114 "heck 0.5.0", 114 115 "proc-macro2", 115 - "quote 1.0.38", 116 - "syn 2.0.98", 116 + "quote 1.0.40", 117 + "syn 2.0.106", 117 118 ] 118 119 119 120 [[package]] 120 121 name = "clap_lex" 121 - version = "0.7.4" 122 + version = "0.7.5" 122 123 source = "registry+https://github.com/rust-lang/crates.io-index" 123 - checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" 124 + checksum = "b94f61472cee1439c0b966b47e3aca9ae07e45d070759512cd390ea2bebc6675" 124 125 125 126 [[package]] 126 127 name = "colog" 127 - version = "1.3.0" 128 + version = "1.4.0" 128 129 source = "registry+https://github.com/rust-lang/crates.io-index" 129 - checksum = "2c426b7af8d5e0ad79de6713996632ce31f0d68ba84068fb0d654b396e519df0" 130 + checksum = "df62599ba6adc9c6c04a54278c8209125343dc4775f57b9d76c9a4287e58f2bd" 130 131 dependencies = [ 131 132 "colored", 132 133 "env_logger", ··· 135 136 136 137 [[package]] 137 138 name = "colorchoice" 138 - version = "1.0.3" 139 + version = "1.0.4" 139 140 source = "registry+https://github.com/rust-lang/crates.io-index" 140 - checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990" 141 + checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" 141 142 142 143 [[package]] 143 144 name = "colored" 144 - version = "2.2.0" 145 + version = "3.0.0" 145 146 source = "registry+https://github.com/rust-lang/crates.io-index" 146 - checksum = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c" 147 + checksum = "fde0e0ec90c9dfb3b4b1a0891a7dcd0e2bffde2f7efed5fe7c9bb00e5bfb915e" 147 148 dependencies = [ 148 - "lazy_static", 149 - "windows-sys", 149 + "windows-sys 0.59.0", 150 150 ] 151 151 152 152 [[package]] ··· 168 168 "fnv", 169 169 "ident_case", 170 170 "proc-macro2", 171 - "quote 1.0.38", 171 + "quote 1.0.40", 172 172 "strsim 0.10.0", 173 173 "syn 1.0.109", 174 174 ] ··· 180 180 checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" 181 181 dependencies = [ 182 182 "darling_core", 183 - "quote 1.0.38", 183 + "quote 1.0.40", 184 184 "syn 1.0.109", 185 185 ] 186 186 187 187 [[package]] 188 188 name = "dbus" 189 - version = "0.9.7" 189 + version = "0.9.9" 190 190 source = "registry+https://github.com/rust-lang/crates.io-index" 191 - checksum = "1bb21987b9fb1613058ba3843121dd18b163b254d8a6e797e144cbac14d96d1b" 191 + checksum = "190b6255e8ab55a7b568df5a883e9497edc3e4821c06396612048b430e5ad1e9" 192 192 dependencies = [ 193 193 "libc", 194 194 "libdbus-sys", 195 - "winapi", 195 + "windows-sys 0.59.0", 196 196 ] 197 197 198 198 [[package]] ··· 219 219 checksum = "4e40a16955681d469ab3da85aaa6b42ff656b3c67b52e1d8d3dd36afe97fd462" 220 220 dependencies = [ 221 221 "proc-macro2", 222 - "quote 1.0.38", 222 + "quote 1.0.40", 223 223 "syn 1.0.109", 224 224 ] 225 225 ··· 235 235 236 236 [[package]] 237 237 name = "env_logger" 238 - version = "0.11.6" 238 + version = "0.11.8" 239 239 source = "registry+https://github.com/rust-lang/crates.io-index" 240 - checksum = "dcaee3d8e3cfc3fd92428d477bc97fc29ec8716d180c0d74c643bb26166660e0" 240 + checksum = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f" 241 241 dependencies = [ 242 242 "anstream", 243 243 "anstyle", 244 244 "env_filter", 245 - "humantime", 245 + "jiff", 246 246 "log", 247 247 ] 248 248 249 249 [[package]] 250 250 name = "errno" 251 - version = "0.3.10" 251 + version = "0.3.14" 252 252 source = "registry+https://github.com/rust-lang/crates.io-index" 253 - checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" 253 + checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" 254 254 dependencies = [ 255 255 "libc", 256 - "windows-sys", 256 + "windows-sys 0.61.0", 257 257 ] 258 258 259 259 [[package]] 260 + name = "find-msvc-tools" 261 + version = "0.1.2" 262 + source = "registry+https://github.com/rust-lang/crates.io-index" 263 + checksum = "1ced73b1dacfc750a6db6c0a0c3a3853c8b41997e2e2c563dc90804ae6867959" 264 + 265 + [[package]] 260 266 name = "fnv" 261 267 version = "1.0.7" 262 268 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 279 285 dependencies = [ 280 286 "darling", 281 287 "proc-macro2", 282 - "quote 1.0.38", 288 + "quote 1.0.40", 283 289 "syn 1.0.109", 284 290 ] 285 291 ··· 299 305 checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" 300 306 301 307 [[package]] 302 - name = "humantime" 303 - version = "2.1.0" 304 - source = "registry+https://github.com/rust-lang/crates.io-index" 305 - checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" 306 - 307 - [[package]] 308 308 name = "ident_case" 309 309 version = "1.0.1" 310 310 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 317 317 checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" 318 318 319 319 [[package]] 320 - name = "lazy_static" 321 - version = "1.5.0" 320 + name = "jiff" 321 + version = "0.2.15" 322 + source = "registry+https://github.com/rust-lang/crates.io-index" 323 + checksum = "be1f93b8b1eb69c77f24bbb0afdf66f54b632ee39af40ca21c4365a1d7347e49" 324 + dependencies = [ 325 + "jiff-static", 326 + "log", 327 + "portable-atomic", 328 + "portable-atomic-util", 329 + "serde", 330 + ] 331 + 332 + [[package]] 333 + name = "jiff-static" 334 + version = "0.2.15" 322 335 source = "registry+https://github.com/rust-lang/crates.io-index" 323 - checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" 336 + checksum = "03343451ff899767262ec32146f6d559dd759fdadf42ff0e227c7c48f72594b4" 337 + dependencies = [ 338 + "proc-macro2", 339 + "quote 1.0.40", 340 + "syn 2.0.106", 341 + ] 324 342 325 343 [[package]] 326 344 name = "libc" 327 - version = "0.2.169" 345 + version = "0.2.175" 328 346 source = "registry+https://github.com/rust-lang/crates.io-index" 329 - checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" 347 + checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543" 330 348 331 349 [[package]] 332 350 name = "libdbus-sys" 333 - version = "0.2.5" 351 + version = "0.2.6" 334 352 source = "registry+https://github.com/rust-lang/crates.io-index" 335 - checksum = "06085512b750d640299b79be4bad3d2fa90a9c00b1fd9e1b46364f66f0485c72" 353 + checksum = "5cbe856efeb50e4681f010e9aaa2bf0a644e10139e54cde10fc83a307c23bd9f" 336 354 dependencies = [ 337 355 "pkg-config", 338 356 ] 339 357 340 358 [[package]] 341 359 name = "linux-raw-sys" 342 - version = "0.4.15" 360 + version = "0.11.0" 343 361 source = "registry+https://github.com/rust-lang/crates.io-index" 344 - checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" 362 + checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" 345 363 346 364 [[package]] 347 365 name = "log" 348 - version = "0.4.25" 366 + version = "0.4.28" 349 367 source = "registry+https://github.com/rust-lang/crates.io-index" 350 - checksum = "04cbf5b083de1c7e0222a7a51dbfdba1cbe1c6ab0b15e29fff3f6c077fd9cd9f" 368 + checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432" 351 369 352 370 [[package]] 353 371 name = "memchr" 354 - version = "2.7.4" 372 + version = "2.7.5" 355 373 source = "registry+https://github.com/rust-lang/crates.io-index" 356 - checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" 374 + checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0" 357 375 358 376 [[package]] 359 377 name = "mpris" ··· 369 387 ] 370 388 371 389 [[package]] 372 - name = "once_cell" 373 - version = "1.20.3" 390 + name = "once_cell_polyfill" 391 + version = "1.70.1" 374 392 source = "registry+https://github.com/rust-lang/crates.io-index" 375 - checksum = "945462a4b81e43c4e3ba96bd7b49d834c6f61198356aa858733bc4acf3cbe62e" 393 + checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad" 376 394 377 395 [[package]] 378 396 name = "pkg-config" 379 - version = "0.3.31" 397 + version = "0.3.32" 398 + source = "registry+https://github.com/rust-lang/crates.io-index" 399 + checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" 400 + 401 + [[package]] 402 + name = "portable-atomic" 403 + version = "1.11.1" 380 404 source = "registry+https://github.com/rust-lang/crates.io-index" 381 - checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2" 405 + checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483" 406 + 407 + [[package]] 408 + name = "portable-atomic-util" 409 + version = "0.2.4" 410 + source = "registry+https://github.com/rust-lang/crates.io-index" 411 + checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507" 412 + dependencies = [ 413 + "portable-atomic", 414 + ] 382 415 383 416 [[package]] 384 417 name = "proc-macro2" 385 - version = "1.0.93" 418 + version = "1.0.101" 386 419 source = "registry+https://github.com/rust-lang/crates.io-index" 387 - checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99" 420 + checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de" 388 421 dependencies = [ 389 422 "unicode-ident", 390 423 ] 391 424 392 425 [[package]] 393 426 name = "quick-xml" 394 - version = "0.37.2" 427 + version = "0.37.5" 395 428 source = "registry+https://github.com/rust-lang/crates.io-index" 396 - checksum = "165859e9e55f79d67b96c5d96f4e88b6f2695a1972849c15a6a3f5c59fc2c003" 429 + checksum = "331e97a1af0bf59823e6eadffe373d7b27f485be8748f71471c662c1f269b7fb" 397 430 dependencies = [ 398 431 "memchr", 399 432 ] ··· 406 439 407 440 [[package]] 408 441 name = "quote" 409 - version = "1.0.38" 442 + version = "1.0.40" 410 443 source = "registry+https://github.com/rust-lang/crates.io-index" 411 - checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc" 444 + checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" 412 445 dependencies = [ 413 446 "proc-macro2", 414 447 ] 415 448 416 449 [[package]] 417 450 name = "regex" 418 - version = "1.11.1" 451 + version = "1.11.2" 419 452 source = "registry+https://github.com/rust-lang/crates.io-index" 420 - checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" 453 + checksum = "23d7fd106d8c02486a8d64e778353d1cffe08ce79ac2e82f540c86d0facf6912" 421 454 dependencies = [ 422 455 "aho-corasick", 423 456 "memchr", ··· 427 460 428 461 [[package]] 429 462 name = "regex-automata" 430 - version = "0.4.9" 463 + version = "0.4.10" 431 464 source = "registry+https://github.com/rust-lang/crates.io-index" 432 - checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" 465 + checksum = "6b9458fa0bfeeac22b5ca447c63aaf45f28439a709ccd244698632f9aa6394d6" 433 466 dependencies = [ 434 467 "aho-corasick", 435 468 "memchr", ··· 438 471 439 472 [[package]] 440 473 name = "regex-syntax" 441 - version = "0.8.5" 474 + version = "0.8.6" 442 475 source = "registry+https://github.com/rust-lang/crates.io-index" 443 - checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" 476 + checksum = "caf4aa5b0f434c91fe5c7f1ecb6a5ece2130b02ad2a590589dda5146df959001" 444 477 445 478 [[package]] 446 479 name = "rustix" 447 - version = "0.38.44" 480 + version = "1.1.2" 448 481 source = "registry+https://github.com/rust-lang/crates.io-index" 449 - checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" 482 + checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" 450 483 dependencies = [ 451 484 "bitflags", 452 485 "errno", 453 486 "libc", 454 487 "linux-raw-sys", 455 - "windows-sys", 488 + "windows-sys 0.61.0", 489 + ] 490 + 491 + [[package]] 492 + name = "serde" 493 + version = "1.0.225" 494 + source = "registry+https://github.com/rust-lang/crates.io-index" 495 + checksum = "fd6c24dee235d0da097043389623fb913daddf92c76e9f5a1db88607a0bcbd1d" 496 + dependencies = [ 497 + "serde_core", 498 + ] 499 + 500 + [[package]] 501 + name = "serde_core" 502 + version = "1.0.225" 503 + source = "registry+https://github.com/rust-lang/crates.io-index" 504 + checksum = "659356f9a0cb1e529b24c01e43ad2bdf520ec4ceaf83047b83ddcc2251f96383" 505 + dependencies = [ 506 + "serde_derive", 507 + ] 508 + 509 + [[package]] 510 + name = "serde_derive" 511 + version = "1.0.225" 512 + source = "registry+https://github.com/rust-lang/crates.io-index" 513 + checksum = "0ea936adf78b1f766949a4977b91d2f5595825bd6ec079aa9543ad2685fc4516" 514 + dependencies = [ 515 + "proc-macro2", 516 + "quote 1.0.40", 517 + "syn 2.0.106", 456 518 ] 457 519 458 520 [[package]] ··· 463 525 464 526 [[package]] 465 527 name = "smallvec" 466 - version = "1.13.2" 528 + version = "1.15.1" 467 529 source = "registry+https://github.com/rust-lang/crates.io-index" 468 - checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" 530 + checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" 469 531 470 532 [[package]] 471 533 name = "strsim" ··· 497 559 checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 498 560 dependencies = [ 499 561 "proc-macro2", 500 - "quote 1.0.38", 562 + "quote 1.0.40", 501 563 "unicode-ident", 502 564 ] 503 565 504 566 [[package]] 505 567 name = "syn" 506 - version = "2.0.98" 568 + version = "2.0.106" 507 569 source = "registry+https://github.com/rust-lang/crates.io-index" 508 - checksum = "36147f1a48ae0ec2b5b3bc5b537d267457555a10dc06f3dbc8cb11ba3006d3b1" 570 + checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6" 509 571 dependencies = [ 510 572 "proc-macro2", 511 - "quote 1.0.38", 573 + "quote 1.0.40", 512 574 "unicode-ident", 513 575 ] 514 576 ··· 537 599 checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" 538 600 dependencies = [ 539 601 "proc-macro2", 540 - "quote 1.0.38", 541 - "syn 2.0.98", 602 + "quote 1.0.40", 603 + "syn 2.0.106", 542 604 ] 543 605 544 606 [[package]] 545 607 name = "unicode-ident" 546 - version = "1.0.16" 608 + version = "1.0.19" 547 609 source = "registry+https://github.com/rust-lang/crates.io-index" 548 - checksum = "a210d160f08b701c8721ba1c726c11662f877ea6b7094007e1ca9a1041945034" 610 + checksum = "f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d" 549 611 550 612 [[package]] 551 613 name = "unicode-segmentation" ··· 567 629 568 630 [[package]] 569 631 name = "wayland-backend" 570 - version = "0.3.8" 632 + version = "0.3.11" 571 633 source = "registry+https://github.com/rust-lang/crates.io-index" 572 - checksum = "b7208998eaa3870dad37ec8836979581506e0c5c64c20c9e79e9d2a10d6f47bf" 634 + checksum = "673a33c33048a5ade91a6b139580fa174e19fb0d23f396dca9fa15f2e1e49b35" 573 635 dependencies = [ 574 636 "cc", 575 637 "downcast-rs", ··· 580 642 581 643 [[package]] 582 644 name = "wayland-client" 583 - version = "0.31.8" 645 + version = "0.31.11" 584 646 source = "registry+https://github.com/rust-lang/crates.io-index" 585 - checksum = "c2120de3d33638aaef5b9f4472bff75f07c56379cf76ea320bd3a3d65ecaf73f" 647 + checksum = "c66a47e840dc20793f2264eb4b3e4ecb4b75d91c0dd4af04b456128e0bdd449d" 586 648 dependencies = [ 587 649 "bitflags", 588 650 "rustix", ··· 606 668 607 669 [[package]] 608 670 name = "wayland-protocols" 609 - version = "0.32.6" 671 + version = "0.32.9" 610 672 source = "registry+https://github.com/rust-lang/crates.io-index" 611 - checksum = "0781cf46869b37e36928f7b432273c0995aa8aed9552c556fb18754420541efc" 673 + checksum = "efa790ed75fbfd71283bd2521a1cfdc022aabcc28bdcff00851f9e4ae88d9901" 612 674 dependencies = [ 613 675 "bitflags", 614 676 "wayland-backend", ··· 618 680 619 681 [[package]] 620 682 name = "wayland-scanner" 621 - version = "0.31.6" 683 + version = "0.31.7" 622 684 source = "registry+https://github.com/rust-lang/crates.io-index" 623 - checksum = "896fdafd5d28145fce7958917d69f2fd44469b1d4e861cb5961bcbeebc6d1484" 685 + checksum = "54cb1e9dc49da91950bdfd8b848c49330536d9d1fb03d4bfec8cae50caa50ae3" 624 686 dependencies = [ 625 687 "proc-macro2", 626 688 "quick-xml", 627 - "quote 1.0.38", 689 + "quote 1.0.40", 628 690 ] 629 691 630 692 [[package]] 631 693 name = "wayland-sys" 632 - version = "0.31.6" 694 + version = "0.31.7" 633 695 source = "registry+https://github.com/rust-lang/crates.io-index" 634 - checksum = "dbcebb399c77d5aa9fa5db874806ee7b4eba4e73650948e8f93963f128896615" 696 + checksum = "34949b42822155826b41db8e5d0c1be3a2bd296c747577a43a3e6daefc296142" 635 697 dependencies = [ 636 698 "pkg-config", 637 699 ] 638 700 639 701 [[package]] 640 - name = "winapi" 641 - version = "0.3.9" 702 + name = "windows-link" 703 + version = "0.1.3" 642 704 source = "registry+https://github.com/rust-lang/crates.io-index" 643 - checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 644 - dependencies = [ 645 - "winapi-i686-pc-windows-gnu", 646 - "winapi-x86_64-pc-windows-gnu", 647 - ] 705 + checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" 648 706 649 707 [[package]] 650 - name = "winapi-i686-pc-windows-gnu" 651 - version = "0.4.0" 708 + name = "windows-link" 709 + version = "0.2.0" 652 710 source = "registry+https://github.com/rust-lang/crates.io-index" 653 - checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 711 + checksum = "45e46c0661abb7180e7b9c281db115305d49ca1709ab8242adf09666d2173c65" 654 712 655 713 [[package]] 656 - name = "winapi-x86_64-pc-windows-gnu" 657 - version = "0.4.0" 714 + name = "windows-sys" 715 + version = "0.59.0" 658 716 source = "registry+https://github.com/rust-lang/crates.io-index" 659 - checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 717 + checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" 718 + dependencies = [ 719 + "windows-targets 0.52.6", 720 + ] 660 721 661 722 [[package]] 662 723 name = "windows-sys" 663 - version = "0.59.0" 724 + version = "0.60.2" 664 725 source = "registry+https://github.com/rust-lang/crates.io-index" 665 - checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" 726 + checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" 666 727 dependencies = [ 667 - "windows-targets", 728 + "windows-targets 0.53.3", 729 + ] 730 + 731 + [[package]] 732 + name = "windows-sys" 733 + version = "0.61.0" 734 + source = "registry+https://github.com/rust-lang/crates.io-index" 735 + checksum = "e201184e40b2ede64bc2ea34968b28e33622acdbbf37104f0e4a33f7abe657aa" 736 + dependencies = [ 737 + "windows-link 0.2.0", 668 738 ] 669 739 670 740 [[package]] ··· 673 743 source = "registry+https://github.com/rust-lang/crates.io-index" 674 744 checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" 675 745 dependencies = [ 676 - "windows_aarch64_gnullvm", 677 - "windows_aarch64_msvc", 678 - "windows_i686_gnu", 679 - "windows_i686_gnullvm", 680 - "windows_i686_msvc", 681 - "windows_x86_64_gnu", 682 - "windows_x86_64_gnullvm", 683 - "windows_x86_64_msvc", 746 + "windows_aarch64_gnullvm 0.52.6", 747 + "windows_aarch64_msvc 0.52.6", 748 + "windows_i686_gnu 0.52.6", 749 + "windows_i686_gnullvm 0.52.6", 750 + "windows_i686_msvc 0.52.6", 751 + "windows_x86_64_gnu 0.52.6", 752 + "windows_x86_64_gnullvm 0.52.6", 753 + "windows_x86_64_msvc 0.52.6", 754 + ] 755 + 756 + [[package]] 757 + name = "windows-targets" 758 + version = "0.53.3" 759 + source = "registry+https://github.com/rust-lang/crates.io-index" 760 + checksum = "d5fe6031c4041849d7c496a8ded650796e7b6ecc19df1a431c1a363342e5dc91" 761 + dependencies = [ 762 + "windows-link 0.1.3", 763 + "windows_aarch64_gnullvm 0.53.0", 764 + "windows_aarch64_msvc 0.53.0", 765 + "windows_i686_gnu 0.53.0", 766 + "windows_i686_gnullvm 0.53.0", 767 + "windows_i686_msvc 0.53.0", 768 + "windows_x86_64_gnu 0.53.0", 769 + "windows_x86_64_gnullvm 0.53.0", 770 + "windows_x86_64_msvc 0.53.0", 684 771 ] 685 772 686 773 [[package]] ··· 690 777 checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" 691 778 692 779 [[package]] 780 + name = "windows_aarch64_gnullvm" 781 + version = "0.53.0" 782 + source = "registry+https://github.com/rust-lang/crates.io-index" 783 + checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" 784 + 785 + [[package]] 693 786 name = "windows_aarch64_msvc" 694 787 version = "0.52.6" 695 788 source = "registry+https://github.com/rust-lang/crates.io-index" 696 789 checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" 697 790 698 791 [[package]] 792 + name = "windows_aarch64_msvc" 793 + version = "0.53.0" 794 + source = "registry+https://github.com/rust-lang/crates.io-index" 795 + checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" 796 + 797 + [[package]] 699 798 name = "windows_i686_gnu" 700 799 version = "0.52.6" 701 800 source = "registry+https://github.com/rust-lang/crates.io-index" 702 801 checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" 703 802 704 803 [[package]] 804 + name = "windows_i686_gnu" 805 + version = "0.53.0" 806 + source = "registry+https://github.com/rust-lang/crates.io-index" 807 + checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3" 808 + 809 + [[package]] 705 810 name = "windows_i686_gnullvm" 706 811 version = "0.52.6" 707 812 source = "registry+https://github.com/rust-lang/crates.io-index" 708 813 checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" 709 814 710 815 [[package]] 816 + name = "windows_i686_gnullvm" 817 + version = "0.53.0" 818 + source = "registry+https://github.com/rust-lang/crates.io-index" 819 + checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" 820 + 821 + [[package]] 711 822 name = "windows_i686_msvc" 712 823 version = "0.52.6" 713 824 source = "registry+https://github.com/rust-lang/crates.io-index" 714 825 checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" 826 + 827 + [[package]] 828 + name = "windows_i686_msvc" 829 + version = "0.53.0" 830 + source = "registry+https://github.com/rust-lang/crates.io-index" 831 + checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" 715 832 716 833 [[package]] 717 834 name = "windows_x86_64_gnu" 718 835 version = "0.52.6" 719 836 source = "registry+https://github.com/rust-lang/crates.io-index" 720 837 checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" 838 + 839 + [[package]] 840 + name = "windows_x86_64_gnu" 841 + version = "0.53.0" 842 + source = "registry+https://github.com/rust-lang/crates.io-index" 843 + checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" 721 844 722 845 [[package]] 723 846 name = "windows_x86_64_gnullvm" ··· 726 849 checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" 727 850 728 851 [[package]] 852 + name = "windows_x86_64_gnullvm" 853 + version = "0.53.0" 854 + source = "registry+https://github.com/rust-lang/crates.io-index" 855 + checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" 856 + 857 + [[package]] 729 858 name = "windows_x86_64_msvc" 730 859 version = "0.52.6" 731 860 source = "registry+https://github.com/rust-lang/crates.io-index" 732 861 checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" 862 + 863 + [[package]] 864 + name = "windows_x86_64_msvc" 865 + version = "0.53.0" 866 + source = "registry+https://github.com/rust-lang/crates.io-index" 867 + checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
+7 -7
Cargo.toml
··· 7 7 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 8 8 9 9 [dependencies] 10 - anyhow = "1.0.83" 11 - clap = { version = "4.5.4", features = ["derive"] } 12 - colog = "1.3.0" 13 - env_logger = "0.11.3" 14 - log = "0.4.21" 10 + anyhow = "1.0.99" 11 + clap = { version = "4.5.47", features = ["derive"] } 12 + colog = "1.4.0" 13 + env_logger = "0.11.8" 14 + log = "0.4.28" 15 15 mpris = "2.0.1" 16 - wayland-client = "0.31.2" 17 - wayland-protocols = { version = "0.32.6", features = ["client", "unstable"] } 16 + wayland-client = "0.31.11" 17 + wayland-protocols = { version = "0.32.9", features = ["client", "unstable"] } 18 18 19 19 [profile.release] 20 20 panic = "abort"
+27 -12
README.md
··· 1 1 # wayland-mpris-idle-inhibit 2 2 3 - Uses the [idle-inhibit-unstable-v1](https://wayland.app/protocols/idle-inhibit-unstable-v1) Wayland protocol in order 4 - to inhibit the idle behavior of the compositor when a media player is playing. 3 + Uses the 4 + [idle-inhibit-unstable-v1](https://wayland.app/protocols/idle-inhibit-unstable-v1) 5 + Wayland protocol in order to inhibit the idle behavior of the compositor when a 6 + media player is playing. 5 7 6 8 ## Usage 7 9 8 - 1. Add the flake to your flake inputs (other packaging formats just uh build it yourself idk) 10 + 1. Add the flake to your flake inputs (other packaging formats just uh build it 11 + yourself idk) 9 12 2. Add the package to your environment.systemPackages 10 - 3. Call the command, once you know which options you like best (see below), you can add it to your compositor's config. 13 + 3. Call the command, once you know which options you like best (see below), you 14 + can add it to your compositor's config. 11 15 12 16 Ex for Hyprland: 13 17 ··· 15 19 exec-once = "wayland-mpris-idle-inhibit" 16 20 ``` 17 21 18 - Now whenever a player is playing media the program will inhibit the compositor's idle (e.g. hypridle), and will resume idle when the player is stopped or paused. 22 + Now whenever a player is playing media the program will inhibit the compositor's 23 + idle (e.g. hypridle), and will resume idle when the player is stopped or paused. 19 24 20 25 ### Note for KDE Connect 21 26 22 - You probably still want your PC to fall asleep if your phone is playing media, so you can add these two options to the command call to make it ignore kdeconnect when scanning for active players: 27 + You probably still want your PC to fall asleep if your phone is playing media, 28 + so you can add these two options to the command call to make it ignore 29 + kdeconnect when scanning for active players: 23 30 24 31 ``` 25 32 --ignore=kdeconnect --ignore=playerctld 26 33 ``` 27 34 28 - The `playerctld` part is because for some reason playing media through kdeconnect registers *two* players, one with the right name and one with playerctld. 35 + The `playerctld` part is because for some reason playing media through 36 + kdeconnect registers _two_ players, one with the right name and one with 37 + playerctld. 29 38 30 39 ## Options 31 40 32 - - `--poll-interval <interval>`: The interval in seconds at which the program will poll MPRIS for player information, default is `10` 41 + - `--poll-interval <interval>`: The interval in seconds at which the program 42 + will poll MPRIS for player information, default is `10` 33 43 - `--ignore <name>`: A player name to ignore. This name is the part of the 34 - `org.mpris.MediaPlayer2` interface name after the `org.mpris.MediaPlayer2.` prefix. For example, for 35 - `org.mpris.MediaPlayer2.vlc`, the name is `vlc`. This option can be specified multiple times. 36 - - `--verbose`: Verbosity of output, can be 0 = silent, 1 = info, 2 = debug (defaults to 1) 44 + `org.mpris.MediaPlayer2` interface name after the `org.mpris.MediaPlayer2.` 45 + prefix. For example, for `org.mpris.MediaPlayer2.vlc`, the name is `vlc`. This 46 + option can be specified multiple times. 47 + - `--verbose`: Verbosity of output, can be 0 = silent, 1 = info, 2 = debug 48 + (defaults to 1) 37 49 - `--help`: Print help message 38 50 - `--version`: Print version information 39 51 40 52 ## Inspiration 41 53 42 - This project was inspired by [wayland-pipewire-idle-inhibit](https://github.com/rafaelrc7/wayland-pipewire-idle-inhibit). Which does the same thing but for PipeWire audio streams. It is also a lot more feature rich than this project. 54 + This project was inspired by 55 + [wayland-pipewire-idle-inhibit](https://github.com/rafaelrc7/wayland-pipewire-idle-inhibit). 56 + Which does the same thing but for PipeWire audio streams. It is also a lot more 57 + feature rich than this project.
+6 -6
flake.lock
··· 7 7 ] 8 8 }, 9 9 "locked": { 10 - "lastModified": 1753102454, 11 - "narHash": "sha256-BG8VtSW9F24bwfDjF8voxolecogiHKS9WC3EEOakGn0=", 10 + "lastModified": 1758214611, 11 + "narHash": "sha256-5YLeUhF7Nu85fNi5ElWexJ4ViiY041I0mBLLzOhg2DQ=", 12 12 "owner": "nix-community", 13 13 "repo": "flakelight", 14 - "rev": "5438c55301ab0811214f918fd16a7f6aaa50b73f", 14 + "rev": "464ab0a32efcc4310eef119cfc6c470e267cd42a", 15 15 "type": "github" 16 16 }, 17 17 "original": { ··· 22 22 }, 23 23 "nixpkgs": { 24 24 "locked": { 25 - "lastModified": 1753432016, 26 - "narHash": "sha256-cnL5WWn/xkZoyH/03NNUS7QgW5vI7D1i74g48qplCvg=", 25 + "lastModified": 1758213207, 26 + "narHash": "sha256-rqoqF0LEi+6ZT59tr+hTQlxVwrzQsET01U4uUdmqRtM=", 27 27 "owner": "NixOS", 28 28 "repo": "nixpkgs", 29 - "rev": "6027c30c8e9810896b92429f0092f624f7b1aace", 29 + "rev": "f4b140d5b253f5e2a1ff4e5506edbf8267724bde", 30 30 "type": "github" 31 31 }, 32 32 "original": {
+15 -13
flake.nix
··· 7 7 flakelight.inputs.nixpkgs.follows = "nixpkgs"; 8 8 }; 9 9 10 - outputs = inputs @ { 11 - self, 12 - nixpkgs, 13 - flakelight, 14 - }: 10 + outputs = 11 + inputs @ { self 12 + , nixpkgs 13 + , flakelight 14 + , 15 + }: 15 16 flakelight ./. { 16 17 inherit inputs; 17 18 pname = "wayland-mpris-idle-inhibit"; 18 - package = { 19 - rustPlatform, 20 - dbus, 21 - nushell, 22 - pkg-config, 23 - fetchFromGitHub, 24 - lib, 25 - }: 19 + package = 20 + { rustPlatform 21 + , dbus 22 + , nushell 23 + , pkg-config 24 + , fetchFromGitHub 25 + , lib 26 + , 27 + }: 26 28 rustPlatform.buildRustPackage { 27 29 pname = "wayland-mpris-idle-inhibit"; 28 30 version = "0.1.0";