Nushell plugin for interacting with D-Bus
0
fork

Configure Feed

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

New Nushell

Ben C 2ddb2580 363d0d4a

+216 -168
+9 -10
.github/workflows/rust.yml
··· 2 2 3 3 on: 4 4 push: 5 - branches: [ "main" ] 5 + branches: ["main"] 6 6 pull_request: 7 - branches: [ "main" ] 7 + branches: ["main"] 8 8 9 9 env: 10 10 CARGO_TERM_COLOR: always 11 11 12 12 jobs: 13 13 build: 14 - 15 14 runs-on: ubuntu-latest 16 15 17 16 steps: 18 - - uses: actions/checkout@v3 19 - - name: Install dependencies 20 - run: sudo apt-get install libdbus-1-dev 21 - - name: Build 22 - run: cargo build --verbose 23 - - name: Run tests 24 - run: cargo test --verbose 17 + - uses: actions/checkout@v3 18 + - name: Install dependencies 19 + run: sudo apt-get install libdbus-1-dev 20 + - name: Build 21 + run: cargo build --verbose 22 + - name: Run tests 23 + run: cargo test --verbose
+174 -126
Cargo.lock
··· 100 100 101 101 [[package]] 102 102 name = "bitflags" 103 - version = "2.8.0" 103 + version = "2.9.0" 104 104 source = "registry+https://github.com/rust-lang/crates.io-index" 105 - checksum = "8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36" 105 + checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd" 106 106 107 107 [[package]] 108 108 name = "brotli" ··· 139 139 140 140 [[package]] 141 141 name = "bytes" 142 - version = "1.10.0" 142 + version = "1.10.1" 143 143 source = "registry+https://github.com/rust-lang/crates.io-index" 144 - checksum = "f61dac84819c6588b558454b194026eb1f09c293b9036ae9b159e74e73ab6cf9" 144 + checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" 145 145 146 146 [[package]] 147 147 name = "cc" 148 - version = "1.2.13" 148 + version = "1.2.17" 149 149 source = "registry+https://github.com/rust-lang/crates.io-index" 150 - checksum = "c7777341816418c02e033934a09f20dc0ccaf65a5201ef8a450ae0105a573fda" 150 + checksum = "1fcb57c740ae1daf453ae85f16e37396f672b039e00d9d866e07ddb24e328e3a" 151 151 dependencies = [ 152 152 "shlex", 153 153 ] ··· 175 175 176 176 [[package]] 177 177 name = "chrono" 178 - version = "0.4.39" 178 + version = "0.4.40" 179 179 source = "registry+https://github.com/rust-lang/crates.io-index" 180 - checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825" 180 + checksum = "1a7964611d71df112cb1730f2ee67324fcf4d0fc6606acbbe9bfe06df124637c" 181 181 dependencies = [ 182 182 "android-tzdata", 183 183 "iana-time-zone", 184 184 "num-traits", 185 185 "pure-rust-locales", 186 186 "serde", 187 - "windows-targets 0.52.6", 187 + "windows-link", 188 188 ] 189 189 190 190 [[package]] ··· 257 257 "crossterm_winapi", 258 258 "mio", 259 259 "parking_lot", 260 - "rustix", 260 + "rustix 0.38.44", 261 261 "signal-hook", 262 262 "signal-hook-mio", 263 263 "winapi", ··· 312 312 313 313 [[package]] 314 314 name = "either" 315 - version = "1.13.0" 315 + version = "1.15.0" 316 316 source = "registry+https://github.com/rust-lang/crates.io-index" 317 - checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" 317 + checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" 318 318 319 319 [[package]] 320 320 name = "equivalent" 321 - version = "1.0.1" 321 + version = "1.0.2" 322 322 source = "registry+https://github.com/rust-lang/crates.io-index" 323 - checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" 323 + checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" 324 324 325 325 [[package]] 326 326 name = "erased-serde" 327 - version = "0.4.5" 327 + version = "0.4.6" 328 328 source = "registry+https://github.com/rust-lang/crates.io-index" 329 - checksum = "24e2389d65ab4fab27dc2a5de7b191e1f6617d1f1c8855c0dc569c94a4cbb18d" 329 + checksum = "e004d887f51fcb9fef17317a2f3525c887d8aa3f4f50fed920816a688284a5b7" 330 330 dependencies = [ 331 331 "serde", 332 332 "typeid", ··· 355 355 356 356 [[package]] 357 357 name = "flate2" 358 - version = "1.0.35" 358 + version = "1.1.0" 359 359 source = "registry+https://github.com/rust-lang/crates.io-index" 360 - checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c" 360 + checksum = "11faaf5a5236997af9848be0bef4db95824b1d534ebc64d0f0c6cf3e67bd38dc" 361 361 dependencies = [ 362 362 "crc32fast", 363 363 "miniz_oxide", ··· 365 365 366 366 [[package]] 367 367 name = "foldhash" 368 - version = "0.1.4" 368 + version = "0.1.5" 369 369 source = "registry+https://github.com/rust-lang/crates.io-index" 370 - checksum = "a0d2fde1f7b3d48b8395d5f2de76c18a528bd6a9cdde438df747bfcba3e05d6f" 370 + checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" 371 371 372 372 [[package]] 373 373 name = "getrandom" ··· 434 434 435 435 [[package]] 436 436 name = "indexmap" 437 - version = "2.7.1" 437 + version = "2.8.0" 438 438 source = "registry+https://github.com/rust-lang/crates.io-index" 439 - checksum = "8c9c992b02b5b4c94ea26e32fe5bccb7aa7d9f390ab5c1221ff895bc7ea8b652" 439 + checksum = "3954d50fe15b02142bf25d3b8bdadb634ec3948f103d04ffe3031bc8fe9d7058" 440 440 dependencies = [ 441 441 "equivalent", 442 442 "hashbrown", ··· 444 444 445 445 [[package]] 446 446 name = "interprocess" 447 - version = "2.2.2" 447 + version = "2.2.3" 448 448 source = "registry+https://github.com/rust-lang/crates.io-index" 449 - checksum = "894148491d817cb36b6f778017b8ac46b17408d522dd90f539d677ea938362eb" 449 + checksum = "d941b405bd2322993887859a8ee6ac9134945a24ec5ec763a8a962fc64dfec2d" 450 450 dependencies = [ 451 451 "doctest-file", 452 452 "libc", ··· 457 457 458 458 [[package]] 459 459 name = "inventory" 460 - version = "0.3.19" 460 + version = "0.3.20" 461 461 source = "registry+https://github.com/rust-lang/crates.io-index" 462 - checksum = "54b12ebb6799019b044deaf431eadfe23245b259bba5a2c0796acec3943a3cdb" 462 + checksum = "ab08d7cd2c5897f2c949e5383ea7c7db03fb19130ffcfbf7eda795137ae3cb83" 463 463 dependencies = [ 464 464 "rustversion", 465 465 ] ··· 481 481 482 482 [[package]] 483 483 name = "itoa" 484 - version = "1.0.14" 484 + version = "1.0.15" 485 485 source = "registry+https://github.com/rust-lang/crates.io-index" 486 - checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" 486 + checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" 487 487 488 488 [[package]] 489 489 name = "js-sys" ··· 497 497 498 498 [[package]] 499 499 name = "libc" 500 - version = "0.2.169" 500 + version = "0.2.171" 501 501 source = "registry+https://github.com/rust-lang/crates.io-index" 502 - checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" 502 + checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6" 503 503 504 504 [[package]] 505 505 name = "libdbus-sys" ··· 546 546 version = "0.4.15" 547 547 source = "registry+https://github.com/rust-lang/crates.io-index" 548 548 checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" 549 + 550 + [[package]] 551 + name = "linux-raw-sys" 552 + version = "0.9.3" 553 + source = "registry+https://github.com/rust-lang/crates.io-index" 554 + checksum = "fe7db12097d22ec582439daf8618b8fdd1a7bef6270e9af3b1ebcd30893cf413" 549 555 550 556 [[package]] 551 557 name = "lock_api" ··· 559 565 560 566 [[package]] 561 567 name = "log" 562 - version = "0.4.25" 568 + version = "0.4.26" 563 569 source = "registry+https://github.com/rust-lang/crates.io-index" 564 - checksum = "04cbf5b083de1c7e0222a7a51dbfdba1cbe1c6ab0b15e29fff3f6c077fd9cd9f" 570 + checksum = "30bde2b3dc3671ae49d8e2e9f044c7c005836e7a023ee57cffa25ab82764bb9e" 565 571 566 572 [[package]] 567 573 name = "lru" ··· 611 617 "terminal_size", 612 618 "textwrap", 613 619 "thiserror 1.0.69", 614 - "unicode-width", 620 + "unicode-width 0.1.14", 615 621 ] 616 622 617 623 [[package]] ··· 633 639 634 640 [[package]] 635 641 name = "miniz_oxide" 636 - version = "0.8.3" 642 + version = "0.8.5" 637 643 source = "registry+https://github.com/rust-lang/crates.io-index" 638 - checksum = "b8402cab7aefae129c6977bb0ff1b8fd9a04eb5b51efc50a70bea51cda0c7924" 644 + checksum = "8e3e04debbb59698c15bacbb6d93584a8c0ca9cc3213cb423d31f760d8843ce5" 639 645 dependencies = [ 640 646 "adler2", 641 647 ] ··· 694 700 695 701 [[package]] 696 702 name = "nu-derive-value" 697 - version = "0.102.0" 703 + version = "0.103.0" 698 704 source = "registry+https://github.com/rust-lang/crates.io-index" 699 - checksum = "2316ae007dbd5485cc7e717154423380acabf933bbe7b3bb8b2f7f1c91ccc962" 705 + checksum = "8f1f5198366892552a9a827a61a27e31543a0827c55ccfb6bf060489cec80d25" 700 706 dependencies = [ 701 707 "heck", 702 - "proc-macro-error", 708 + "proc-macro-error2", 703 709 "proc-macro2", 704 710 "quote", 705 711 "syn", ··· 707 713 708 714 [[package]] 709 715 name = "nu-engine" 710 - version = "0.102.0" 716 + version = "0.103.0" 711 717 source = "registry+https://github.com/rust-lang/crates.io-index" 712 - checksum = "c683ba1257530c31ef04c9db61dd03873d5cd6e342ace2ea979b83ebb5facbb0" 718 + checksum = "0cb715bb4c18e4259d21c5b710f04f7190c9803211e2a0baa31ec3a5841daa56" 713 719 dependencies = [ 714 720 "log", 715 721 "nu-glob", ··· 720 726 721 727 [[package]] 722 728 name = "nu-glob" 723 - version = "0.102.0" 729 + version = "0.103.0" 724 730 source = "registry+https://github.com/rust-lang/crates.io-index" 725 - checksum = "ca39e05b7e710701b4a979053449c54c68418319e55bcf8cff5d220b7b7bc916" 731 + checksum = "904fa576593ed75439eec561f62824bbe55f4a05f1c8239309a939d43e0ad704" 732 + dependencies = [ 733 + "nu-protocol", 734 + ] 726 735 727 736 [[package]] 728 737 name = "nu-path" 729 - version = "0.102.0" 738 + version = "0.103.0" 730 739 source = "registry+https://github.com/rust-lang/crates.io-index" 731 - checksum = "8b34402c223280f2a12b40562c92d5e39e66dbcf8e63d984b788758e67bfc1fa" 740 + checksum = "e6e3a55f26e42d1f98fbb4f41fa4fcc7dee1f61f13c5eabda5ca90e78825b2fa" 732 741 dependencies = [ 733 742 "dirs", 734 743 "omnipath", ··· 738 747 739 748 [[package]] 740 749 name = "nu-plugin" 741 - version = "0.102.0" 750 + version = "0.103.0" 742 751 source = "registry+https://github.com/rust-lang/crates.io-index" 743 - checksum = "42961e81fcd9fc25498d79f6a54c120d4c3d14d30bde5aaa16cba13ced15878e" 752 + checksum = "5f35f2290c077441edfde50745b501ba5ffad11217d5d01168cf1ab1b0e4c03d" 744 753 dependencies = [ 745 754 "log", 746 755 "nix", ··· 749 758 "nu-plugin-protocol", 750 759 "nu-protocol", 751 760 "nu-utils", 752 - "thiserror 2.0.11", 761 + "thiserror 2.0.12", 753 762 ] 754 763 755 764 [[package]] 756 765 name = "nu-plugin-core" 757 - version = "0.102.0" 766 + version = "0.103.0" 758 767 source = "registry+https://github.com/rust-lang/crates.io-index" 759 - checksum = "ed8f3991be99d14ac082bf7fe6f977959d5239b39f5d1ae570d8be08ef893cf5" 768 + checksum = "5ba6f1d1c7f6ca9852c26e8e65a0f530b8fa3a1237a6c62de089ccaf6c1645fe" 760 769 dependencies = [ 761 770 "interprocess", 762 771 "log", ··· 770 779 771 780 [[package]] 772 781 name = "nu-plugin-protocol" 773 - version = "0.102.0" 782 + version = "0.103.0" 774 783 source = "registry+https://github.com/rust-lang/crates.io-index" 775 - checksum = "cacf325471dbea88c6c7db60476025906b9ba88447f4ba981de70df068647061" 784 + checksum = "88bef165a59909561b349fb3eda7e16afae8f8d06d6c99527b4545c086b51f87" 776 785 dependencies = [ 777 786 "nu-protocol", 778 787 "nu-utils", ··· 784 793 785 794 [[package]] 786 795 name = "nu-protocol" 787 - version = "0.102.0" 796 + version = "0.103.0" 788 797 source = "registry+https://github.com/rust-lang/crates.io-index" 789 - checksum = "3054343abc3428da886970f7fe6feee895a96da0323497b61bccf700fed4d265" 798 + checksum = "ca35b5860d171e8e0994d42373f62fc99fb7a0b205e5d8a38897e2869d5f6ab7" 790 799 dependencies = [ 791 800 "brotli", 792 801 "bytes", ··· 811 820 "rmp-serde", 812 821 "serde", 813 822 "serde_json", 814 - "thiserror 2.0.11", 823 + "strum", 824 + "strum_macros", 825 + "thiserror 2.0.12", 815 826 "typetag", 816 827 "web-time", 817 828 "windows-sys 0.48.0", ··· 819 830 820 831 [[package]] 821 832 name = "nu-system" 822 - version = "0.102.0" 833 + version = "0.103.0" 823 834 source = "registry+https://github.com/rust-lang/crates.io-index" 824 - checksum = "2588df6916f3b441cfd88babdcbe24e31a04dd4b492e7a30b4f983495fdb0926" 835 + checksum = "70bb9b1c59acd274bd36b4879e1e03491a3ee2f24689a9070c66fbd8aed23b27" 825 836 dependencies = [ 826 837 "chrono", 827 838 "itertools", ··· 839 850 840 851 [[package]] 841 852 name = "nu-utils" 842 - version = "0.102.0" 853 + version = "0.103.0" 843 854 source = "registry+https://github.com/rust-lang/crates.io-index" 844 - checksum = "a5929f17bc53de1a081c18b6ce968e41f9ef8cf0c1e0cf9276ed72749a653475" 855 + checksum = "2f01345a3c94f75397020250286c536e1b306cb714b2931c1a1c9a3318254793" 845 856 dependencies = [ 846 857 "crossterm", 847 858 "crossterm_winapi", ··· 859 870 860 871 [[package]] 861 872 name = "nu_plugin_dbus" 862 - version = "0.15.0" 873 + version = "0.16.0" 863 874 dependencies = [ 864 875 "dbus", 865 876 "nu-plugin", ··· 895 906 896 907 [[package]] 897 908 name = "once_cell" 898 - version = "1.20.3" 909 + version = "1.21.1" 899 910 source = "registry+https://github.com/rust-lang/crates.io-index" 900 - checksum = "945462a4b81e43c4e3ba96bd7b49d834c6f61198356aa858733bc4acf3cbe62e" 911 + checksum = "d75b0bedcc4fe52caa0e03d9f1151a323e4aa5e2d78ba3580400cd3c9e2bc4bc" 901 912 902 913 [[package]] 903 914 name = "option-ext" ··· 917 928 918 929 [[package]] 919 930 name = "owo-colors" 920 - version = "4.1.0" 931 + version = "4.2.0" 921 932 source = "registry+https://github.com/rust-lang/crates.io-index" 922 - checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56" 933 + checksum = "1036865bb9422d3300cf723f657c2851d0e9ab12567854b1f4eba3d77decf564" 923 934 924 935 [[package]] 925 936 name = "parking_lot" ··· 952 963 953 964 [[package]] 954 965 name = "pkg-config" 955 - version = "0.3.31" 966 + version = "0.3.32" 956 967 source = "registry+https://github.com/rust-lang/crates.io-index" 957 - checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2" 968 + checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" 958 969 959 970 [[package]] 960 - name = "proc-macro-error" 961 - version = "1.0.4" 971 + name = "proc-macro-error-attr2" 972 + version = "2.0.0" 962 973 source = "registry+https://github.com/rust-lang/crates.io-index" 963 - checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" 974 + checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5" 964 975 dependencies = [ 965 - "proc-macro-error-attr", 966 976 "proc-macro2", 967 977 "quote", 968 - "version_check", 969 978 ] 970 979 971 980 [[package]] 972 - name = "proc-macro-error-attr" 973 - version = "1.0.4" 981 + name = "proc-macro-error2" 982 + version = "2.0.1" 974 983 source = "registry+https://github.com/rust-lang/crates.io-index" 975 - checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" 984 + checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802" 976 985 dependencies = [ 986 + "proc-macro-error-attr2", 977 987 "proc-macro2", 978 988 "quote", 979 - "version_check", 989 + "syn", 980 990 ] 981 991 982 992 [[package]] 983 993 name = "proc-macro2" 984 - version = "1.0.93" 994 + version = "1.0.94" 985 995 source = "registry+https://github.com/rust-lang/crates.io-index" 986 - checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99" 996 + checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84" 987 997 dependencies = [ 988 998 "unicode-ident", 989 999 ] ··· 999 1009 "flate2", 1000 1010 "hex", 1001 1011 "procfs-core", 1002 - "rustix", 1012 + "rustix 0.38.44", 1003 1013 ] 1004 1014 1005 1015 [[package]] ··· 1031 1041 1032 1042 [[package]] 1033 1043 name = "quote" 1034 - version = "1.0.38" 1044 + version = "1.0.40" 1035 1045 source = "registry+https://github.com/rust-lang/crates.io-index" 1036 - checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc" 1046 + checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" 1037 1047 dependencies = [ 1038 1048 "proc-macro2", 1039 1049 ] ··· 1066 1076 1067 1077 [[package]] 1068 1078 name = "redox_syscall" 1069 - version = "0.5.8" 1079 + version = "0.5.10" 1070 1080 source = "registry+https://github.com/rust-lang/crates.io-index" 1071 - checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834" 1081 + checksum = "0b8c0c260b63a8219631167be35e6a988e9554dbd323f8bd08439c8ed1302bd1" 1072 1082 dependencies = [ 1073 1083 "bitflags", 1074 1084 ] ··· 1086 1096 1087 1097 [[package]] 1088 1098 name = "ref-cast" 1089 - version = "1.0.23" 1099 + version = "1.0.24" 1090 1100 source = "registry+https://github.com/rust-lang/crates.io-index" 1091 - checksum = "ccf0a6f84d5f1d581da8b41b47ec8600871962f2a528115b542b362d4b744931" 1101 + checksum = "4a0ae411dbe946a674d89546582cea4ba2bb8defac896622d6496f14c23ba5cf" 1092 1102 dependencies = [ 1093 1103 "ref-cast-impl", 1094 1104 ] 1095 1105 1096 1106 [[package]] 1097 1107 name = "ref-cast-impl" 1098 - version = "1.0.23" 1108 + version = "1.0.24" 1099 1109 source = "registry+https://github.com/rust-lang/crates.io-index" 1100 - checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" 1110 + checksum = "1165225c21bff1f3bbce98f5a1f889949bc902d3575308cc7b0de30b4f6d27c7" 1101 1111 dependencies = [ 1102 1112 "proc-macro2", 1103 1113 "quote", ··· 1170 1180 "bitflags", 1171 1181 "errno", 1172 1182 "libc", 1173 - "linux-raw-sys", 1183 + "linux-raw-sys 0.4.15", 1184 + "windows-sys 0.59.0", 1185 + ] 1186 + 1187 + [[package]] 1188 + name = "rustix" 1189 + version = "1.0.3" 1190 + source = "registry+https://github.com/rust-lang/crates.io-index" 1191 + checksum = "e56a18552996ac8d29ecc3b190b4fdbb2d91ca4ec396de7bbffaf43f3d637e96" 1192 + dependencies = [ 1193 + "bitflags", 1194 + "errno", 1195 + "libc", 1196 + "linux-raw-sys 0.9.3", 1174 1197 "windows-sys 0.59.0", 1175 1198 ] 1176 1199 1177 1200 [[package]] 1178 1201 name = "rustversion" 1179 - version = "1.0.19" 1202 + version = "1.0.20" 1180 1203 source = "registry+https://github.com/rust-lang/crates.io-index" 1181 - checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4" 1204 + checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2" 1182 1205 1183 1206 [[package]] 1184 1207 name = "ryu" 1185 - version = "1.0.19" 1208 + version = "1.0.20" 1186 1209 source = "registry+https://github.com/rust-lang/crates.io-index" 1187 - checksum = "6ea1a2d0a644769cc99faa24c3ad26b379b786fe7c36fd3c546254801650e6dd" 1210 + checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" 1188 1211 1189 1212 [[package]] 1190 1213 name = "scopeguard" ··· 1194 1217 1195 1218 [[package]] 1196 1219 name = "semver" 1197 - version = "1.0.25" 1220 + version = "1.0.26" 1198 1221 source = "registry+https://github.com/rust-lang/crates.io-index" 1199 - checksum = "f79dfe2d285b0488816f30e700a7438c5a73d816b5b7d3ac72fbc48b0d185e03" 1222 + checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0" 1200 1223 1201 1224 [[package]] 1202 1225 name = "serde" 1203 - version = "1.0.217" 1226 + version = "1.0.219" 1204 1227 source = "registry+https://github.com/rust-lang/crates.io-index" 1205 - checksum = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70" 1228 + checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" 1206 1229 dependencies = [ 1207 1230 "serde_derive", 1208 1231 ] ··· 1221 1244 1222 1245 [[package]] 1223 1246 name = "serde_derive" 1224 - version = "1.0.217" 1247 + version = "1.0.219" 1225 1248 source = "registry+https://github.com/rust-lang/crates.io-index" 1226 - checksum = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0" 1249 + checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" 1227 1250 dependencies = [ 1228 1251 "proc-macro2", 1229 1252 "quote", ··· 1232 1255 1233 1256 [[package]] 1234 1257 name = "serde_json" 1235 - version = "1.0.138" 1258 + version = "1.0.140" 1236 1259 source = "registry+https://github.com/rust-lang/crates.io-index" 1237 - checksum = "d434192e7da787e94a6ea7e9670b26a036d0ca41e0b7efb2676dd32bae872949" 1260 + checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" 1238 1261 dependencies = [ 1239 1262 "itoa", 1240 1263 "memchr", ··· 1280 1303 1281 1304 [[package]] 1282 1305 name = "smallvec" 1283 - version = "1.13.2" 1306 + version = "1.14.0" 1284 1307 source = "registry+https://github.com/rust-lang/crates.io-index" 1285 - checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" 1308 + checksum = "7fcf8323ef1faaee30a44a340193b1ac6814fd9b7b4e88e9d4519a3e4abe1cfd" 1286 1309 1287 1310 [[package]] 1288 1311 name = "strip-ansi-escapes" ··· 1294 1317 ] 1295 1318 1296 1319 [[package]] 1320 + name = "strum" 1321 + version = "0.26.3" 1322 + source = "registry+https://github.com/rust-lang/crates.io-index" 1323 + checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" 1324 + 1325 + [[package]] 1326 + name = "strum_macros" 1327 + version = "0.26.4" 1328 + source = "registry+https://github.com/rust-lang/crates.io-index" 1329 + checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" 1330 + dependencies = [ 1331 + "heck", 1332 + "proc-macro2", 1333 + "quote", 1334 + "rustversion", 1335 + "syn", 1336 + ] 1337 + 1338 + [[package]] 1297 1339 name = "supports-color" 1298 1340 version = "3.0.2" 1299 1341 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1316 1358 1317 1359 [[package]] 1318 1360 name = "syn" 1319 - version = "2.0.98" 1361 + version = "2.0.100" 1320 1362 source = "registry+https://github.com/rust-lang/crates.io-index" 1321 - checksum = "36147f1a48ae0ec2b5b3bc5b537d267457555a10dc06f3dbc8cb11ba3006d3b1" 1363 + checksum = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0" 1322 1364 dependencies = [ 1323 1365 "proc-macro2", 1324 1366 "quote", ··· 1350 1392 1351 1393 [[package]] 1352 1394 name = "terminal_size" 1353 - version = "0.4.1" 1395 + version = "0.4.2" 1354 1396 source = "registry+https://github.com/rust-lang/crates.io-index" 1355 - checksum = "5352447f921fda68cf61b4101566c0bdb5104eff6804d0678e5227580ab6a4e9" 1397 + checksum = "45c6481c4829e4cc63825e62c49186a34538b7b2750b73b266581ffb612fb5ed" 1356 1398 dependencies = [ 1357 - "rustix", 1399 + "rustix 1.0.3", 1358 1400 "windows-sys 0.59.0", 1359 1401 ] 1360 1402 1361 1403 [[package]] 1362 1404 name = "textwrap" 1363 - version = "0.16.1" 1405 + version = "0.16.2" 1364 1406 source = "registry+https://github.com/rust-lang/crates.io-index" 1365 - checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9" 1407 + checksum = "c13547615a44dc9c452a8a534638acdf07120d4b6847c8178705da06306a3057" 1366 1408 dependencies = [ 1367 1409 "unicode-linebreak", 1368 - "unicode-width", 1410 + "unicode-width 0.2.0", 1369 1411 ] 1370 1412 1371 1413 [[package]] ··· 1379 1421 1380 1422 [[package]] 1381 1423 name = "thiserror" 1382 - version = "2.0.11" 1424 + version = "2.0.12" 1383 1425 source = "registry+https://github.com/rust-lang/crates.io-index" 1384 - checksum = "d452f284b73e6d76dd36758a0c8684b1d5be31f92b89d07fd5822175732206fc" 1426 + checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" 1385 1427 dependencies = [ 1386 - "thiserror-impl 2.0.11", 1428 + "thiserror-impl 2.0.12", 1387 1429 ] 1388 1430 1389 1431 [[package]] ··· 1399 1441 1400 1442 [[package]] 1401 1443 name = "thiserror-impl" 1402 - version = "2.0.11" 1444 + version = "2.0.12" 1403 1445 source = "registry+https://github.com/rust-lang/crates.io-index" 1404 - checksum = "26afc1baea8a989337eeb52b6e72a039780ce45c3edfcc9c5b9d112feeb173c2" 1446 + checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" 1405 1447 dependencies = [ 1406 1448 "proc-macro2", 1407 1449 "quote", ··· 1410 1452 1411 1453 [[package]] 1412 1454 name = "typeid" 1413 - version = "1.0.2" 1455 + version = "1.0.3" 1414 1456 source = "registry+https://github.com/rust-lang/crates.io-index" 1415 - checksum = "0e13db2e0ccd5e14a544e8a246ba2312cd25223f616442d7f2cb0e3db614236e" 1457 + checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" 1416 1458 1417 1459 [[package]] 1418 1460 name = "typetag" 1419 - version = "0.2.19" 1461 + version = "0.2.20" 1420 1462 source = "registry+https://github.com/rust-lang/crates.io-index" 1421 - checksum = "044fc3365ddd307c297fe0fe7b2e70588cdab4d0f62dc52055ca0d11b174cf0e" 1463 + checksum = "73f22b40dd7bfe8c14230cf9702081366421890435b2d625fa92b4acc4c3de6f" 1422 1464 dependencies = [ 1423 1465 "erased-serde", 1424 1466 "inventory", ··· 1429 1471 1430 1472 [[package]] 1431 1473 name = "typetag-impl" 1432 - version = "0.2.19" 1474 + version = "0.2.20" 1433 1475 source = "registry+https://github.com/rust-lang/crates.io-index" 1434 - checksum = "d9d30226ac9cbd2d1ff775f74e8febdab985dab14fb14aa2582c29a92d5555dc" 1476 + checksum = "35f5380909ffc31b4de4f4bdf96b877175a016aa2ca98cee39fcfd8c4d53d952" 1435 1477 dependencies = [ 1436 1478 "proc-macro2", 1437 1479 "quote", ··· 1446 1488 1447 1489 [[package]] 1448 1490 name = "unicode-ident" 1449 - version = "1.0.16" 1491 + version = "1.0.18" 1450 1492 source = "registry+https://github.com/rust-lang/crates.io-index" 1451 - checksum = "a210d160f08b701c8721ba1c726c11662f877ea6b7094007e1ca9a1041945034" 1493 + checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" 1452 1494 1453 1495 [[package]] 1454 1496 name = "unicode-linebreak" ··· 1463 1505 checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" 1464 1506 1465 1507 [[package]] 1466 - name = "version_check" 1467 - version = "0.9.5" 1508 + name = "unicode-width" 1509 + version = "0.2.0" 1468 1510 source = "registry+https://github.com/rust-lang/crates.io-index" 1469 - checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" 1511 + checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd" 1470 1512 1471 1513 [[package]] 1472 1514 name = "vte" ··· 1553 1595 1554 1596 [[package]] 1555 1597 name = "widestring" 1556 - version = "1.1.0" 1598 + version = "1.2.0" 1557 1599 source = "registry+https://github.com/rust-lang/crates.io-index" 1558 - checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311" 1600 + checksum = "dd7cf3379ca1aac9eea11fba24fd7e315d621f8dfe35c8d7d2be8b793726e07d" 1559 1601 1560 1602 [[package]] 1561 1603 name = "winapi" ··· 1675 1717 "quote", 1676 1718 "syn", 1677 1719 ] 1720 + 1721 + [[package]] 1722 + name = "windows-link" 1723 + version = "0.1.1" 1724 + source = "registry+https://github.com/rust-lang/crates.io-index" 1725 + checksum = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38" 1678 1726 1679 1727 [[package]] 1680 1728 name = "windows-result"
+3 -3
Cargo.toml
··· 1 1 [package] 2 2 name = "nu_plugin_dbus" 3 - version = "0.15.0" 3 + version = "0.16.0" 4 4 edition = "2021" 5 5 6 6 description = "Nushell plugin for communicating with D-Bus" ··· 14 14 15 15 [dependencies] 16 16 dbus = "0.9.7" 17 - nu-plugin = "0.102.0" 18 - nu-protocol = { version = "0.102.0", features = ["plugin"] } 17 + nu-plugin = "0.103.0" 18 + nu-protocol = { version = "0.103.0", features = ["plugin"] } 19 19 serde = { version = "1.0.196", features = ["derive"] } 20 20 serde-xml-rs = "0.6.0"
+7 -8
README.md
··· 31 31 Search terms: dbus 32 32 33 33 Usage: 34 - > dbus 34 + > dbus 35 35 36 36 Subcommands: 37 37 dbus call - Call a method and get its response ··· 53 53 Search terms: dbus 54 54 55 55 Usage: 56 - > dbus call {flags} <object> <interface> <method> ...(args) 56 + > dbus call {flags} <object> <interface> <method> ...(args) 57 57 58 58 Flags: 59 59 -h, --help - Display the help message for this command ··· 97 97 Search terms: dbus 98 98 99 99 Usage: 100 - > dbus get {flags} <object> <interface> <property> 100 + > dbus get {flags} <object> <interface> <property> 101 101 102 102 Flags: 103 103 -h, --help - Display the help message for this command ··· 138 138 Search terms: dbus 139 139 140 140 Usage: 141 - > dbus get-all {flags} <object> <interface> 141 + > dbus get-all {flags} <object> <interface> 142 142 143 143 Flags: 144 144 -h, --help - Display the help message for this command ··· 179 179 Search terms: dbus 180 180 181 181 Usage: 182 - > dbus introspect {flags} <object> 182 + > dbus introspect {flags} <object> 183 183 184 184 Flags: 185 185 -h, --help - Display the help message for this command ··· 220 220 Search terms: dbus 221 221 222 222 Usage: 223 - > dbus list {flags} (pattern) 223 + > dbus list {flags} (pattern) 224 224 225 225 Flags: 226 226 -h, --help - Display the help message for this command ··· 267 267 Search terms: dbus 268 268 269 269 Usage: 270 - > dbus set {flags} <object> <interface> <property> <value> 270 + > dbus set {flags} <object> <interface> <property> <value> 271 271 272 272 Flags: 273 273 -h, --help - Display the help message for this command ··· 298 298 Examples: 299 299 Set the volume of Spotify to 50% 300 300 > dbus set --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player Volume 0.5 301 -
+6 -6
flake.lock
··· 7 7 ] 8 8 }, 9 9 "locked": { 10 - "lastModified": 1738586370, 11 - "narHash": "sha256-oNDm2sfLm9jdfOskRq2ABn85gwXusbsHEOC181peno4=", 10 + "lastModified": 1742215471, 11 + "narHash": "sha256-I/7CY1gd5R4b3rBlhcJyjCYcP+v/164g83uOT9HTfj0=", 12 12 "owner": "nix-community", 13 13 "repo": "flakelight", 14 - "rev": "d05bcabfc1efb84a7d8689de6e50b84d7f23b427", 14 + "rev": "e40a1a8c6d18c761659ed88d7536310a7e604f7f", 15 15 "type": "github" 16 16 }, 17 17 "original": { ··· 22 22 }, 23 23 "nixpkgs": { 24 24 "locked": { 25 - "lastModified": 1738958807, 26 - "narHash": "sha256-h0WKgHTLkjwjRNTkqByQquS7N/15SqIFMQ356Ww8uCA=", 25 + "lastModified": 1742546557, 26 + "narHash": "sha256-QyhimDBaDBtMfRc7kyL28vo+HTwXRPq3hz+BgSJDotw=", 27 27 "owner": "NixOS", 28 28 "repo": "nixpkgs", 29 - "rev": "e8d0b02af0958823c955aaab3c82b03f54411d91", 29 + "rev": "bfa9810ff7104a17555ab68ebdeafb6705f129b1", 30 30 "type": "github" 31 31 }, 32 32 "original": {
+17 -15
flake.nix
··· 7 7 flakelight.inputs.nixpkgs.follows = "nixpkgs"; 8 8 }; 9 9 10 - outputs = inputs @ { 11 - self, 12 - nixpkgs, 13 - flakelight, 14 - }: 10 + outputs = 11 + inputs @ { self 12 + , nixpkgs 13 + , flakelight 14 + , 15 + }: 15 16 flakelight ./. { 16 17 inherit inputs; 17 18 pname = "nu_plugin_dbus"; 18 - package = { 19 - rustPlatform, 20 - dbus, 21 - nushell, 22 - pkg-config, 23 - fetchFromGitHub, 24 - lib, 25 - }: 19 + package = 20 + { rustPlatform 21 + , dbus 22 + , nushell 23 + , pkg-config 24 + , fetchFromGitHub 25 + , lib 26 + , 27 + }: 26 28 rustPlatform.buildRustPackage rec { 27 29 pname = "nu_plugin_dbus"; 28 30 version = 29 31 if nushell.version == nu_version 30 - then "0.15.0" 32 + then "0.16.0" 31 33 else abort "Nushell Version mismatch\nPlugin: ${nu_version}\tnixpkgs: ${nushell.version}"; 32 - nu_version = "0.102.0"; 34 + nu_version = "0.103.0"; 33 35 34 36 src = ./.; 35 37