├── .github └── workflows │ └── publish_crate.yaml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── build.nu ├── nupm.nuon └── src ├── main.rs └── notify.rs /.github/workflows/publish_crate.yaml: -------------------------------------------------------------------------------- 1 | name: Publish Crate 2 | 3 | on: 4 | push: 5 | branches: 6 | - main 7 | paths: 8 | - Cargo.toml 9 | release: 10 | workflow_dispatch: 11 | 12 | 13 | jobs: 14 | publish: 15 | runs-on: ubuntu-latest 16 | steps: 17 | - uses: actions/checkout@v3 18 | 19 | - name: Set up Rust toolchain 20 | uses: actions-rs/toolchain@v1 21 | with: 22 | toolchain: stable 23 | override: true 24 | 25 | - name: Publish to crates.io 26 | uses: katyo/publish-crates@v2 27 | with: 28 | registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} 29 | env: 30 | CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} 31 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | .vscode 3 | -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- 1 | # This file is automatically @generated by Cargo. 2 | # It is not intended for manual editing. 3 | version = 4 4 | 5 | [[package]] 6 | name = "adler2" 7 | version = "2.0.0" 8 | source = "registry+https://github.com/rust-lang/crates.io-index" 9 | checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" 10 | 11 | [[package]] 12 | name = "aho-corasick" 13 | version = "1.1.3" 14 | source = "registry+https://github.com/rust-lang/crates.io-index" 15 | checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" 16 | dependencies = [ 17 | "memchr", 18 | ] 19 | 20 | [[package]] 21 | name = "alloc-no-stdlib" 22 | version = "2.0.4" 23 | source = "registry+https://github.com/rust-lang/crates.io-index" 24 | checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3" 25 | 26 | [[package]] 27 | name = "alloc-stdlib" 28 | version = "0.2.2" 29 | source = "registry+https://github.com/rust-lang/crates.io-index" 30 | checksum = "94fb8275041c72129eb51b7d0322c29b8387a0386127718b096429201a5d6ece" 31 | dependencies = [ 32 | "alloc-no-stdlib", 33 | ] 34 | 35 | [[package]] 36 | name = "allocator-api2" 37 | version = "0.2.21" 38 | source = "registry+https://github.com/rust-lang/crates.io-index" 39 | checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" 40 | 41 | [[package]] 42 | name = "android-tzdata" 43 | version = "0.1.1" 44 | source = "registry+https://github.com/rust-lang/crates.io-index" 45 | checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" 46 | 47 | [[package]] 48 | name = "android_system_properties" 49 | version = "0.1.5" 50 | source = "registry+https://github.com/rust-lang/crates.io-index" 51 | checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" 52 | dependencies = [ 53 | "libc", 54 | ] 55 | 56 | [[package]] 57 | name = "arrayvec" 58 | version = "0.7.6" 59 | source = "registry+https://github.com/rust-lang/crates.io-index" 60 | checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" 61 | 62 | [[package]] 63 | name = "async-broadcast" 64 | version = "0.7.2" 65 | source = "registry+https://github.com/rust-lang/crates.io-index" 66 | checksum = "435a87a52755b8f27fcf321ac4f04b2802e337c8c4872923137471ec39c37532" 67 | dependencies = [ 68 | "event-listener", 69 | "event-listener-strategy", 70 | "futures-core", 71 | "pin-project-lite", 72 | ] 73 | 74 | [[package]] 75 | name = "async-channel" 76 | version = "2.3.1" 77 | source = "registry+https://github.com/rust-lang/crates.io-index" 78 | checksum = "89b47800b0be77592da0afd425cc03468052844aff33b84e33cc696f64e77b6a" 79 | dependencies = [ 80 | "concurrent-queue", 81 | "event-listener-strategy", 82 | "futures-core", 83 | "pin-project-lite", 84 | ] 85 | 86 | [[package]] 87 | name = "async-executor" 88 | version = "1.13.1" 89 | source = "registry+https://github.com/rust-lang/crates.io-index" 90 | checksum = "30ca9a001c1e8ba5149f91a74362376cc6bc5b919d92d988668657bd570bdcec" 91 | dependencies = [ 92 | "async-task", 93 | "concurrent-queue", 94 | "fastrand", 95 | "futures-lite", 96 | "slab", 97 | ] 98 | 99 | [[package]] 100 | name = "async-fs" 101 | version = "2.1.2" 102 | source = "registry+https://github.com/rust-lang/crates.io-index" 103 | checksum = "ebcd09b382f40fcd159c2d695175b2ae620ffa5f3bd6f664131efff4e8b9e04a" 104 | dependencies = [ 105 | "async-lock", 106 | "blocking", 107 | "futures-lite", 108 | ] 109 | 110 | [[package]] 111 | name = "async-io" 112 | version = "2.4.0" 113 | source = "registry+https://github.com/rust-lang/crates.io-index" 114 | checksum = "43a2b323ccce0a1d90b449fd71f2a06ca7faa7c54c2751f06c9bd851fc061059" 115 | dependencies = [ 116 | "async-lock", 117 | "cfg-if", 118 | "concurrent-queue", 119 | "futures-io", 120 | "futures-lite", 121 | "parking", 122 | "polling", 123 | "rustix", 124 | "slab", 125 | "tracing", 126 | "windows-sys 0.59.0", 127 | ] 128 | 129 | [[package]] 130 | name = "async-lock" 131 | version = "3.4.0" 132 | source = "registry+https://github.com/rust-lang/crates.io-index" 133 | checksum = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18" 134 | dependencies = [ 135 | "event-listener", 136 | "event-listener-strategy", 137 | "pin-project-lite", 138 | ] 139 | 140 | [[package]] 141 | name = "async-process" 142 | version = "2.3.0" 143 | source = "registry+https://github.com/rust-lang/crates.io-index" 144 | checksum = "63255f1dc2381611000436537bbedfe83183faa303a5a0edaf191edef06526bb" 145 | dependencies = [ 146 | "async-channel", 147 | "async-io", 148 | "async-lock", 149 | "async-signal", 150 | "async-task", 151 | "blocking", 152 | "cfg-if", 153 | "event-listener", 154 | "futures-lite", 155 | "rustix", 156 | "tracing", 157 | ] 158 | 159 | [[package]] 160 | name = "async-recursion" 161 | version = "1.1.1" 162 | source = "registry+https://github.com/rust-lang/crates.io-index" 163 | checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" 164 | dependencies = [ 165 | "proc-macro2", 166 | "quote", 167 | "syn", 168 | ] 169 | 170 | [[package]] 171 | name = "async-signal" 172 | version = "0.2.10" 173 | source = "registry+https://github.com/rust-lang/crates.io-index" 174 | checksum = "637e00349800c0bdf8bfc21ebbc0b6524abea702b0da4168ac00d070d0c0b9f3" 175 | dependencies = [ 176 | "async-io", 177 | "async-lock", 178 | "atomic-waker", 179 | "cfg-if", 180 | "futures-core", 181 | "futures-io", 182 | "rustix", 183 | "signal-hook-registry", 184 | "slab", 185 | "windows-sys 0.59.0", 186 | ] 187 | 188 | [[package]] 189 | name = "async-task" 190 | version = "4.7.1" 191 | source = "registry+https://github.com/rust-lang/crates.io-index" 192 | checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" 193 | 194 | [[package]] 195 | name = "async-trait" 196 | version = "0.1.86" 197 | source = "registry+https://github.com/rust-lang/crates.io-index" 198 | checksum = "644dd749086bf3771a2fbc5f256fdb982d53f011c7d5d560304eafeecebce79d" 199 | dependencies = [ 200 | "proc-macro2", 201 | "quote", 202 | "syn", 203 | ] 204 | 205 | [[package]] 206 | name = "atomic-waker" 207 | version = "1.1.2" 208 | source = "registry+https://github.com/rust-lang/crates.io-index" 209 | checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" 210 | 211 | [[package]] 212 | name = "autocfg" 213 | version = "1.4.0" 214 | source = "registry+https://github.com/rust-lang/crates.io-index" 215 | checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" 216 | 217 | [[package]] 218 | name = "bindgen" 219 | version = "0.70.1" 220 | source = "registry+https://github.com/rust-lang/crates.io-index" 221 | checksum = "f49d8fed880d473ea71efb9bf597651e77201bdd4893efe54c9e5d65ae04ce6f" 222 | dependencies = [ 223 | "bitflags", 224 | "cexpr", 225 | "clang-sys", 226 | "itertools", 227 | "proc-macro2", 228 | "quote", 229 | "regex", 230 | "rustc-hash", 231 | "shlex", 232 | "syn", 233 | ] 234 | 235 | [[package]] 236 | name = "bit-set" 237 | version = "0.8.0" 238 | source = "registry+https://github.com/rust-lang/crates.io-index" 239 | checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" 240 | dependencies = [ 241 | "bit-vec", 242 | ] 243 | 244 | [[package]] 245 | name = "bit-vec" 246 | version = "0.8.0" 247 | source = "registry+https://github.com/rust-lang/crates.io-index" 248 | checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" 249 | 250 | [[package]] 251 | name = "bitflags" 252 | version = "2.8.0" 253 | source = "registry+https://github.com/rust-lang/crates.io-index" 254 | checksum = "8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36" 255 | 256 | [[package]] 257 | name = "block" 258 | version = "0.1.6" 259 | source = "registry+https://github.com/rust-lang/crates.io-index" 260 | checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a" 261 | 262 | [[package]] 263 | name = "blocking" 264 | version = "1.6.1" 265 | source = "registry+https://github.com/rust-lang/crates.io-index" 266 | checksum = "703f41c54fc768e63e091340b424302bb1c29ef4aa0c7f10fe849dfb114d29ea" 267 | dependencies = [ 268 | "async-channel", 269 | "async-task", 270 | "futures-io", 271 | "futures-lite", 272 | "piper", 273 | ] 274 | 275 | [[package]] 276 | name = "brotli" 277 | version = "7.0.0" 278 | source = "registry+https://github.com/rust-lang/crates.io-index" 279 | checksum = "cc97b8f16f944bba54f0433f07e30be199b6dc2bd25937444bbad560bcea29bd" 280 | dependencies = [ 281 | "alloc-no-stdlib", 282 | "alloc-stdlib", 283 | "brotli-decompressor", 284 | ] 285 | 286 | [[package]] 287 | name = "brotli-decompressor" 288 | version = "4.0.2" 289 | source = "registry+https://github.com/rust-lang/crates.io-index" 290 | checksum = "74fa05ad7d803d413eb8380983b092cbbaf9a85f151b871360e7b00cd7060b37" 291 | dependencies = [ 292 | "alloc-no-stdlib", 293 | "alloc-stdlib", 294 | ] 295 | 296 | [[package]] 297 | name = "bumpalo" 298 | version = "3.17.0" 299 | source = "registry+https://github.com/rust-lang/crates.io-index" 300 | checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" 301 | 302 | [[package]] 303 | name = "byteorder" 304 | version = "1.5.0" 305 | source = "registry+https://github.com/rust-lang/crates.io-index" 306 | checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" 307 | 308 | [[package]] 309 | name = "bytes" 310 | version = "1.10.0" 311 | source = "registry+https://github.com/rust-lang/crates.io-index" 312 | checksum = "f61dac84819c6588b558454b194026eb1f09c293b9036ae9b159e74e73ab6cf9" 313 | 314 | [[package]] 315 | name = "cc" 316 | version = "1.2.14" 317 | source = "registry+https://github.com/rust-lang/crates.io-index" 318 | checksum = "0c3d1b2e905a3a7b00a6141adb0e4c0bb941d11caf55349d863942a1cc44e3c9" 319 | dependencies = [ 320 | "shlex", 321 | ] 322 | 323 | [[package]] 324 | name = "cexpr" 325 | version = "0.6.0" 326 | source = "registry+https://github.com/rust-lang/crates.io-index" 327 | checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" 328 | dependencies = [ 329 | "nom", 330 | ] 331 | 332 | [[package]] 333 | name = "cfg-if" 334 | version = "1.0.0" 335 | source = "registry+https://github.com/rust-lang/crates.io-index" 336 | checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 337 | 338 | [[package]] 339 | name = "cfg_aliases" 340 | version = "0.2.1" 341 | source = "registry+https://github.com/rust-lang/crates.io-index" 342 | checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" 343 | 344 | [[package]] 345 | name = "chrono" 346 | version = "0.4.39" 347 | source = "registry+https://github.com/rust-lang/crates.io-index" 348 | checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825" 349 | dependencies = [ 350 | "android-tzdata", 351 | "iana-time-zone", 352 | "num-traits", 353 | "pure-rust-locales", 354 | "serde", 355 | "windows-targets 0.52.6", 356 | ] 357 | 358 | [[package]] 359 | name = "chrono-humanize" 360 | version = "0.2.3" 361 | source = "registry+https://github.com/rust-lang/crates.io-index" 362 | checksum = "799627e6b4d27827a814e837b9d8a504832086081806d45b1afa34dc982b023b" 363 | dependencies = [ 364 | "chrono", 365 | ] 366 | 367 | [[package]] 368 | name = "clang-sys" 369 | version = "1.8.1" 370 | source = "registry+https://github.com/rust-lang/crates.io-index" 371 | checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" 372 | dependencies = [ 373 | "glob", 374 | "libc", 375 | "libloading", 376 | ] 377 | 378 | [[package]] 379 | name = "concurrent-queue" 380 | version = "2.5.0" 381 | source = "registry+https://github.com/rust-lang/crates.io-index" 382 | checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" 383 | dependencies = [ 384 | "crossbeam-utils", 385 | ] 386 | 387 | [[package]] 388 | name = "core-foundation-sys" 389 | version = "0.8.7" 390 | source = "registry+https://github.com/rust-lang/crates.io-index" 391 | checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" 392 | 393 | [[package]] 394 | name = "crc32fast" 395 | version = "1.4.2" 396 | source = "registry+https://github.com/rust-lang/crates.io-index" 397 | checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" 398 | dependencies = [ 399 | "cfg-if", 400 | ] 401 | 402 | [[package]] 403 | name = "crossbeam-deque" 404 | version = "0.8.6" 405 | source = "registry+https://github.com/rust-lang/crates.io-index" 406 | checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" 407 | dependencies = [ 408 | "crossbeam-epoch", 409 | "crossbeam-utils", 410 | ] 411 | 412 | [[package]] 413 | name = "crossbeam-epoch" 414 | version = "0.9.18" 415 | source = "registry+https://github.com/rust-lang/crates.io-index" 416 | checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" 417 | dependencies = [ 418 | "crossbeam-utils", 419 | ] 420 | 421 | [[package]] 422 | name = "crossbeam-utils" 423 | version = "0.8.21" 424 | source = "registry+https://github.com/rust-lang/crates.io-index" 425 | checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" 426 | 427 | [[package]] 428 | name = "crossterm" 429 | version = "0.28.1" 430 | source = "registry+https://github.com/rust-lang/crates.io-index" 431 | checksum = "829d955a0bb380ef178a640b91779e3987da38c9aea133b20614cfed8cdea9c6" 432 | dependencies = [ 433 | "bitflags", 434 | "crossterm_winapi", 435 | "mio", 436 | "parking_lot", 437 | "rustix", 438 | "signal-hook", 439 | "signal-hook-mio", 440 | "winapi", 441 | ] 442 | 443 | [[package]] 444 | name = "crossterm_winapi" 445 | version = "0.9.1" 446 | source = "registry+https://github.com/rust-lang/crates.io-index" 447 | checksum = "acdd7c62a3665c7f6830a51635d9ac9b23ed385797f70a83bb8bafe9c572ab2b" 448 | dependencies = [ 449 | "winapi", 450 | ] 451 | 452 | [[package]] 453 | name = "deranged" 454 | version = "0.3.11" 455 | source = "registry+https://github.com/rust-lang/crates.io-index" 456 | checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" 457 | dependencies = [ 458 | "powerfmt", 459 | ] 460 | 461 | [[package]] 462 | name = "dirs" 463 | version = "5.0.1" 464 | source = "registry+https://github.com/rust-lang/crates.io-index" 465 | checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" 466 | dependencies = [ 467 | "dirs-sys", 468 | ] 469 | 470 | [[package]] 471 | name = "dirs-next" 472 | version = "2.0.0" 473 | source = "registry+https://github.com/rust-lang/crates.io-index" 474 | checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1" 475 | dependencies = [ 476 | "cfg-if", 477 | "dirs-sys-next", 478 | ] 479 | 480 | [[package]] 481 | name = "dirs-sys" 482 | version = "0.4.1" 483 | source = "registry+https://github.com/rust-lang/crates.io-index" 484 | checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" 485 | dependencies = [ 486 | "libc", 487 | "option-ext", 488 | "redox_users", 489 | "windows-sys 0.48.0", 490 | ] 491 | 492 | [[package]] 493 | name = "dirs-sys-next" 494 | version = "0.1.2" 495 | source = "registry+https://github.com/rust-lang/crates.io-index" 496 | checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" 497 | dependencies = [ 498 | "libc", 499 | "redox_users", 500 | "winapi", 501 | ] 502 | 503 | [[package]] 504 | name = "doctest-file" 505 | version = "1.0.0" 506 | source = "registry+https://github.com/rust-lang/crates.io-index" 507 | checksum = "aac81fa3e28d21450aa4d2ac065992ba96a1d7303efbce51a95f4fd175b67562" 508 | 509 | [[package]] 510 | name = "either" 511 | version = "1.13.0" 512 | source = "registry+https://github.com/rust-lang/crates.io-index" 513 | checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" 514 | 515 | [[package]] 516 | name = "endi" 517 | version = "1.1.0" 518 | source = "registry+https://github.com/rust-lang/crates.io-index" 519 | checksum = "a3d8a32ae18130a3c84dd492d4215c3d913c3b07c6b63c2eb3eb7ff1101ab7bf" 520 | 521 | [[package]] 522 | name = "enumflags2" 523 | version = "0.7.11" 524 | source = "registry+https://github.com/rust-lang/crates.io-index" 525 | checksum = "ba2f4b465f5318854c6f8dd686ede6c0a9dc67d4b1ac241cf0eb51521a309147" 526 | dependencies = [ 527 | "enumflags2_derive", 528 | "serde", 529 | ] 530 | 531 | [[package]] 532 | name = "enumflags2_derive" 533 | version = "0.7.11" 534 | source = "registry+https://github.com/rust-lang/crates.io-index" 535 | checksum = "fc4caf64a58d7a6d65ab00639b046ff54399a39f5f2554728895ace4b297cd79" 536 | dependencies = [ 537 | "proc-macro2", 538 | "quote", 539 | "syn", 540 | ] 541 | 542 | [[package]] 543 | name = "equivalent" 544 | version = "1.0.2" 545 | source = "registry+https://github.com/rust-lang/crates.io-index" 546 | checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" 547 | 548 | [[package]] 549 | name = "erased-serde" 550 | version = "0.4.5" 551 | source = "registry+https://github.com/rust-lang/crates.io-index" 552 | checksum = "24e2389d65ab4fab27dc2a5de7b191e1f6617d1f1c8855c0dc569c94a4cbb18d" 553 | dependencies = [ 554 | "serde", 555 | "typeid", 556 | ] 557 | 558 | [[package]] 559 | name = "errno" 560 | version = "0.3.10" 561 | source = "registry+https://github.com/rust-lang/crates.io-index" 562 | checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" 563 | dependencies = [ 564 | "libc", 565 | "windows-sys 0.59.0", 566 | ] 567 | 568 | [[package]] 569 | name = "event-listener" 570 | version = "5.4.0" 571 | source = "registry+https://github.com/rust-lang/crates.io-index" 572 | checksum = "3492acde4c3fc54c845eaab3eed8bd00c7a7d881f78bfc801e43a93dec1331ae" 573 | dependencies = [ 574 | "concurrent-queue", 575 | "parking", 576 | "pin-project-lite", 577 | ] 578 | 579 | [[package]] 580 | name = "event-listener-strategy" 581 | version = "0.5.3" 582 | source = "registry+https://github.com/rust-lang/crates.io-index" 583 | checksum = "3c3e4e0dd3673c1139bf041f3008816d9cf2946bbfac2945c09e523b8d7b05b2" 584 | dependencies = [ 585 | "event-listener", 586 | "pin-project-lite", 587 | ] 588 | 589 | [[package]] 590 | name = "fancy-regex" 591 | version = "0.14.0" 592 | source = "registry+https://github.com/rust-lang/crates.io-index" 593 | checksum = "6e24cb5a94bcae1e5408b0effca5cd7172ea3c5755049c5f3af4cd283a165298" 594 | dependencies = [ 595 | "bit-set", 596 | "regex-automata", 597 | "regex-syntax", 598 | ] 599 | 600 | [[package]] 601 | name = "fastrand" 602 | version = "2.3.0" 603 | source = "registry+https://github.com/rust-lang/crates.io-index" 604 | checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" 605 | 606 | [[package]] 607 | name = "flate2" 608 | version = "1.0.35" 609 | source = "registry+https://github.com/rust-lang/crates.io-index" 610 | checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c" 611 | dependencies = [ 612 | "crc32fast", 613 | "miniz_oxide", 614 | ] 615 | 616 | [[package]] 617 | name = "foldhash" 618 | version = "0.1.4" 619 | source = "registry+https://github.com/rust-lang/crates.io-index" 620 | checksum = "a0d2fde1f7b3d48b8395d5f2de76c18a528bd6a9cdde438df747bfcba3e05d6f" 621 | 622 | [[package]] 623 | name = "futures-core" 624 | version = "0.3.31" 625 | source = "registry+https://github.com/rust-lang/crates.io-index" 626 | checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" 627 | 628 | [[package]] 629 | name = "futures-io" 630 | version = "0.3.31" 631 | source = "registry+https://github.com/rust-lang/crates.io-index" 632 | checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" 633 | 634 | [[package]] 635 | name = "futures-lite" 636 | version = "2.6.0" 637 | source = "registry+https://github.com/rust-lang/crates.io-index" 638 | checksum = "f5edaec856126859abb19ed65f39e90fea3a9574b9707f13539acf4abf7eb532" 639 | dependencies = [ 640 | "fastrand", 641 | "futures-core", 642 | "futures-io", 643 | "parking", 644 | "pin-project-lite", 645 | ] 646 | 647 | [[package]] 648 | name = "getrandom" 649 | version = "0.2.15" 650 | source = "registry+https://github.com/rust-lang/crates.io-index" 651 | checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" 652 | dependencies = [ 653 | "cfg-if", 654 | "libc", 655 | "wasi 0.11.0+wasi-snapshot-preview1", 656 | ] 657 | 658 | [[package]] 659 | name = "getrandom" 660 | version = "0.3.1" 661 | source = "registry+https://github.com/rust-lang/crates.io-index" 662 | checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8" 663 | dependencies = [ 664 | "cfg-if", 665 | "libc", 666 | "wasi 0.13.3+wasi-0.2.2", 667 | "windows-targets 0.52.6", 668 | ] 669 | 670 | [[package]] 671 | name = "glob" 672 | version = "0.3.2" 673 | source = "registry+https://github.com/rust-lang/crates.io-index" 674 | checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2" 675 | 676 | [[package]] 677 | name = "hashbrown" 678 | version = "0.15.2" 679 | source = "registry+https://github.com/rust-lang/crates.io-index" 680 | checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" 681 | dependencies = [ 682 | "allocator-api2", 683 | "equivalent", 684 | "foldhash", 685 | ] 686 | 687 | [[package]] 688 | name = "heck" 689 | version = "0.5.0" 690 | source = "registry+https://github.com/rust-lang/crates.io-index" 691 | checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" 692 | 693 | [[package]] 694 | name = "hermit-abi" 695 | version = "0.4.0" 696 | source = "registry+https://github.com/rust-lang/crates.io-index" 697 | checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" 698 | 699 | [[package]] 700 | name = "hex" 701 | version = "0.4.3" 702 | source = "registry+https://github.com/rust-lang/crates.io-index" 703 | checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" 704 | 705 | [[package]] 706 | name = "iana-time-zone" 707 | version = "0.1.61" 708 | source = "registry+https://github.com/rust-lang/crates.io-index" 709 | checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220" 710 | dependencies = [ 711 | "android_system_properties", 712 | "core-foundation-sys", 713 | "iana-time-zone-haiku", 714 | "js-sys", 715 | "wasm-bindgen", 716 | "windows-core 0.52.0", 717 | ] 718 | 719 | [[package]] 720 | name = "iana-time-zone-haiku" 721 | version = "0.1.2" 722 | source = "registry+https://github.com/rust-lang/crates.io-index" 723 | checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" 724 | dependencies = [ 725 | "cc", 726 | ] 727 | 728 | [[package]] 729 | name = "indexmap" 730 | version = "2.9.0" 731 | source = "registry+https://github.com/rust-lang/crates.io-index" 732 | checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e" 733 | dependencies = [ 734 | "equivalent", 735 | "hashbrown", 736 | ] 737 | 738 | [[package]] 739 | name = "interprocess" 740 | version = "2.2.2" 741 | source = "registry+https://github.com/rust-lang/crates.io-index" 742 | checksum = "894148491d817cb36b6f778017b8ac46b17408d522dd90f539d677ea938362eb" 743 | dependencies = [ 744 | "doctest-file", 745 | "libc", 746 | "recvmsg", 747 | "widestring", 748 | "windows-sys 0.52.0", 749 | ] 750 | 751 | [[package]] 752 | name = "inventory" 753 | version = "0.3.19" 754 | source = "registry+https://github.com/rust-lang/crates.io-index" 755 | checksum = "54b12ebb6799019b044deaf431eadfe23245b259bba5a2c0796acec3943a3cdb" 756 | dependencies = [ 757 | "rustversion", 758 | ] 759 | 760 | [[package]] 761 | name = "is_ci" 762 | version = "1.2.0" 763 | source = "registry+https://github.com/rust-lang/crates.io-index" 764 | checksum = "7655c9839580ee829dfacba1d1278c2b7883e50a277ff7541299489d6bdfdc45" 765 | 766 | [[package]] 767 | name = "itertools" 768 | version = "0.13.0" 769 | source = "registry+https://github.com/rust-lang/crates.io-index" 770 | checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" 771 | dependencies = [ 772 | "either", 773 | ] 774 | 775 | [[package]] 776 | name = "itoa" 777 | version = "1.0.14" 778 | source = "registry+https://github.com/rust-lang/crates.io-index" 779 | checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" 780 | 781 | [[package]] 782 | name = "js-sys" 783 | version = "0.3.77" 784 | source = "registry+https://github.com/rust-lang/crates.io-index" 785 | checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" 786 | dependencies = [ 787 | "once_cell", 788 | "wasm-bindgen", 789 | ] 790 | 791 | [[package]] 792 | name = "libc" 793 | version = "0.2.169" 794 | source = "registry+https://github.com/rust-lang/crates.io-index" 795 | checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" 796 | 797 | [[package]] 798 | name = "libloading" 799 | version = "0.8.6" 800 | source = "registry+https://github.com/rust-lang/crates.io-index" 801 | checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34" 802 | dependencies = [ 803 | "cfg-if", 804 | "windows-targets 0.52.6", 805 | ] 806 | 807 | [[package]] 808 | name = "libproc" 809 | version = "0.14.10" 810 | source = "registry+https://github.com/rust-lang/crates.io-index" 811 | checksum = "e78a09b56be5adbcad5aa1197371688dc6bb249a26da3bca2011ee2fb987ebfb" 812 | dependencies = [ 813 | "bindgen", 814 | "errno", 815 | "libc", 816 | ] 817 | 818 | [[package]] 819 | name = "libredox" 820 | version = "0.1.3" 821 | source = "registry+https://github.com/rust-lang/crates.io-index" 822 | checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" 823 | dependencies = [ 824 | "bitflags", 825 | "libc", 826 | ] 827 | 828 | [[package]] 829 | name = "linux-raw-sys" 830 | version = "0.4.15" 831 | source = "registry+https://github.com/rust-lang/crates.io-index" 832 | checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" 833 | 834 | [[package]] 835 | name = "lock_api" 836 | version = "0.4.12" 837 | source = "registry+https://github.com/rust-lang/crates.io-index" 838 | checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" 839 | dependencies = [ 840 | "autocfg", 841 | "scopeguard", 842 | ] 843 | 844 | [[package]] 845 | name = "log" 846 | version = "0.4.25" 847 | source = "registry+https://github.com/rust-lang/crates.io-index" 848 | checksum = "04cbf5b083de1c7e0222a7a51dbfdba1cbe1c6ab0b15e29fff3f6c077fd9cd9f" 849 | 850 | [[package]] 851 | name = "lru" 852 | version = "0.12.5" 853 | source = "registry+https://github.com/rust-lang/crates.io-index" 854 | checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" 855 | dependencies = [ 856 | "hashbrown", 857 | ] 858 | 859 | [[package]] 860 | name = "lscolors" 861 | version = "0.17.0" 862 | source = "registry+https://github.com/rust-lang/crates.io-index" 863 | checksum = "53304fff6ab1e597661eee37e42ea8c47a146fca280af902bb76bff8a896e523" 864 | dependencies = [ 865 | "nu-ansi-term", 866 | ] 867 | 868 | [[package]] 869 | name = "mac-notification-sys" 870 | version = "0.6.2" 871 | source = "registry+https://github.com/rust-lang/crates.io-index" 872 | checksum = "dce8f34f3717aa37177e723df6c1fc5fb02b2a1087374ea3fe0ea42316dc8f91" 873 | dependencies = [ 874 | "cc", 875 | "dirs-next", 876 | "objc-foundation", 877 | "objc_id", 878 | "time", 879 | ] 880 | 881 | [[package]] 882 | name = "mach2" 883 | version = "0.4.2" 884 | source = "registry+https://github.com/rust-lang/crates.io-index" 885 | checksum = "19b955cdeb2a02b9117f121ce63aa52d08ade45de53e48fe6a38b39c10f6f709" 886 | dependencies = [ 887 | "libc", 888 | ] 889 | 890 | [[package]] 891 | name = "malloc_buf" 892 | version = "0.0.6" 893 | source = "registry+https://github.com/rust-lang/crates.io-index" 894 | checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb" 895 | dependencies = [ 896 | "libc", 897 | ] 898 | 899 | [[package]] 900 | name = "memchr" 901 | version = "2.7.4" 902 | source = "registry+https://github.com/rust-lang/crates.io-index" 903 | checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" 904 | 905 | [[package]] 906 | name = "memoffset" 907 | version = "0.9.1" 908 | source = "registry+https://github.com/rust-lang/crates.io-index" 909 | checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" 910 | dependencies = [ 911 | "autocfg", 912 | ] 913 | 914 | [[package]] 915 | name = "miette" 916 | version = "7.5.0" 917 | source = "registry+https://github.com/rust-lang/crates.io-index" 918 | checksum = "1a955165f87b37fd1862df2a59547ac542c77ef6d17c666f619d1ad22dd89484" 919 | dependencies = [ 920 | "cfg-if", 921 | "miette-derive", 922 | "owo-colors", 923 | "supports-color", 924 | "supports-hyperlinks", 925 | "supports-unicode", 926 | "terminal_size", 927 | "textwrap", 928 | "thiserror 1.0.69", 929 | "unicode-width", 930 | ] 931 | 932 | [[package]] 933 | name = "miette-derive" 934 | version = "7.5.0" 935 | source = "registry+https://github.com/rust-lang/crates.io-index" 936 | checksum = "bf45bf44ab49be92fd1227a3be6fc6f617f1a337c06af54981048574d8783147" 937 | dependencies = [ 938 | "proc-macro2", 939 | "quote", 940 | "syn", 941 | ] 942 | 943 | [[package]] 944 | name = "minimal-lexical" 945 | version = "0.2.1" 946 | source = "registry+https://github.com/rust-lang/crates.io-index" 947 | checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" 948 | 949 | [[package]] 950 | name = "miniz_oxide" 951 | version = "0.8.4" 952 | source = "registry+https://github.com/rust-lang/crates.io-index" 953 | checksum = "b3b1c9bd4fe1f0f8b387f6eb9eb3b4a1aa26185e5750efb9140301703f62cd1b" 954 | dependencies = [ 955 | "adler2", 956 | ] 957 | 958 | [[package]] 959 | name = "mio" 960 | version = "1.0.3" 961 | source = "registry+https://github.com/rust-lang/crates.io-index" 962 | checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" 963 | dependencies = [ 964 | "libc", 965 | "log", 966 | "wasi 0.11.0+wasi-snapshot-preview1", 967 | "windows-sys 0.52.0", 968 | ] 969 | 970 | [[package]] 971 | name = "nix" 972 | version = "0.29.0" 973 | source = "registry+https://github.com/rust-lang/crates.io-index" 974 | checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" 975 | dependencies = [ 976 | "bitflags", 977 | "cfg-if", 978 | "cfg_aliases", 979 | "libc", 980 | "memoffset", 981 | ] 982 | 983 | [[package]] 984 | name = "nom" 985 | version = "7.1.3" 986 | source = "registry+https://github.com/rust-lang/crates.io-index" 987 | checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" 988 | dependencies = [ 989 | "memchr", 990 | "minimal-lexical", 991 | ] 992 | 993 | [[package]] 994 | name = "notify-rust" 995 | version = "4.11.7" 996 | source = "registry+https://github.com/rust-lang/crates.io-index" 997 | checksum = "6442248665a5aa2514e794af3b39661a8e73033b1cc5e59899e1276117ee4400" 998 | dependencies = [ 999 | "futures-lite", 1000 | "log", 1001 | "mac-notification-sys", 1002 | "serde", 1003 | "tauri-winrt-notification", 1004 | "zbus", 1005 | ] 1006 | 1007 | [[package]] 1008 | name = "ntapi" 1009 | version = "0.4.1" 1010 | source = "registry+https://github.com/rust-lang/crates.io-index" 1011 | checksum = "e8a3895c6391c39d7fe7ebc444a87eb2991b2a0bc718fdabd071eec617fc68e4" 1012 | dependencies = [ 1013 | "winapi", 1014 | ] 1015 | 1016 | [[package]] 1017 | name = "nu-ansi-term" 1018 | version = "0.50.1" 1019 | source = "registry+https://github.com/rust-lang/crates.io-index" 1020 | checksum = "d4a28e057d01f97e61255210fcff094d74ed0466038633e95017f5beb68e4399" 1021 | dependencies = [ 1022 | "windows-sys 0.52.0", 1023 | ] 1024 | 1025 | [[package]] 1026 | name = "nu-derive-value" 1027 | version = "0.104.0" 1028 | source = "registry+https://github.com/rust-lang/crates.io-index" 1029 | checksum = "5fd0d8e358b6440d01fe4e617f180aea826bade72efb54f5dc1c22e0e8038b6f" 1030 | dependencies = [ 1031 | "heck", 1032 | "proc-macro-error2", 1033 | "proc-macro2", 1034 | "quote", 1035 | "syn", 1036 | ] 1037 | 1038 | [[package]] 1039 | name = "nu-engine" 1040 | version = "0.104.0" 1041 | source = "registry+https://github.com/rust-lang/crates.io-index" 1042 | checksum = "0c2b01483e3d09460375f0c0da7a83b6dc26fb319ca09c55d0665087b2d587c7" 1043 | dependencies = [ 1044 | "log", 1045 | "nu-glob", 1046 | "nu-path", 1047 | "nu-protocol", 1048 | "nu-utils", 1049 | ] 1050 | 1051 | [[package]] 1052 | name = "nu-glob" 1053 | version = "0.104.0" 1054 | source = "registry+https://github.com/rust-lang/crates.io-index" 1055 | checksum = "202ce25889336061efea24e69d4e0de7147c15fd9892cdd70533500d47db8364" 1056 | 1057 | [[package]] 1058 | name = "nu-path" 1059 | version = "0.104.0" 1060 | source = "registry+https://github.com/rust-lang/crates.io-index" 1061 | checksum = "41c68c7c06898a5c4c9f10038da63759661cb8ac8f301ce7d159173a595c8258" 1062 | dependencies = [ 1063 | "dirs", 1064 | "omnipath", 1065 | "pwd", 1066 | "ref-cast", 1067 | ] 1068 | 1069 | [[package]] 1070 | name = "nu-plugin" 1071 | version = "0.104.0" 1072 | source = "registry+https://github.com/rust-lang/crates.io-index" 1073 | checksum = "e00d2ccb35a1206c51740bea63b0deb72dc4c34ca6ceae6feac95f84d68370d2" 1074 | dependencies = [ 1075 | "log", 1076 | "nix", 1077 | "nu-engine", 1078 | "nu-plugin-core", 1079 | "nu-plugin-protocol", 1080 | "nu-protocol", 1081 | "nu-utils", 1082 | "thiserror 2.0.12", 1083 | ] 1084 | 1085 | [[package]] 1086 | name = "nu-plugin-core" 1087 | version = "0.104.0" 1088 | source = "registry+https://github.com/rust-lang/crates.io-index" 1089 | checksum = "30e416e6de2b62925ffc1924740a0e5340316a1630af3d2490d513bcb1f94e94" 1090 | dependencies = [ 1091 | "interprocess", 1092 | "log", 1093 | "nu-plugin-protocol", 1094 | "nu-protocol", 1095 | "rmp-serde", 1096 | "serde", 1097 | "serde_json", 1098 | "windows 0.56.0", 1099 | ] 1100 | 1101 | [[package]] 1102 | name = "nu-plugin-protocol" 1103 | version = "0.104.0" 1104 | source = "registry+https://github.com/rust-lang/crates.io-index" 1105 | checksum = "be7edbdee451bb29150b5e8184660d79d0c0801a6748b9f712b758cb78110305" 1106 | dependencies = [ 1107 | "nu-protocol", 1108 | "nu-utils", 1109 | "rmp-serde", 1110 | "semver", 1111 | "serde", 1112 | "typetag", 1113 | ] 1114 | 1115 | [[package]] 1116 | name = "nu-protocol" 1117 | version = "0.104.0" 1118 | source = "registry+https://github.com/rust-lang/crates.io-index" 1119 | checksum = "ab657b1947f1fad3c5052cb210fa311744736a4800a966ae21c4bc63de7c60ab" 1120 | dependencies = [ 1121 | "brotli", 1122 | "bytes", 1123 | "chrono", 1124 | "chrono-humanize", 1125 | "dirs", 1126 | "dirs-sys", 1127 | "fancy-regex", 1128 | "heck", 1129 | "indexmap", 1130 | "log", 1131 | "lru", 1132 | "memchr", 1133 | "miette", 1134 | "nix", 1135 | "nu-derive-value", 1136 | "nu-glob", 1137 | "nu-path", 1138 | "nu-system", 1139 | "nu-utils", 1140 | "num-format", 1141 | "os_pipe", 1142 | "rmp-serde", 1143 | "serde", 1144 | "serde_json", 1145 | "strum", 1146 | "strum_macros", 1147 | "thiserror 2.0.12", 1148 | "typetag", 1149 | "web-time", 1150 | "windows-sys 0.48.0", 1151 | ] 1152 | 1153 | [[package]] 1154 | name = "nu-system" 1155 | version = "0.104.0" 1156 | source = "registry+https://github.com/rust-lang/crates.io-index" 1157 | checksum = "f47094aaab4f1e3a86c3960400d82a50fcabde907f964ae095963ec95669577a" 1158 | dependencies = [ 1159 | "chrono", 1160 | "itertools", 1161 | "libc", 1162 | "libproc", 1163 | "log", 1164 | "mach2", 1165 | "nix", 1166 | "ntapi", 1167 | "procfs", 1168 | "sysinfo", 1169 | "web-time", 1170 | "windows 0.56.0", 1171 | ] 1172 | 1173 | [[package]] 1174 | name = "nu-utils" 1175 | version = "0.104.0" 1176 | source = "registry+https://github.com/rust-lang/crates.io-index" 1177 | checksum = "327999b774d78b301a6b68c33d312a1a8047c59fb8971b6552ebf823251f1481" 1178 | dependencies = [ 1179 | "crossterm", 1180 | "crossterm_winapi", 1181 | "fancy-regex", 1182 | "log", 1183 | "lscolors", 1184 | "nix", 1185 | "num-format", 1186 | "serde", 1187 | "serde_json", 1188 | "strip-ansi-escapes", 1189 | "sys-locale", 1190 | "unicase", 1191 | ] 1192 | 1193 | [[package]] 1194 | name = "nu_plugin_desktop_notifications" 1195 | version = "1.2.11" 1196 | dependencies = [ 1197 | "notify-rust", 1198 | "nu-plugin", 1199 | "nu-protocol", 1200 | ] 1201 | 1202 | [[package]] 1203 | name = "num-conv" 1204 | version = "0.1.0" 1205 | source = "registry+https://github.com/rust-lang/crates.io-index" 1206 | checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" 1207 | 1208 | [[package]] 1209 | name = "num-format" 1210 | version = "0.4.4" 1211 | source = "registry+https://github.com/rust-lang/crates.io-index" 1212 | checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" 1213 | dependencies = [ 1214 | "arrayvec", 1215 | "itoa", 1216 | ] 1217 | 1218 | [[package]] 1219 | name = "num-traits" 1220 | version = "0.2.19" 1221 | source = "registry+https://github.com/rust-lang/crates.io-index" 1222 | checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" 1223 | dependencies = [ 1224 | "autocfg", 1225 | ] 1226 | 1227 | [[package]] 1228 | name = "objc" 1229 | version = "0.2.7" 1230 | source = "registry+https://github.com/rust-lang/crates.io-index" 1231 | checksum = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1" 1232 | dependencies = [ 1233 | "malloc_buf", 1234 | ] 1235 | 1236 | [[package]] 1237 | name = "objc-foundation" 1238 | version = "0.1.1" 1239 | source = "registry+https://github.com/rust-lang/crates.io-index" 1240 | checksum = "1add1b659e36c9607c7aab864a76c7a4c2760cd0cd2e120f3fb8b952c7e22bf9" 1241 | dependencies = [ 1242 | "block", 1243 | "objc", 1244 | "objc_id", 1245 | ] 1246 | 1247 | [[package]] 1248 | name = "objc_id" 1249 | version = "0.1.1" 1250 | source = "registry+https://github.com/rust-lang/crates.io-index" 1251 | checksum = "c92d4ddb4bd7b50d730c215ff871754d0da6b2178849f8a2a2ab69712d0c073b" 1252 | dependencies = [ 1253 | "objc", 1254 | ] 1255 | 1256 | [[package]] 1257 | name = "omnipath" 1258 | version = "0.1.6" 1259 | source = "registry+https://github.com/rust-lang/crates.io-index" 1260 | checksum = "80adb31078122c880307e9cdfd4e3361e6545c319f9b9dcafcb03acd3b51a575" 1261 | 1262 | [[package]] 1263 | name = "once_cell" 1264 | version = "1.20.3" 1265 | source = "registry+https://github.com/rust-lang/crates.io-index" 1266 | checksum = "945462a4b81e43c4e3ba96bd7b49d834c6f61198356aa858733bc4acf3cbe62e" 1267 | 1268 | [[package]] 1269 | name = "option-ext" 1270 | version = "0.2.0" 1271 | source = "registry+https://github.com/rust-lang/crates.io-index" 1272 | checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" 1273 | 1274 | [[package]] 1275 | name = "ordered-stream" 1276 | version = "0.2.0" 1277 | source = "registry+https://github.com/rust-lang/crates.io-index" 1278 | checksum = "9aa2b01e1d916879f73a53d01d1d6cee68adbb31d6d9177a8cfce093cced1d50" 1279 | dependencies = [ 1280 | "futures-core", 1281 | "pin-project-lite", 1282 | ] 1283 | 1284 | [[package]] 1285 | name = "os_pipe" 1286 | version = "1.2.1" 1287 | source = "registry+https://github.com/rust-lang/crates.io-index" 1288 | checksum = "5ffd2b0a5634335b135d5728d84c5e0fd726954b87111f7506a61c502280d982" 1289 | dependencies = [ 1290 | "libc", 1291 | "windows-sys 0.59.0", 1292 | ] 1293 | 1294 | [[package]] 1295 | name = "owo-colors" 1296 | version = "4.1.0" 1297 | source = "registry+https://github.com/rust-lang/crates.io-index" 1298 | checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56" 1299 | 1300 | [[package]] 1301 | name = "parking" 1302 | version = "2.2.1" 1303 | source = "registry+https://github.com/rust-lang/crates.io-index" 1304 | checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" 1305 | 1306 | [[package]] 1307 | name = "parking_lot" 1308 | version = "0.12.3" 1309 | source = "registry+https://github.com/rust-lang/crates.io-index" 1310 | checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" 1311 | dependencies = [ 1312 | "lock_api", 1313 | "parking_lot_core", 1314 | ] 1315 | 1316 | [[package]] 1317 | name = "parking_lot_core" 1318 | version = "0.9.10" 1319 | source = "registry+https://github.com/rust-lang/crates.io-index" 1320 | checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" 1321 | dependencies = [ 1322 | "cfg-if", 1323 | "libc", 1324 | "redox_syscall", 1325 | "smallvec", 1326 | "windows-targets 0.52.6", 1327 | ] 1328 | 1329 | [[package]] 1330 | name = "paste" 1331 | version = "1.0.15" 1332 | source = "registry+https://github.com/rust-lang/crates.io-index" 1333 | checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" 1334 | 1335 | [[package]] 1336 | name = "pin-project-lite" 1337 | version = "0.2.16" 1338 | source = "registry+https://github.com/rust-lang/crates.io-index" 1339 | checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" 1340 | 1341 | [[package]] 1342 | name = "piper" 1343 | version = "0.2.4" 1344 | source = "registry+https://github.com/rust-lang/crates.io-index" 1345 | checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" 1346 | dependencies = [ 1347 | "atomic-waker", 1348 | "fastrand", 1349 | "futures-io", 1350 | ] 1351 | 1352 | [[package]] 1353 | name = "polling" 1354 | version = "3.7.4" 1355 | source = "registry+https://github.com/rust-lang/crates.io-index" 1356 | checksum = "a604568c3202727d1507653cb121dbd627a58684eb09a820fd746bee38b4442f" 1357 | dependencies = [ 1358 | "cfg-if", 1359 | "concurrent-queue", 1360 | "hermit-abi", 1361 | "pin-project-lite", 1362 | "rustix", 1363 | "tracing", 1364 | "windows-sys 0.59.0", 1365 | ] 1366 | 1367 | [[package]] 1368 | name = "powerfmt" 1369 | version = "0.2.0" 1370 | source = "registry+https://github.com/rust-lang/crates.io-index" 1371 | checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" 1372 | 1373 | [[package]] 1374 | name = "proc-macro-crate" 1375 | version = "3.2.0" 1376 | source = "registry+https://github.com/rust-lang/crates.io-index" 1377 | checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b" 1378 | dependencies = [ 1379 | "toml_edit", 1380 | ] 1381 | 1382 | [[package]] 1383 | name = "proc-macro-error-attr2" 1384 | version = "2.0.0" 1385 | source = "registry+https://github.com/rust-lang/crates.io-index" 1386 | checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5" 1387 | dependencies = [ 1388 | "proc-macro2", 1389 | "quote", 1390 | ] 1391 | 1392 | [[package]] 1393 | name = "proc-macro-error2" 1394 | version = "2.0.1" 1395 | source = "registry+https://github.com/rust-lang/crates.io-index" 1396 | checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802" 1397 | dependencies = [ 1398 | "proc-macro-error-attr2", 1399 | "proc-macro2", 1400 | "quote", 1401 | "syn", 1402 | ] 1403 | 1404 | [[package]] 1405 | name = "proc-macro2" 1406 | version = "1.0.93" 1407 | source = "registry+https://github.com/rust-lang/crates.io-index" 1408 | checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99" 1409 | dependencies = [ 1410 | "unicode-ident", 1411 | ] 1412 | 1413 | [[package]] 1414 | name = "procfs" 1415 | version = "0.17.0" 1416 | source = "registry+https://github.com/rust-lang/crates.io-index" 1417 | checksum = "cc5b72d8145275d844d4b5f6d4e1eef00c8cd889edb6035c21675d1bb1f45c9f" 1418 | dependencies = [ 1419 | "bitflags", 1420 | "chrono", 1421 | "flate2", 1422 | "hex", 1423 | "procfs-core", 1424 | "rustix", 1425 | ] 1426 | 1427 | [[package]] 1428 | name = "procfs-core" 1429 | version = "0.17.0" 1430 | source = "registry+https://github.com/rust-lang/crates.io-index" 1431 | checksum = "239df02d8349b06fc07398a3a1697b06418223b1c7725085e801e7c0fc6a12ec" 1432 | dependencies = [ 1433 | "bitflags", 1434 | "chrono", 1435 | "hex", 1436 | ] 1437 | 1438 | [[package]] 1439 | name = "pure-rust-locales" 1440 | version = "0.8.1" 1441 | source = "registry+https://github.com/rust-lang/crates.io-index" 1442 | checksum = "1190fd18ae6ce9e137184f207593877e70f39b015040156b1e05081cdfe3733a" 1443 | 1444 | [[package]] 1445 | name = "pwd" 1446 | version = "1.4.0" 1447 | source = "registry+https://github.com/rust-lang/crates.io-index" 1448 | checksum = "72c71c0c79b9701efe4e1e4b563b2016dd4ee789eb99badcb09d61ac4b92e4a2" 1449 | dependencies = [ 1450 | "libc", 1451 | "thiserror 1.0.69", 1452 | ] 1453 | 1454 | [[package]] 1455 | name = "quick-xml" 1456 | version = "0.37.5" 1457 | source = "registry+https://github.com/rust-lang/crates.io-index" 1458 | checksum = "331e97a1af0bf59823e6eadffe373d7b27f485be8748f71471c662c1f269b7fb" 1459 | dependencies = [ 1460 | "memchr", 1461 | ] 1462 | 1463 | [[package]] 1464 | name = "quote" 1465 | version = "1.0.38" 1466 | source = "registry+https://github.com/rust-lang/crates.io-index" 1467 | checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc" 1468 | dependencies = [ 1469 | "proc-macro2", 1470 | ] 1471 | 1472 | [[package]] 1473 | name = "rayon" 1474 | version = "1.10.0" 1475 | source = "registry+https://github.com/rust-lang/crates.io-index" 1476 | checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" 1477 | dependencies = [ 1478 | "either", 1479 | "rayon-core", 1480 | ] 1481 | 1482 | [[package]] 1483 | name = "rayon-core" 1484 | version = "1.12.1" 1485 | source = "registry+https://github.com/rust-lang/crates.io-index" 1486 | checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" 1487 | dependencies = [ 1488 | "crossbeam-deque", 1489 | "crossbeam-utils", 1490 | ] 1491 | 1492 | [[package]] 1493 | name = "recvmsg" 1494 | version = "1.0.0" 1495 | source = "registry+https://github.com/rust-lang/crates.io-index" 1496 | checksum = "d3edd4d5d42c92f0a659926464d4cce56b562761267ecf0f469d85b7de384175" 1497 | 1498 | [[package]] 1499 | name = "redox_syscall" 1500 | version = "0.5.8" 1501 | source = "registry+https://github.com/rust-lang/crates.io-index" 1502 | checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834" 1503 | dependencies = [ 1504 | "bitflags", 1505 | ] 1506 | 1507 | [[package]] 1508 | name = "redox_users" 1509 | version = "0.4.6" 1510 | source = "registry+https://github.com/rust-lang/crates.io-index" 1511 | checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" 1512 | dependencies = [ 1513 | "getrandom 0.2.15", 1514 | "libredox", 1515 | "thiserror 1.0.69", 1516 | ] 1517 | 1518 | [[package]] 1519 | name = "ref-cast" 1520 | version = "1.0.23" 1521 | source = "registry+https://github.com/rust-lang/crates.io-index" 1522 | checksum = "ccf0a6f84d5f1d581da8b41b47ec8600871962f2a528115b542b362d4b744931" 1523 | dependencies = [ 1524 | "ref-cast-impl", 1525 | ] 1526 | 1527 | [[package]] 1528 | name = "ref-cast-impl" 1529 | version = "1.0.23" 1530 | source = "registry+https://github.com/rust-lang/crates.io-index" 1531 | checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" 1532 | dependencies = [ 1533 | "proc-macro2", 1534 | "quote", 1535 | "syn", 1536 | ] 1537 | 1538 | [[package]] 1539 | name = "regex" 1540 | version = "1.11.1" 1541 | source = "registry+https://github.com/rust-lang/crates.io-index" 1542 | checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" 1543 | dependencies = [ 1544 | "aho-corasick", 1545 | "memchr", 1546 | "regex-automata", 1547 | "regex-syntax", 1548 | ] 1549 | 1550 | [[package]] 1551 | name = "regex-automata" 1552 | version = "0.4.9" 1553 | source = "registry+https://github.com/rust-lang/crates.io-index" 1554 | checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" 1555 | dependencies = [ 1556 | "aho-corasick", 1557 | "memchr", 1558 | "regex-syntax", 1559 | ] 1560 | 1561 | [[package]] 1562 | name = "regex-syntax" 1563 | version = "0.8.5" 1564 | source = "registry+https://github.com/rust-lang/crates.io-index" 1565 | checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" 1566 | 1567 | [[package]] 1568 | name = "rmp" 1569 | version = "0.8.14" 1570 | source = "registry+https://github.com/rust-lang/crates.io-index" 1571 | checksum = "228ed7c16fa39782c3b3468e974aec2795e9089153cd08ee2e9aefb3613334c4" 1572 | dependencies = [ 1573 | "byteorder", 1574 | "num-traits", 1575 | "paste", 1576 | ] 1577 | 1578 | [[package]] 1579 | name = "rmp-serde" 1580 | version = "1.3.0" 1581 | source = "registry+https://github.com/rust-lang/crates.io-index" 1582 | checksum = "52e599a477cf9840e92f2cde9a7189e67b42c57532749bf90aea6ec10facd4db" 1583 | dependencies = [ 1584 | "byteorder", 1585 | "rmp", 1586 | "serde", 1587 | ] 1588 | 1589 | [[package]] 1590 | name = "rustc-hash" 1591 | version = "1.1.0" 1592 | source = "registry+https://github.com/rust-lang/crates.io-index" 1593 | checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" 1594 | 1595 | [[package]] 1596 | name = "rustix" 1597 | version = "0.38.44" 1598 | source = "registry+https://github.com/rust-lang/crates.io-index" 1599 | checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" 1600 | dependencies = [ 1601 | "bitflags", 1602 | "errno", 1603 | "libc", 1604 | "linux-raw-sys", 1605 | "windows-sys 0.59.0", 1606 | ] 1607 | 1608 | [[package]] 1609 | name = "rustversion" 1610 | version = "1.0.19" 1611 | source = "registry+https://github.com/rust-lang/crates.io-index" 1612 | checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4" 1613 | 1614 | [[package]] 1615 | name = "ryu" 1616 | version = "1.0.19" 1617 | source = "registry+https://github.com/rust-lang/crates.io-index" 1618 | checksum = "6ea1a2d0a644769cc99faa24c3ad26b379b786fe7c36fd3c546254801650e6dd" 1619 | 1620 | [[package]] 1621 | name = "scopeguard" 1622 | version = "1.2.0" 1623 | source = "registry+https://github.com/rust-lang/crates.io-index" 1624 | checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 1625 | 1626 | [[package]] 1627 | name = "semver" 1628 | version = "1.0.25" 1629 | source = "registry+https://github.com/rust-lang/crates.io-index" 1630 | checksum = "f79dfe2d285b0488816f30e700a7438c5a73d816b5b7d3ac72fbc48b0d185e03" 1631 | 1632 | [[package]] 1633 | name = "serde" 1634 | version = "1.0.217" 1635 | source = "registry+https://github.com/rust-lang/crates.io-index" 1636 | checksum = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70" 1637 | dependencies = [ 1638 | "serde_derive", 1639 | ] 1640 | 1641 | [[package]] 1642 | name = "serde_derive" 1643 | version = "1.0.217" 1644 | source = "registry+https://github.com/rust-lang/crates.io-index" 1645 | checksum = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0" 1646 | dependencies = [ 1647 | "proc-macro2", 1648 | "quote", 1649 | "syn", 1650 | ] 1651 | 1652 | [[package]] 1653 | name = "serde_json" 1654 | version = "1.0.138" 1655 | source = "registry+https://github.com/rust-lang/crates.io-index" 1656 | checksum = "d434192e7da787e94a6ea7e9670b26a036d0ca41e0b7efb2676dd32bae872949" 1657 | dependencies = [ 1658 | "itoa", 1659 | "memchr", 1660 | "ryu", 1661 | "serde", 1662 | ] 1663 | 1664 | [[package]] 1665 | name = "serde_repr" 1666 | version = "0.1.19" 1667 | source = "registry+https://github.com/rust-lang/crates.io-index" 1668 | checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" 1669 | dependencies = [ 1670 | "proc-macro2", 1671 | "quote", 1672 | "syn", 1673 | ] 1674 | 1675 | [[package]] 1676 | name = "shlex" 1677 | version = "1.3.0" 1678 | source = "registry+https://github.com/rust-lang/crates.io-index" 1679 | checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" 1680 | 1681 | [[package]] 1682 | name = "signal-hook" 1683 | version = "0.3.17" 1684 | source = "registry+https://github.com/rust-lang/crates.io-index" 1685 | checksum = "8621587d4798caf8eb44879d42e56b9a93ea5dcd315a6487c357130095b62801" 1686 | dependencies = [ 1687 | "libc", 1688 | "signal-hook-registry", 1689 | ] 1690 | 1691 | [[package]] 1692 | name = "signal-hook-mio" 1693 | version = "0.2.4" 1694 | source = "registry+https://github.com/rust-lang/crates.io-index" 1695 | checksum = "34db1a06d485c9142248b7a054f034b349b212551f3dfd19c94d45a754a217cd" 1696 | dependencies = [ 1697 | "libc", 1698 | "mio", 1699 | "signal-hook", 1700 | ] 1701 | 1702 | [[package]] 1703 | name = "signal-hook-registry" 1704 | version = "1.4.2" 1705 | source = "registry+https://github.com/rust-lang/crates.io-index" 1706 | checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" 1707 | dependencies = [ 1708 | "libc", 1709 | ] 1710 | 1711 | [[package]] 1712 | name = "slab" 1713 | version = "0.4.9" 1714 | source = "registry+https://github.com/rust-lang/crates.io-index" 1715 | checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" 1716 | dependencies = [ 1717 | "autocfg", 1718 | ] 1719 | 1720 | [[package]] 1721 | name = "smallvec" 1722 | version = "1.14.0" 1723 | source = "registry+https://github.com/rust-lang/crates.io-index" 1724 | checksum = "7fcf8323ef1faaee30a44a340193b1ac6814fd9b7b4e88e9d4519a3e4abe1cfd" 1725 | 1726 | [[package]] 1727 | name = "static_assertions" 1728 | version = "1.1.0" 1729 | source = "registry+https://github.com/rust-lang/crates.io-index" 1730 | checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" 1731 | 1732 | [[package]] 1733 | name = "strip-ansi-escapes" 1734 | version = "0.2.1" 1735 | source = "registry+https://github.com/rust-lang/crates.io-index" 1736 | checksum = "2a8f8038e7e7969abb3f1b7c2a811225e9296da208539e0f79c5251d6cac0025" 1737 | dependencies = [ 1738 | "vte", 1739 | ] 1740 | 1741 | [[package]] 1742 | name = "strum" 1743 | version = "0.26.3" 1744 | source = "registry+https://github.com/rust-lang/crates.io-index" 1745 | checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" 1746 | 1747 | [[package]] 1748 | name = "strum_macros" 1749 | version = "0.26.4" 1750 | source = "registry+https://github.com/rust-lang/crates.io-index" 1751 | checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" 1752 | dependencies = [ 1753 | "heck", 1754 | "proc-macro2", 1755 | "quote", 1756 | "rustversion", 1757 | "syn", 1758 | ] 1759 | 1760 | [[package]] 1761 | name = "supports-color" 1762 | version = "3.0.2" 1763 | source = "registry+https://github.com/rust-lang/crates.io-index" 1764 | checksum = "c64fc7232dd8d2e4ac5ce4ef302b1d81e0b80d055b9d77c7c4f51f6aa4c867d6" 1765 | dependencies = [ 1766 | "is_ci", 1767 | ] 1768 | 1769 | [[package]] 1770 | name = "supports-hyperlinks" 1771 | version = "3.1.0" 1772 | source = "registry+https://github.com/rust-lang/crates.io-index" 1773 | checksum = "804f44ed3c63152de6a9f90acbea1a110441de43006ea51bcce8f436196a288b" 1774 | 1775 | [[package]] 1776 | name = "supports-unicode" 1777 | version = "3.0.0" 1778 | source = "registry+https://github.com/rust-lang/crates.io-index" 1779 | checksum = "b7401a30af6cb5818bb64852270bb722533397edcfc7344954a38f420819ece2" 1780 | 1781 | [[package]] 1782 | name = "syn" 1783 | version = "2.0.98" 1784 | source = "registry+https://github.com/rust-lang/crates.io-index" 1785 | checksum = "36147f1a48ae0ec2b5b3bc5b537d267457555a10dc06f3dbc8cb11ba3006d3b1" 1786 | dependencies = [ 1787 | "proc-macro2", 1788 | "quote", 1789 | "unicode-ident", 1790 | ] 1791 | 1792 | [[package]] 1793 | name = "sys-locale" 1794 | version = "0.3.2" 1795 | source = "registry+https://github.com/rust-lang/crates.io-index" 1796 | checksum = "8eab9a99a024a169fe8a903cf9d4a3b3601109bcc13bd9e3c6fff259138626c4" 1797 | dependencies = [ 1798 | "libc", 1799 | ] 1800 | 1801 | [[package]] 1802 | name = "sysinfo" 1803 | version = "0.33.1" 1804 | source = "registry+https://github.com/rust-lang/crates.io-index" 1805 | checksum = "4fc858248ea01b66f19d8e8a6d55f41deaf91e9d495246fd01368d99935c6c01" 1806 | dependencies = [ 1807 | "core-foundation-sys", 1808 | "libc", 1809 | "memchr", 1810 | "ntapi", 1811 | "rayon", 1812 | "windows 0.57.0", 1813 | ] 1814 | 1815 | [[package]] 1816 | name = "tauri-winrt-notification" 1817 | version = "0.7.2" 1818 | source = "registry+https://github.com/rust-lang/crates.io-index" 1819 | checksum = "0b1e66e07de489fe43a46678dd0b8df65e0c973909df1b60ba33874e297ba9b9" 1820 | dependencies = [ 1821 | "quick-xml", 1822 | "thiserror 2.0.12", 1823 | "windows 0.61.1", 1824 | "windows-version", 1825 | ] 1826 | 1827 | [[package]] 1828 | name = "tempfile" 1829 | version = "3.16.0" 1830 | source = "registry+https://github.com/rust-lang/crates.io-index" 1831 | checksum = "38c246215d7d24f48ae091a2902398798e05d978b24315d6efbc00ede9a8bb91" 1832 | dependencies = [ 1833 | "cfg-if", 1834 | "fastrand", 1835 | "getrandom 0.3.1", 1836 | "once_cell", 1837 | "rustix", 1838 | "windows-sys 0.59.0", 1839 | ] 1840 | 1841 | [[package]] 1842 | name = "terminal_size" 1843 | version = "0.4.1" 1844 | source = "registry+https://github.com/rust-lang/crates.io-index" 1845 | checksum = "5352447f921fda68cf61b4101566c0bdb5104eff6804d0678e5227580ab6a4e9" 1846 | dependencies = [ 1847 | "rustix", 1848 | "windows-sys 0.59.0", 1849 | ] 1850 | 1851 | [[package]] 1852 | name = "textwrap" 1853 | version = "0.16.1" 1854 | source = "registry+https://github.com/rust-lang/crates.io-index" 1855 | checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9" 1856 | dependencies = [ 1857 | "unicode-linebreak", 1858 | "unicode-width", 1859 | ] 1860 | 1861 | [[package]] 1862 | name = "thiserror" 1863 | version = "1.0.69" 1864 | source = "registry+https://github.com/rust-lang/crates.io-index" 1865 | checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" 1866 | dependencies = [ 1867 | "thiserror-impl 1.0.69", 1868 | ] 1869 | 1870 | [[package]] 1871 | name = "thiserror" 1872 | version = "2.0.12" 1873 | source = "registry+https://github.com/rust-lang/crates.io-index" 1874 | checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" 1875 | dependencies = [ 1876 | "thiserror-impl 2.0.12", 1877 | ] 1878 | 1879 | [[package]] 1880 | name = "thiserror-impl" 1881 | version = "1.0.69" 1882 | source = "registry+https://github.com/rust-lang/crates.io-index" 1883 | checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" 1884 | dependencies = [ 1885 | "proc-macro2", 1886 | "quote", 1887 | "syn", 1888 | ] 1889 | 1890 | [[package]] 1891 | name = "thiserror-impl" 1892 | version = "2.0.12" 1893 | source = "registry+https://github.com/rust-lang/crates.io-index" 1894 | checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" 1895 | dependencies = [ 1896 | "proc-macro2", 1897 | "quote", 1898 | "syn", 1899 | ] 1900 | 1901 | [[package]] 1902 | name = "time" 1903 | version = "0.3.37" 1904 | source = "registry+https://github.com/rust-lang/crates.io-index" 1905 | checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21" 1906 | dependencies = [ 1907 | "deranged", 1908 | "num-conv", 1909 | "powerfmt", 1910 | "serde", 1911 | "time-core", 1912 | ] 1913 | 1914 | [[package]] 1915 | name = "time-core" 1916 | version = "0.1.2" 1917 | source = "registry+https://github.com/rust-lang/crates.io-index" 1918 | checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" 1919 | 1920 | [[package]] 1921 | name = "toml_datetime" 1922 | version = "0.6.8" 1923 | source = "registry+https://github.com/rust-lang/crates.io-index" 1924 | checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41" 1925 | 1926 | [[package]] 1927 | name = "toml_edit" 1928 | version = "0.22.24" 1929 | source = "registry+https://github.com/rust-lang/crates.io-index" 1930 | checksum = "17b4795ff5edd201c7cd6dca065ae59972ce77d1b80fa0a84d94950ece7d1474" 1931 | dependencies = [ 1932 | "indexmap", 1933 | "toml_datetime", 1934 | "winnow", 1935 | ] 1936 | 1937 | [[package]] 1938 | name = "tracing" 1939 | version = "0.1.41" 1940 | source = "registry+https://github.com/rust-lang/crates.io-index" 1941 | checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" 1942 | dependencies = [ 1943 | "pin-project-lite", 1944 | "tracing-attributes", 1945 | "tracing-core", 1946 | ] 1947 | 1948 | [[package]] 1949 | name = "tracing-attributes" 1950 | version = "0.1.28" 1951 | source = "registry+https://github.com/rust-lang/crates.io-index" 1952 | checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" 1953 | dependencies = [ 1954 | "proc-macro2", 1955 | "quote", 1956 | "syn", 1957 | ] 1958 | 1959 | [[package]] 1960 | name = "tracing-core" 1961 | version = "0.1.33" 1962 | source = "registry+https://github.com/rust-lang/crates.io-index" 1963 | checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" 1964 | dependencies = [ 1965 | "once_cell", 1966 | ] 1967 | 1968 | [[package]] 1969 | name = "typeid" 1970 | version = "1.0.2" 1971 | source = "registry+https://github.com/rust-lang/crates.io-index" 1972 | checksum = "0e13db2e0ccd5e14a544e8a246ba2312cd25223f616442d7f2cb0e3db614236e" 1973 | 1974 | [[package]] 1975 | name = "typetag" 1976 | version = "0.2.19" 1977 | source = "registry+https://github.com/rust-lang/crates.io-index" 1978 | checksum = "044fc3365ddd307c297fe0fe7b2e70588cdab4d0f62dc52055ca0d11b174cf0e" 1979 | dependencies = [ 1980 | "erased-serde", 1981 | "inventory", 1982 | "once_cell", 1983 | "serde", 1984 | "typetag-impl", 1985 | ] 1986 | 1987 | [[package]] 1988 | name = "typetag-impl" 1989 | version = "0.2.19" 1990 | source = "registry+https://github.com/rust-lang/crates.io-index" 1991 | checksum = "d9d30226ac9cbd2d1ff775f74e8febdab985dab14fb14aa2582c29a92d5555dc" 1992 | dependencies = [ 1993 | "proc-macro2", 1994 | "quote", 1995 | "syn", 1996 | ] 1997 | 1998 | [[package]] 1999 | name = "uds_windows" 2000 | version = "1.1.0" 2001 | source = "registry+https://github.com/rust-lang/crates.io-index" 2002 | checksum = "89daebc3e6fd160ac4aa9fc8b3bf71e1f74fbf92367ae71fb83a037e8bf164b9" 2003 | dependencies = [ 2004 | "memoffset", 2005 | "tempfile", 2006 | "winapi", 2007 | ] 2008 | 2009 | [[package]] 2010 | name = "unicase" 2011 | version = "2.8.1" 2012 | source = "registry+https://github.com/rust-lang/crates.io-index" 2013 | checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539" 2014 | 2015 | [[package]] 2016 | name = "unicode-ident" 2017 | version = "1.0.16" 2018 | source = "registry+https://github.com/rust-lang/crates.io-index" 2019 | checksum = "a210d160f08b701c8721ba1c726c11662f877ea6b7094007e1ca9a1041945034" 2020 | 2021 | [[package]] 2022 | name = "unicode-linebreak" 2023 | version = "0.1.5" 2024 | source = "registry+https://github.com/rust-lang/crates.io-index" 2025 | checksum = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f" 2026 | 2027 | [[package]] 2028 | name = "unicode-width" 2029 | version = "0.1.14" 2030 | source = "registry+https://github.com/rust-lang/crates.io-index" 2031 | checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" 2032 | 2033 | [[package]] 2034 | name = "vte" 2035 | version = "0.14.1" 2036 | source = "registry+https://github.com/rust-lang/crates.io-index" 2037 | checksum = "231fdcd7ef3037e8330d8e17e61011a2c244126acc0a982f4040ac3f9f0bc077" 2038 | dependencies = [ 2039 | "memchr", 2040 | ] 2041 | 2042 | [[package]] 2043 | name = "wasi" 2044 | version = "0.11.0+wasi-snapshot-preview1" 2045 | source = "registry+https://github.com/rust-lang/crates.io-index" 2046 | checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 2047 | 2048 | [[package]] 2049 | name = "wasi" 2050 | version = "0.13.3+wasi-0.2.2" 2051 | source = "registry+https://github.com/rust-lang/crates.io-index" 2052 | checksum = "26816d2e1a4a36a2940b96c5296ce403917633dff8f3440e9b236ed6f6bacad2" 2053 | dependencies = [ 2054 | "wit-bindgen-rt", 2055 | ] 2056 | 2057 | [[package]] 2058 | name = "wasm-bindgen" 2059 | version = "0.2.100" 2060 | source = "registry+https://github.com/rust-lang/crates.io-index" 2061 | checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" 2062 | dependencies = [ 2063 | "cfg-if", 2064 | "once_cell", 2065 | "rustversion", 2066 | "wasm-bindgen-macro", 2067 | ] 2068 | 2069 | [[package]] 2070 | name = "wasm-bindgen-backend" 2071 | version = "0.2.100" 2072 | source = "registry+https://github.com/rust-lang/crates.io-index" 2073 | checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" 2074 | dependencies = [ 2075 | "bumpalo", 2076 | "log", 2077 | "proc-macro2", 2078 | "quote", 2079 | "syn", 2080 | "wasm-bindgen-shared", 2081 | ] 2082 | 2083 | [[package]] 2084 | name = "wasm-bindgen-macro" 2085 | version = "0.2.100" 2086 | source = "registry+https://github.com/rust-lang/crates.io-index" 2087 | checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" 2088 | dependencies = [ 2089 | "quote", 2090 | "wasm-bindgen-macro-support", 2091 | ] 2092 | 2093 | [[package]] 2094 | name = "wasm-bindgen-macro-support" 2095 | version = "0.2.100" 2096 | source = "registry+https://github.com/rust-lang/crates.io-index" 2097 | checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" 2098 | dependencies = [ 2099 | "proc-macro2", 2100 | "quote", 2101 | "syn", 2102 | "wasm-bindgen-backend", 2103 | "wasm-bindgen-shared", 2104 | ] 2105 | 2106 | [[package]] 2107 | name = "wasm-bindgen-shared" 2108 | version = "0.2.100" 2109 | source = "registry+https://github.com/rust-lang/crates.io-index" 2110 | checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" 2111 | dependencies = [ 2112 | "unicode-ident", 2113 | ] 2114 | 2115 | [[package]] 2116 | name = "web-time" 2117 | version = "1.1.0" 2118 | source = "registry+https://github.com/rust-lang/crates.io-index" 2119 | checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" 2120 | dependencies = [ 2121 | "js-sys", 2122 | "wasm-bindgen", 2123 | ] 2124 | 2125 | [[package]] 2126 | name = "widestring" 2127 | version = "1.1.0" 2128 | source = "registry+https://github.com/rust-lang/crates.io-index" 2129 | checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311" 2130 | 2131 | [[package]] 2132 | name = "winapi" 2133 | version = "0.3.9" 2134 | source = "registry+https://github.com/rust-lang/crates.io-index" 2135 | checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 2136 | dependencies = [ 2137 | "winapi-i686-pc-windows-gnu", 2138 | "winapi-x86_64-pc-windows-gnu", 2139 | ] 2140 | 2141 | [[package]] 2142 | name = "winapi-i686-pc-windows-gnu" 2143 | version = "0.4.0" 2144 | source = "registry+https://github.com/rust-lang/crates.io-index" 2145 | checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 2146 | 2147 | [[package]] 2148 | name = "winapi-x86_64-pc-windows-gnu" 2149 | version = "0.4.0" 2150 | source = "registry+https://github.com/rust-lang/crates.io-index" 2151 | checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 2152 | 2153 | [[package]] 2154 | name = "windows" 2155 | version = "0.56.0" 2156 | source = "registry+https://github.com/rust-lang/crates.io-index" 2157 | checksum = "1de69df01bdf1ead2f4ac895dc77c9351aefff65b2f3db429a343f9cbf05e132" 2158 | dependencies = [ 2159 | "windows-core 0.56.0", 2160 | "windows-targets 0.52.6", 2161 | ] 2162 | 2163 | [[package]] 2164 | name = "windows" 2165 | version = "0.57.0" 2166 | source = "registry+https://github.com/rust-lang/crates.io-index" 2167 | checksum = "12342cb4d8e3b046f3d80effd474a7a02447231330ef77d71daa6fbc40681143" 2168 | dependencies = [ 2169 | "windows-core 0.57.0", 2170 | "windows-targets 0.52.6", 2171 | ] 2172 | 2173 | [[package]] 2174 | name = "windows" 2175 | version = "0.61.1" 2176 | source = "registry+https://github.com/rust-lang/crates.io-index" 2177 | checksum = "c5ee8f3d025738cb02bad7868bbb5f8a6327501e870bf51f1b455b0a2454a419" 2178 | dependencies = [ 2179 | "windows-collections", 2180 | "windows-core 0.61.0", 2181 | "windows-future", 2182 | "windows-link", 2183 | "windows-numerics", 2184 | ] 2185 | 2186 | [[package]] 2187 | name = "windows-collections" 2188 | version = "0.2.0" 2189 | source = "registry+https://github.com/rust-lang/crates.io-index" 2190 | checksum = "3beeceb5e5cfd9eb1d76b381630e82c4241ccd0d27f1a39ed41b2760b255c5e8" 2191 | dependencies = [ 2192 | "windows-core 0.61.0", 2193 | ] 2194 | 2195 | [[package]] 2196 | name = "windows-core" 2197 | version = "0.52.0" 2198 | source = "registry+https://github.com/rust-lang/crates.io-index" 2199 | checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" 2200 | dependencies = [ 2201 | "windows-targets 0.52.6", 2202 | ] 2203 | 2204 | [[package]] 2205 | name = "windows-core" 2206 | version = "0.56.0" 2207 | source = "registry+https://github.com/rust-lang/crates.io-index" 2208 | checksum = "4698e52ed2d08f8658ab0c39512a7c00ee5fe2688c65f8c0a4f06750d729f2a6" 2209 | dependencies = [ 2210 | "windows-implement 0.56.0", 2211 | "windows-interface 0.56.0", 2212 | "windows-result 0.1.2", 2213 | "windows-targets 0.52.6", 2214 | ] 2215 | 2216 | [[package]] 2217 | name = "windows-core" 2218 | version = "0.57.0" 2219 | source = "registry+https://github.com/rust-lang/crates.io-index" 2220 | checksum = "d2ed2439a290666cd67ecce2b0ffaad89c2a56b976b736e6ece670297897832d" 2221 | dependencies = [ 2222 | "windows-implement 0.57.0", 2223 | "windows-interface 0.57.0", 2224 | "windows-result 0.1.2", 2225 | "windows-targets 0.52.6", 2226 | ] 2227 | 2228 | [[package]] 2229 | name = "windows-core" 2230 | version = "0.61.0" 2231 | source = "registry+https://github.com/rust-lang/crates.io-index" 2232 | checksum = "4763c1de310c86d75a878046489e2e5ba02c649d185f21c67d4cf8a56d098980" 2233 | dependencies = [ 2234 | "windows-implement 0.60.0", 2235 | "windows-interface 0.59.1", 2236 | "windows-link", 2237 | "windows-result 0.3.2", 2238 | "windows-strings", 2239 | ] 2240 | 2241 | [[package]] 2242 | name = "windows-future" 2243 | version = "0.2.0" 2244 | source = "registry+https://github.com/rust-lang/crates.io-index" 2245 | checksum = "7a1d6bbefcb7b60acd19828e1bc965da6fcf18a7e39490c5f8be71e54a19ba32" 2246 | dependencies = [ 2247 | "windows-core 0.61.0", 2248 | "windows-link", 2249 | ] 2250 | 2251 | [[package]] 2252 | name = "windows-implement" 2253 | version = "0.56.0" 2254 | source = "registry+https://github.com/rust-lang/crates.io-index" 2255 | checksum = "f6fc35f58ecd95a9b71c4f2329b911016e6bec66b3f2e6a4aad86bd2e99e2f9b" 2256 | dependencies = [ 2257 | "proc-macro2", 2258 | "quote", 2259 | "syn", 2260 | ] 2261 | 2262 | [[package]] 2263 | name = "windows-implement" 2264 | version = "0.57.0" 2265 | source = "registry+https://github.com/rust-lang/crates.io-index" 2266 | checksum = "9107ddc059d5b6fbfbffdfa7a7fe3e22a226def0b2608f72e9d552763d3e1ad7" 2267 | dependencies = [ 2268 | "proc-macro2", 2269 | "quote", 2270 | "syn", 2271 | ] 2272 | 2273 | [[package]] 2274 | name = "windows-implement" 2275 | version = "0.60.0" 2276 | source = "registry+https://github.com/rust-lang/crates.io-index" 2277 | checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" 2278 | dependencies = [ 2279 | "proc-macro2", 2280 | "quote", 2281 | "syn", 2282 | ] 2283 | 2284 | [[package]] 2285 | name = "windows-interface" 2286 | version = "0.56.0" 2287 | source = "registry+https://github.com/rust-lang/crates.io-index" 2288 | checksum = "08990546bf4edef8f431fa6326e032865f27138718c587dc21bc0265bbcb57cc" 2289 | dependencies = [ 2290 | "proc-macro2", 2291 | "quote", 2292 | "syn", 2293 | ] 2294 | 2295 | [[package]] 2296 | name = "windows-interface" 2297 | version = "0.57.0" 2298 | source = "registry+https://github.com/rust-lang/crates.io-index" 2299 | checksum = "29bee4b38ea3cde66011baa44dba677c432a78593e202392d1e9070cf2a7fca7" 2300 | dependencies = [ 2301 | "proc-macro2", 2302 | "quote", 2303 | "syn", 2304 | ] 2305 | 2306 | [[package]] 2307 | name = "windows-interface" 2308 | version = "0.59.1" 2309 | source = "registry+https://github.com/rust-lang/crates.io-index" 2310 | checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" 2311 | dependencies = [ 2312 | "proc-macro2", 2313 | "quote", 2314 | "syn", 2315 | ] 2316 | 2317 | [[package]] 2318 | name = "windows-link" 2319 | version = "0.1.1" 2320 | source = "registry+https://github.com/rust-lang/crates.io-index" 2321 | checksum = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38" 2322 | 2323 | [[package]] 2324 | name = "windows-numerics" 2325 | version = "0.2.0" 2326 | source = "registry+https://github.com/rust-lang/crates.io-index" 2327 | checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1" 2328 | dependencies = [ 2329 | "windows-core 0.61.0", 2330 | "windows-link", 2331 | ] 2332 | 2333 | [[package]] 2334 | name = "windows-result" 2335 | version = "0.1.2" 2336 | source = "registry+https://github.com/rust-lang/crates.io-index" 2337 | checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8" 2338 | dependencies = [ 2339 | "windows-targets 0.52.6", 2340 | ] 2341 | 2342 | [[package]] 2343 | name = "windows-result" 2344 | version = "0.3.2" 2345 | source = "registry+https://github.com/rust-lang/crates.io-index" 2346 | checksum = "c64fd11a4fd95df68efcfee5f44a294fe71b8bc6a91993e2791938abcc712252" 2347 | dependencies = [ 2348 | "windows-link", 2349 | ] 2350 | 2351 | [[package]] 2352 | name = "windows-strings" 2353 | version = "0.4.0" 2354 | source = "registry+https://github.com/rust-lang/crates.io-index" 2355 | checksum = "7a2ba9642430ee452d5a7aa78d72907ebe8cfda358e8cb7918a2050581322f97" 2356 | dependencies = [ 2357 | "windows-link", 2358 | ] 2359 | 2360 | [[package]] 2361 | name = "windows-sys" 2362 | version = "0.48.0" 2363 | source = "registry+https://github.com/rust-lang/crates.io-index" 2364 | checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" 2365 | dependencies = [ 2366 | "windows-targets 0.48.5", 2367 | ] 2368 | 2369 | [[package]] 2370 | name = "windows-sys" 2371 | version = "0.52.0" 2372 | source = "registry+https://github.com/rust-lang/crates.io-index" 2373 | checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" 2374 | dependencies = [ 2375 | "windows-targets 0.52.6", 2376 | ] 2377 | 2378 | [[package]] 2379 | name = "windows-sys" 2380 | version = "0.59.0" 2381 | source = "registry+https://github.com/rust-lang/crates.io-index" 2382 | checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" 2383 | dependencies = [ 2384 | "windows-targets 0.52.6", 2385 | ] 2386 | 2387 | [[package]] 2388 | name = "windows-targets" 2389 | version = "0.48.5" 2390 | source = "registry+https://github.com/rust-lang/crates.io-index" 2391 | checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" 2392 | dependencies = [ 2393 | "windows_aarch64_gnullvm 0.48.5", 2394 | "windows_aarch64_msvc 0.48.5", 2395 | "windows_i686_gnu 0.48.5", 2396 | "windows_i686_msvc 0.48.5", 2397 | "windows_x86_64_gnu 0.48.5", 2398 | "windows_x86_64_gnullvm 0.48.5", 2399 | "windows_x86_64_msvc 0.48.5", 2400 | ] 2401 | 2402 | [[package]] 2403 | name = "windows-targets" 2404 | version = "0.52.6" 2405 | source = "registry+https://github.com/rust-lang/crates.io-index" 2406 | checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" 2407 | dependencies = [ 2408 | "windows_aarch64_gnullvm 0.52.6", 2409 | "windows_aarch64_msvc 0.52.6", 2410 | "windows_i686_gnu 0.52.6", 2411 | "windows_i686_gnullvm 0.52.6", 2412 | "windows_i686_msvc 0.52.6", 2413 | "windows_x86_64_gnu 0.52.6", 2414 | "windows_x86_64_gnullvm 0.52.6", 2415 | "windows_x86_64_msvc 0.52.6", 2416 | ] 2417 | 2418 | [[package]] 2419 | name = "windows-targets" 2420 | version = "0.53.0" 2421 | source = "registry+https://github.com/rust-lang/crates.io-index" 2422 | checksum = "b1e4c7e8ceaaf9cb7d7507c974735728ab453b67ef8f18febdd7c11fe59dca8b" 2423 | dependencies = [ 2424 | "windows_aarch64_gnullvm 0.53.0", 2425 | "windows_aarch64_msvc 0.53.0", 2426 | "windows_i686_gnu 0.53.0", 2427 | "windows_i686_gnullvm 0.53.0", 2428 | "windows_i686_msvc 0.53.0", 2429 | "windows_x86_64_gnu 0.53.0", 2430 | "windows_x86_64_gnullvm 0.53.0", 2431 | "windows_x86_64_msvc 0.53.0", 2432 | ] 2433 | 2434 | [[package]] 2435 | name = "windows-version" 2436 | version = "0.1.2" 2437 | source = "registry+https://github.com/rust-lang/crates.io-index" 2438 | checksum = "c12476c23a74725c539b24eae8bfc0dac4029c39cdb561d9f23616accd4ae26d" 2439 | dependencies = [ 2440 | "windows-targets 0.53.0", 2441 | ] 2442 | 2443 | [[package]] 2444 | name = "windows_aarch64_gnullvm" 2445 | version = "0.48.5" 2446 | source = "registry+https://github.com/rust-lang/crates.io-index" 2447 | checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" 2448 | 2449 | [[package]] 2450 | name = "windows_aarch64_gnullvm" 2451 | version = "0.52.6" 2452 | source = "registry+https://github.com/rust-lang/crates.io-index" 2453 | checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" 2454 | 2455 | [[package]] 2456 | name = "windows_aarch64_gnullvm" 2457 | version = "0.53.0" 2458 | source = "registry+https://github.com/rust-lang/crates.io-index" 2459 | checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" 2460 | 2461 | [[package]] 2462 | name = "windows_aarch64_msvc" 2463 | version = "0.48.5" 2464 | source = "registry+https://github.com/rust-lang/crates.io-index" 2465 | checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" 2466 | 2467 | [[package]] 2468 | name = "windows_aarch64_msvc" 2469 | version = "0.52.6" 2470 | source = "registry+https://github.com/rust-lang/crates.io-index" 2471 | checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" 2472 | 2473 | [[package]] 2474 | name = "windows_aarch64_msvc" 2475 | version = "0.53.0" 2476 | source = "registry+https://github.com/rust-lang/crates.io-index" 2477 | checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" 2478 | 2479 | [[package]] 2480 | name = "windows_i686_gnu" 2481 | version = "0.48.5" 2482 | source = "registry+https://github.com/rust-lang/crates.io-index" 2483 | checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" 2484 | 2485 | [[package]] 2486 | name = "windows_i686_gnu" 2487 | version = "0.52.6" 2488 | source = "registry+https://github.com/rust-lang/crates.io-index" 2489 | checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" 2490 | 2491 | [[package]] 2492 | name = "windows_i686_gnu" 2493 | version = "0.53.0" 2494 | source = "registry+https://github.com/rust-lang/crates.io-index" 2495 | checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3" 2496 | 2497 | [[package]] 2498 | name = "windows_i686_gnullvm" 2499 | version = "0.52.6" 2500 | source = "registry+https://github.com/rust-lang/crates.io-index" 2501 | checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" 2502 | 2503 | [[package]] 2504 | name = "windows_i686_gnullvm" 2505 | version = "0.53.0" 2506 | source = "registry+https://github.com/rust-lang/crates.io-index" 2507 | checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" 2508 | 2509 | [[package]] 2510 | name = "windows_i686_msvc" 2511 | version = "0.48.5" 2512 | source = "registry+https://github.com/rust-lang/crates.io-index" 2513 | checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" 2514 | 2515 | [[package]] 2516 | name = "windows_i686_msvc" 2517 | version = "0.52.6" 2518 | source = "registry+https://github.com/rust-lang/crates.io-index" 2519 | checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" 2520 | 2521 | [[package]] 2522 | name = "windows_i686_msvc" 2523 | version = "0.53.0" 2524 | source = "registry+https://github.com/rust-lang/crates.io-index" 2525 | checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" 2526 | 2527 | [[package]] 2528 | name = "windows_x86_64_gnu" 2529 | version = "0.48.5" 2530 | source = "registry+https://github.com/rust-lang/crates.io-index" 2531 | checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" 2532 | 2533 | [[package]] 2534 | name = "windows_x86_64_gnu" 2535 | version = "0.52.6" 2536 | source = "registry+https://github.com/rust-lang/crates.io-index" 2537 | checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" 2538 | 2539 | [[package]] 2540 | name = "windows_x86_64_gnu" 2541 | version = "0.53.0" 2542 | source = "registry+https://github.com/rust-lang/crates.io-index" 2543 | checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" 2544 | 2545 | [[package]] 2546 | name = "windows_x86_64_gnullvm" 2547 | version = "0.48.5" 2548 | source = "registry+https://github.com/rust-lang/crates.io-index" 2549 | checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" 2550 | 2551 | [[package]] 2552 | name = "windows_x86_64_gnullvm" 2553 | version = "0.52.6" 2554 | source = "registry+https://github.com/rust-lang/crates.io-index" 2555 | checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" 2556 | 2557 | [[package]] 2558 | name = "windows_x86_64_gnullvm" 2559 | version = "0.53.0" 2560 | source = "registry+https://github.com/rust-lang/crates.io-index" 2561 | checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" 2562 | 2563 | [[package]] 2564 | name = "windows_x86_64_msvc" 2565 | version = "0.48.5" 2566 | source = "registry+https://github.com/rust-lang/crates.io-index" 2567 | checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" 2568 | 2569 | [[package]] 2570 | name = "windows_x86_64_msvc" 2571 | version = "0.52.6" 2572 | source = "registry+https://github.com/rust-lang/crates.io-index" 2573 | checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" 2574 | 2575 | [[package]] 2576 | name = "windows_x86_64_msvc" 2577 | version = "0.53.0" 2578 | source = "registry+https://github.com/rust-lang/crates.io-index" 2579 | checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486" 2580 | 2581 | [[package]] 2582 | name = "winnow" 2583 | version = "0.7.2" 2584 | source = "registry+https://github.com/rust-lang/crates.io-index" 2585 | checksum = "59690dea168f2198d1a3b0cac23b8063efcd11012f10ae4698f284808c8ef603" 2586 | dependencies = [ 2587 | "memchr", 2588 | ] 2589 | 2590 | [[package]] 2591 | name = "wit-bindgen-rt" 2592 | version = "0.33.0" 2593 | source = "registry+https://github.com/rust-lang/crates.io-index" 2594 | checksum = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c" 2595 | dependencies = [ 2596 | "bitflags", 2597 | ] 2598 | 2599 | [[package]] 2600 | name = "xdg-home" 2601 | version = "1.3.0" 2602 | source = "registry+https://github.com/rust-lang/crates.io-index" 2603 | checksum = "ec1cdab258fb55c0da61328dc52c8764709b249011b2cad0454c72f0bf10a1f6" 2604 | dependencies = [ 2605 | "libc", 2606 | "windows-sys 0.59.0", 2607 | ] 2608 | 2609 | [[package]] 2610 | name = "zbus" 2611 | version = "5.5.0" 2612 | source = "registry+https://github.com/rust-lang/crates.io-index" 2613 | checksum = "59c333f648ea1b647bc95dc1d34807c8e25ed7a6feff3394034dc4776054b236" 2614 | dependencies = [ 2615 | "async-broadcast", 2616 | "async-executor", 2617 | "async-fs", 2618 | "async-io", 2619 | "async-lock", 2620 | "async-process", 2621 | "async-recursion", 2622 | "async-task", 2623 | "async-trait", 2624 | "blocking", 2625 | "enumflags2", 2626 | "event-listener", 2627 | "futures-core", 2628 | "futures-lite", 2629 | "hex", 2630 | "nix", 2631 | "ordered-stream", 2632 | "serde", 2633 | "serde_repr", 2634 | "static_assertions", 2635 | "tracing", 2636 | "uds_windows", 2637 | "windows-sys 0.59.0", 2638 | "winnow", 2639 | "xdg-home", 2640 | "zbus_macros", 2641 | "zbus_names", 2642 | "zvariant", 2643 | ] 2644 | 2645 | [[package]] 2646 | name = "zbus_macros" 2647 | version = "5.5.0" 2648 | source = "registry+https://github.com/rust-lang/crates.io-index" 2649 | checksum = "f325ad10eb0d0a3eb060203494c3b7ec3162a01a59db75d2deee100339709fc0" 2650 | dependencies = [ 2651 | "proc-macro-crate", 2652 | "proc-macro2", 2653 | "quote", 2654 | "syn", 2655 | "zbus_names", 2656 | "zvariant", 2657 | "zvariant_utils", 2658 | ] 2659 | 2660 | [[package]] 2661 | name = "zbus_names" 2662 | version = "4.2.0" 2663 | source = "registry+https://github.com/rust-lang/crates.io-index" 2664 | checksum = "7be68e64bf6ce8db94f63e72f0c7eb9a60d733f7e0499e628dfab0f84d6bcb97" 2665 | dependencies = [ 2666 | "serde", 2667 | "static_assertions", 2668 | "winnow", 2669 | "zvariant", 2670 | ] 2671 | 2672 | [[package]] 2673 | name = "zvariant" 2674 | version = "5.4.0" 2675 | source = "registry+https://github.com/rust-lang/crates.io-index" 2676 | checksum = "b2df9ee044893fcffbdc25de30546edef3e32341466811ca18421e3cd6c5a3ac" 2677 | dependencies = [ 2678 | "endi", 2679 | "enumflags2", 2680 | "serde", 2681 | "static_assertions", 2682 | "winnow", 2683 | "zvariant_derive", 2684 | "zvariant_utils", 2685 | ] 2686 | 2687 | [[package]] 2688 | name = "zvariant_derive" 2689 | version = "5.4.0" 2690 | source = "registry+https://github.com/rust-lang/crates.io-index" 2691 | checksum = "74170caa85b8b84cc4935f2d56a57c7a15ea6185ccdd7eadb57e6edd90f94b2f" 2692 | dependencies = [ 2693 | "proc-macro-crate", 2694 | "proc-macro2", 2695 | "quote", 2696 | "syn", 2697 | "zvariant_utils", 2698 | ] 2699 | 2700 | [[package]] 2701 | name = "zvariant_utils" 2702 | version = "3.2.0" 2703 | source = "registry+https://github.com/rust-lang/crates.io-index" 2704 | checksum = "e16edfee43e5d7b553b77872d99bc36afdda75c223ca7ad5e3fbecd82ca5fc34" 2705 | dependencies = [ 2706 | "proc-macro2", 2707 | "quote", 2708 | "serde", 2709 | "static_assertions", 2710 | "syn", 2711 | "winnow", 2712 | ] 2713 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- 1 | [dependencies] 2 | nu-plugin = "0.104.0" 3 | 4 | [dependencies.notify-rust] 5 | version = "4.11.7" 6 | 7 | [dependencies.nu-protocol] 8 | features = ["plugin"] 9 | version = "0.104.0" 10 | 11 | [package] 12 | authors = ["Motalleb Fallahnezhad "] 13 | description = "A nushell plugin to send desktop notifications" 14 | edition = "2021" 15 | homepage = "https://github.com/FMotalleb/nu_plugin_desktop_notifications" 16 | keywords = ["nushell", "desktop", "notification", "plugin"] 17 | license = "MIT" 18 | name = "nu_plugin_desktop_notifications" 19 | readme = "README.md" 20 | repository = "https://github.com/FMotalleb/nu_plugin_desktop_notifications" 21 | version = "1.2.11" 22 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2023 "Motalleb Fallahnezhad" 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 🔔 nu_plugin_desktop_notifications 2 | 3 | A [Nushell](https://www.nushell.sh/) plugin for sending desktop notifications using [notify-rust](https://github.com/hoodie/notify-rust). 4 | 5 | --- 6 | 7 | ## ✨ Features 8 | 9 | - **Send notifications** with custom title, body, icon, and app name. 10 | - **Supports macOS, Windows, and Linux (XDG Desktop)**. 11 | - **Configurable timeout** (for macOS and XDG desktops). 12 | - **Error handling** with optional crash reporting. 13 | 14 | --- 15 | 16 | ## 📌 Usage 17 | 18 | ### **Sending a Notification** 19 | 20 | ```bash 21 | notify -t "Test notification body" --summary "Test title" 22 | ``` 23 | 24 | ### **Flags** 25 | 26 | - `-h, --help` → Show help message. 27 | - `-s, --summary ` → Title of the notification. 28 | - `-t, --body ` → Body message of the notification. 29 | - `--subtitle ` → Subtitle (macOS & Windows only). 30 | - `-a, --app-name ` → App name for the notification. 31 | - `-i, --icon ` → Path to an icon for the notification. 32 | - `--timeout ` → Duration before the notification disappears _(macOS & XDG Desktop only)_. Defaults to system settings. 33 | - `--crash-on-error ` → Return an error if the notification fails. 34 | 35 | --- 36 | 37 | ## 🎯 Example: Notify on Task Completion 38 | 39 | Send a notification after a task completes, displaying the elapsed time: 40 | 41 | ![image](https://github.com/FMotalleb/nu_plugin_desktop_notifications/assets/30149519/a4fbc2a9-6537-4d18-8d98-e55ebcd6b0bd) 42 | 43 | ```bash 44 | def "notify on done" [ 45 | task: closure 46 | ] { 47 | let start = date now 48 | let result = do $task 49 | let end = date now 50 | let total = $end - $start | format duration sec 51 | let body = $"Task completed in ($total)" 52 | notify -s "Task Finished" -t $body 53 | return $result 54 | } 55 | 56 | notify on done { port scan 8.8.8.8 53 } 57 | ``` 58 | 59 | --- 60 | 61 | ## 🔧 Installation 62 | 63 | ### 🚀 Recommended: Using [nupm](https://github.com/nushell/nupm) 64 | 65 | ```bash 66 | git clone https://github.com/FMotalleb/nu_plugin_desktop_notifications.git 67 | nupm install --path nu_plugin_desktop_notifications -f 68 | ``` 69 | 70 | ### 🛠️ Manual Compilation 71 | 72 | ```bash 73 | git clone https://github.com/FMotalleb/nu_plugin_desktop_notifications.git 74 | cd nu_plugin_desktop_notifications 75 | cargo build -r 76 | register target/release/nu_plugin_desktop_notifications 77 | ``` 78 | 79 | ### 📦 Install via Cargo (using git) 80 | 81 | ```bash 82 | cargo install --git https://github.com/FMotalleb/nu_plugin_desktop_notifications.git 83 | register ~/.cargo/bin/nu_plugin_desktop_notifications 84 | ``` 85 | 86 | ### 📦 Install via Cargo (crates.io) _Not Recommended_ 87 | > 88 | > _Since I live in Iran and crates.io often restricts package updates, the version there might be outdated._ 89 | 90 | ```bash 91 | cargo install nu_plugin_desktop_notifications 92 | register ~/.cargo/bin/nu_plugin_desktop_notifications 93 | ``` 94 | -------------------------------------------------------------------------------- /build.nu: -------------------------------------------------------------------------------- 1 | use std log 2 | 3 | 4 | def main [package_file: path = nupm.nuon] { 5 | let repo_root = (ls -f $package_file | first | get name | path dirname) 6 | let install_root = $env.NUPM_HOME | path join "plugins" 7 | 8 | let name = open ($repo_root | path join "Cargo.toml") | get package.name 9 | let features = [] 10 | 11 | let cmd = $"cargo install --path ($repo_root) --root ($install_root) --features=($features | str join ",")" 12 | log info $"building plugin using: (ansi blue)($cmd)(ansi reset)" 13 | nu -c $cmd 14 | let ext: string = if ($nu.os-info.name == 'windows') { '.exe' } else { '' } 15 | plugin add $"($install_root | path join "bin" $name)($ext)" 16 | log info "do not forget to restart Nushell for the plugin to be fully available!" 17 | } 18 | -------------------------------------------------------------------------------- /nupm.nuon: -------------------------------------------------------------------------------- 1 | { 2 | "name": "nu_plugin_desktop_notifications", 3 | "version": "1.2.11", 4 | "description": "A nushell plugin to send desktop notifications", 5 | "license": "LICENSE", 6 | "type": "custom" 7 | } -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- 1 | use nu_plugin::{serve_plugin, Plugin}; 2 | 3 | use crate::notify::NotifyCommand; 4 | mod notify; 5 | pub struct NotifyPlugin; 6 | 7 | impl Plugin for NotifyPlugin { 8 | fn commands(&self) -> Vec>> { 9 | vec![Box::new(NotifyCommand::new())] 10 | } 11 | 12 | fn version(&self) -> String { 13 | env!("CARGO_PKG_VERSION").into() 14 | } 15 | } 16 | 17 | fn main() { 18 | serve_plugin(&mut NotifyPlugin {}, nu_plugin::MsgPackSerializer {}) 19 | } 20 | -------------------------------------------------------------------------------- /src/notify.rs: -------------------------------------------------------------------------------- 1 | use std::time::Duration; 2 | 3 | use notify_rust::{Notification, Timeout}; 4 | use nu_plugin::{EngineInterface, EvaluatedCall, SimplePluginCommand}; 5 | use nu_protocol::{Category, LabeledError, Signature, SyntaxShape, Value}; 6 | 7 | use crate::NotifyPlugin; 8 | 9 | #[derive(Default)] 10 | pub struct NotifyCommand; 11 | impl NotifyCommand { 12 | pub(crate) fn new() -> NotifyCommand { 13 | NotifyCommand {} 14 | } 15 | pub fn load_string(call: &EvaluatedCall, name: &str) -> Option { 16 | let value = call.get_flag_value(name); 17 | match value { 18 | Some(Value::String { val, .. }) => Some(val), 19 | _ => None, 20 | } 21 | } 22 | } 23 | 24 | impl SimplePluginCommand for NotifyCommand { 25 | type Plugin = NotifyPlugin; 26 | 27 | fn name(&self) -> &str { 28 | "notify" 29 | } 30 | 31 | fn signature(&self) -> Signature { 32 | Signature::build("notify") 33 | .named( 34 | "summary", 35 | SyntaxShape::String, 36 | "summary of the notification", 37 | Some('s'), 38 | ) 39 | .named( 40 | "body", 41 | SyntaxShape::String, 42 | "body of the notification", 43 | Some('t'), 44 | ) 45 | .named( 46 | "subtitle", 47 | SyntaxShape::String, 48 | "subtitle of the notification [macOS only]", 49 | None, 50 | ) 51 | .named( 52 | "app-name", 53 | SyntaxShape::String, 54 | "app name of the notification", 55 | Some('a'), 56 | ) 57 | .named( 58 | "icon", 59 | SyntaxShape::Filepath, 60 | "path to the icon of the notification", 61 | Some('i'), 62 | ) 63 | .named( 64 | "timeout", 65 | SyntaxShape::Duration, 66 | "duration of the notification [XDG Desktops only] (defaults to system default)", 67 | None, 68 | ) 69 | .named( 70 | "crash-on-error", 71 | SyntaxShape::Filepath, 72 | "returns notification error if encountered", 73 | None, 74 | ) 75 | .category(Category::Experimental) 76 | } 77 | 78 | fn description(&self) -> &str { 79 | "Send a desktop notification with customizable parameters." 80 | } 81 | 82 | fn run( 83 | &self, 84 | _plugin: &Self::Plugin, 85 | _engine: &EngineInterface, 86 | call: &EvaluatedCall, 87 | input: &Value, 88 | ) -> Result { 89 | let mut notification = Notification::new(); 90 | if let Some(summary) = Self::load_string(call, "summary") { 91 | notification.summary(&summary); 92 | } 93 | if let Some(body) = Self::load_string(call, "body") { 94 | notification.body(&body); 95 | } 96 | if let Some(subtitle) = Self::load_string(call, "subtitle") { 97 | notification.subtitle(&subtitle); 98 | } 99 | if let Some(app_name) = Self::load_string(call, "app-name") { 100 | notification.appname(&app_name); 101 | } 102 | 103 | if let Some(icon) = Self::load_string(call, "icon") { 104 | notification.icon(&icon); 105 | } else { 106 | notification.auto_icon(); 107 | } 108 | 109 | if let Some(duration_value) = call.get_flag_value("timeout") { 110 | match duration_value.as_duration() { 111 | Ok(timeout) => { 112 | if let Ok(nanos) = timeout.try_into() { 113 | let duration = Timeout::from(Duration::from_nanos(nanos)); 114 | notification.timeout(duration); 115 | } 116 | } 117 | Err(_) => {} 118 | } 119 | } 120 | 121 | match notification.show() { 122 | Ok(_) => Ok(input.clone()), 123 | Err(err) => { 124 | if let Ok(true) = call.has_flag("crash-on-error") { 125 | return Err(LabeledError::new(err.to_string()) 126 | .with_label("Notification Exception", call.head)); 127 | } 128 | Ok(input.clone()) 129 | } 130 | } 131 | } 132 | } 133 | --------------------------------------------------------------------------------