neiam
/koco
public · Issues · Pulls · Labels · Forks · Compare · Actions failure · Badges · Packages
⭐
Log in to mark this repository.
Deps: tokio-tungstenite 0.30, off digest 0.10 and block-buffer 0.10
f152a27 · Gabe Morell · 2026-10-27 19:39
✓
Rust CI and Docker Build / Create Release (push)
✗
Rust CI and Docker Build / Release (7z a, .exe, koco-x86_64-windows.zip, windows-latest, windows-latest, 1.98) (push)
✓
Rust CI and Docker Build / Release (tar -czf, , koco-aarch64-linux-gnu.tar.gz, ubuntu-24.04-arm, ubuntu-24.04-arm, 1.98) (push)
✗
Rust CI and Docker Build / Release (tar -czf, , koco-aarch64-macos.tar.gz, macos-latest, macos-latest, 1.98) (push)
✓
Rust CI and Docker Build / Release (tar -czf, , koco-x86_64-linux-gnu.tar.gz, ubuntu-latest, arc-runner-set, 1.98) (push)
✓
Rust CI and Docker Build / build (aarch64, ubuntu-24.04-arm) (push)
✓
Rust CI and Docker Build / build (x86_64, arc-runner-set) (push)
✗
audit / osv (schedule)
✓
dependency-updates / update (schedule)
Message
{commit_body(@commit)}
Files changed
modified
Cargo.lock
+75
−77
@@ -240,7 +240,7 @@ dependencies = [
| 240 | 240 | "objc2-foundation 0.3.2", |
| 241 | 241 | "parking_lot", |
| 242 | 242 | "percent-encoding", |
| 243 | − "windows-sys 0.52.0", | |
| 243 | + "windows-sys 0.59.0", | |
| 244 | 244 | "wl-clipboard-rs", |
| 245 | 245 | "x11rb", |
| 246 | 246 | ] |
@@ -489,11 +489,11 @@ checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
| 489 | 489 | |
| 490 | 490 | [[package]] |
| 491 | 491 | name = "block-buffer" |
| 492 | −version = "0.10.4" | |
| 492 | +version = "0.12.1" | |
| 493 | 493 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 494 | −checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" | |
| 494 | +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" | |
| 495 | 495 | dependencies = [ |
| 496 | − "generic-array", | |
| 496 | + "hybrid-array", | |
| 497 | 497 | ] |
| 498 | 498 | |
| 499 | 499 | [[package]] |
@@ -553,12 +553,6 @@ dependencies = [
| 553 | 553 | "syn 2.0.111", |
| 554 | 554 | ] |
| 555 | 555 | |
| 556 | −[[package]] | |
| 557 | −name = "byteorder" | |
| 558 | −version = "1.5.0" | |
| 559 | −source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 560 | −checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" | |
| 561 | − | |
| 562 | 556 | [[package]] |
| 563 | 557 | name = "byteorder-lite" |
| 564 | 558 | version = "0.1.0" |
@@ -661,6 +655,17 @@ dependencies = [
| 661 | 655 | "libc", |
| 662 | 656 | ] |
| 663 | 657 | |
| 658 | +[[package]] | |
| 659 | +name = "chacha20" | |
| 660 | +version = "0.10.2" | |
| 661 | +source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 662 | +checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" | |
| 663 | +dependencies = [ | |
| 664 | + "cfg-if", | |
| 665 | + "cpufeatures", | |
| 666 | + "rand_core", | |
| 667 | +] | |
| 668 | + | |
| 664 | 669 | [[package]] |
| 665 | 670 | name = "chrono" |
| 666 | 671 | version = "0.4.42" |
@@ -735,6 +740,12 @@ dependencies = [
| 735 | 740 | "crossbeam-utils", |
| 736 | 741 | ] |
| 737 | 742 | |
| 743 | +[[package]] | |
| 744 | +name = "const-oid" | |
| 745 | +version = "0.10.2" | |
| 746 | +source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 747 | +checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c" | |
| 748 | + | |
| 738 | 749 | [[package]] |
| 739 | 750 | name = "core-foundation" |
| 740 | 751 | version = "0.9.4" |
@@ -777,9 +788,9 @@ dependencies = [
| 777 | 788 | |
| 778 | 789 | [[package]] |
| 779 | 790 | name = "cpufeatures" |
| 780 | −version = "0.2.17" | |
| 791 | +version = "0.3.1" | |
| 781 | 792 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 782 | −checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" | |
| 793 | +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" | |
| 783 | 794 | dependencies = [ |
| 784 | 795 | "libc", |
| 785 | 796 | ] |
@@ -816,12 +827,11 @@ checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"
| 816 | 827 | |
| 817 | 828 | [[package]] |
| 818 | 829 | name = "crypto-common" |
| 819 | −version = "0.1.7" | |
| 830 | +version = "0.2.2" | |
| 820 | 831 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 821 | −checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" | |
| 832 | +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" | |
| 822 | 833 | dependencies = [ |
| 823 | − "generic-array", | |
| 824 | − "typenum", | |
| 834 | + "hybrid-array", | |
| 825 | 835 | ] |
| 826 | 836 | |
| 827 | 837 | [[package]] |
@@ -838,11 +848,12 @@ checksum = "2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476"
| 838 | 848 | |
| 839 | 849 | [[package]] |
| 840 | 850 | name = "digest" |
| 841 | −version = "0.10.7" | |
| 851 | +version = "0.11.3" | |
| 842 | 852 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 843 | −checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" | |
| 853 | +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" | |
| 844 | 854 | dependencies = [ |
| 845 | 855 | "block-buffer", |
| 856 | + "const-oid", | |
| 846 | 857 | "crypto-common", |
| 847 | 858 | ] |
| 848 | 859 |
@@ -1176,7 +1187,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
| 1176 | 1187 | checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" |
| 1177 | 1188 | dependencies = [ |
| 1178 | 1189 | "libc", |
| 1179 | − "windows-sys 0.52.0", | |
| 1190 | + "windows-sys 0.61.2", | |
| 1180 | 1191 | ] |
| 1181 | 1192 | |
| 1182 | 1193 | [[package]] |
@@ -1469,16 +1480,6 @@ dependencies = [
| 1469 | 1480 | "slab", |
| 1470 | 1481 | ] |
| 1471 | 1482 | |
| 1472 | −[[package]] | |
| 1473 | −name = "generic-array" | |
| 1474 | −version = "0.14.7" | |
| 1475 | −source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 1476 | −checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" | |
| 1477 | −dependencies = [ | |
| 1478 | − "typenum", | |
| 1479 | − "version_check", | |
| 1480 | −] | |
| 1481 | − | |
| 1482 | 1483 | [[package]] |
| 1483 | 1484 | name = "gethostname" |
| 1484 | 1485 | version = "1.1.0" |
@@ -1508,10 +1509,22 @@ checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
| 1508 | 1509 | dependencies = [ |
| 1509 | 1510 | "cfg-if", |
| 1510 | 1511 | "libc", |
| 1511 | − "r-efi", | |
| 1512 | + "r-efi 5.3.0", | |
| 1512 | 1513 | "wasip2", |
| 1513 | 1514 | ] |
| 1514 | 1515 | |
| 1516 | +[[package]] | |
| 1517 | +name = "getrandom" | |
| 1518 | +version = "0.4.3" | |
| 1519 | +source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 1520 | +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" | |
| 1521 | +dependencies = [ | |
| 1522 | + "cfg-if", | |
| 1523 | + "libc", | |
| 1524 | + "r-efi 6.0.0", | |
| 1525 | + "rand_core", | |
| 1526 | +] | |
| 1527 | + | |
| 1515 | 1528 | [[package]] |
| 1516 | 1529 | name = "gl_generator" |
| 1517 | 1530 | version = "0.14.0" |
@@ -1744,6 +1757,15 @@ version = "1.10.1"
| 1744 | 1757 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 1745 | 1758 | checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" |
| 1746 | 1759 | |
| 1760 | +[[package]] | |
| 1761 | +name = "hybrid-array" | |
| 1762 | +version = "0.4.15" | |
| 1763 | +source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 1764 | +checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17" | |
| 1765 | +dependencies = [ | |
| 1766 | + "typenum", | |
| 1767 | +] | |
| 1768 | + | |
| 1747 | 1769 | [[package]] |
| 1748 | 1770 | name = "hyper" |
| 1749 | 1771 | version = "1.8.1" |
@@ -2809,7 +2831,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
| 2809 | 2831 | checksum = "7d8fae84b431384b68627d0f9b3b1245fcf9f46f6c0e3dc902e9dce64edd1967" |
| 2810 | 2832 | dependencies = [ |
| 2811 | 2833 | "libc", |
| 2812 | − "windows-sys 0.45.0", | |
| 2834 | + "windows-sys 0.61.2", | |
| 2813 | 2835 | ] |
| 2814 | 2836 | |
| 2815 | 2837 | [[package]] |
@@ -3049,15 +3071,6 @@ dependencies = [
| 3049 | 3071 | "zerovec", |
| 3050 | 3072 | ] |
| 3051 | 3073 | |
| 3052 | −[[package]] | |
| 3053 | −name = "ppv-lite86" | |
| 3054 | −version = "0.2.21" | |
| 3055 | −source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 3056 | −checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" | |
| 3057 | −dependencies = [ | |
| 3058 | − "zerocopy", | |
| 3059 | −] | |
| 3060 | − | |
| 3061 | 3074 | [[package]] |
| 3062 | 3075 | name = "proc-macro-crate" |
| 3063 | 3076 | version = "3.4.0" |
@@ -3122,34 +3135,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
| 3122 | 3135 | checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" |
| 3123 | 3136 | |
| 3124 | 3137 | [[package]] |
| 3125 | −name = "rand" | |
| 3126 | −version = "0.8.6" | |
| 3138 | +name = "r-efi" | |
| 3139 | +version = "6.0.0" | |
| 3127 | 3140 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 3128 | −checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a" | |
| 3129 | −dependencies = [ | |
| 3130 | − "libc", | |
| 3131 | − "rand_chacha", | |
| 3132 | − "rand_core", | |
| 3133 | −] | |
| 3141 | +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" | |
| 3134 | 3142 | |
| 3135 | 3143 | [[package]] |
| 3136 | −name = "rand_chacha" | |
| 3137 | −version = "0.3.1" | |
| 3144 | +name = "rand" | |
| 3145 | +version = "0.10.3" | |
| 3138 | 3146 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 3139 | −checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" | |
| 3147 | +checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" | |
| 3140 | 3148 | dependencies = [ |
| 3141 | − "ppv-lite86", | |
| 3149 | + "chacha20", | |
| 3150 | + "getrandom 0.4.3", | |
| 3142 | 3151 | "rand_core", |
| 3143 | 3152 | ] |
| 3144 | 3153 | |
| 3145 | 3154 | [[package]] |
| 3146 | 3155 | name = "rand_core" |
| 3147 | −version = "0.6.4" | |
| 3156 | +version = "0.10.1" | |
| 3148 | 3157 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 3149 | −checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" | |
| 3150 | −dependencies = [ | |
| 3151 | − "getrandom 0.2.16", | |
| 3152 | −] | |
| 3158 | +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" | |
| 3153 | 3159 | |
| 3154 | 3160 | [[package]] |
| 3155 | 3161 | name = "raw-window-handle" |
@@ -3341,7 +3347,7 @@ dependencies = [
| 3341 | 3347 | "errno", |
| 3342 | 3348 | "libc", |
| 3343 | 3349 | "linux-raw-sys 0.11.0", |
| 3344 | − "windows-sys 0.52.0", | |
| 3350 | + "windows-sys 0.61.2", | |
| 3345 | 3351 | ] |
| 3346 | 3352 | |
| 3347 | 3353 | [[package]] |
@@ -3548,9 +3554,9 @@ dependencies = [
| 3548 | 3554 | |
| 3549 | 3555 | [[package]] |
| 3550 | 3556 | name = "sha1" |
| 3551 | −version = "0.10.6" | |
| 3557 | +version = "0.11.0" | |
| 3552 | 3558 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 3553 | −checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" | |
| 3559 | +checksum = "aacc4cc499359472b4abe1bf11d0b12e688af9a805fa5e3016f9a386dc2d0214" | |
| 3554 | 3560 | dependencies = [ |
| 3555 | 3561 | "cfg-if", |
| 3556 | 3562 | "cpufeatures", |
@@ -3810,7 +3816,7 @@ dependencies = [
| 3810 | 3816 | "getrandom 0.3.4", |
| 3811 | 3817 | "once_cell", |
| 3812 | 3818 | "rustix 1.1.3", |
| 3813 | − "windows-sys 0.52.0", | |
| 3819 | + "windows-sys 0.61.2", | |
| 3814 | 3820 | ] |
| 3815 | 3821 | |
| 3816 | 3822 | [[package]] |
@@ -3952,9 +3958,9 @@ dependencies = [
| 3952 | 3958 | |
| 3953 | 3959 | [[package]] |
| 3954 | 3960 | name = "tokio-tungstenite" |
| 3955 | −version = "0.24.0" | |
| 3961 | +version = "0.30.0" | |
| 3956 | 3962 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 3957 | −checksum = "edc5f74e248dc973e0dbb7b74c7e0d6fcc301c694ff50049504004ef4d0cdcd9" | |
| 3963 | +checksum = "17a073bfed563fa236697a068031408a93cd9522e08abf9933ead3e73411bd71" | |
| 3958 | 3964 | dependencies = [ |
| 3959 | 3965 | "futures-util", |
| 3960 | 3966 | "log", |
@@ -4142,11 +4148,10 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
| 4142 | 4148 | |
| 4143 | 4149 | [[package]] |
| 4144 | 4150 | name = "tungstenite" |
| 4145 | −version = "0.24.0" | |
| 4151 | +version = "0.30.0" | |
| 4146 | 4152 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 4147 | −checksum = "18e5b8366ee7a95b16d32197d0b2604b43a0be89dc5fac9f8e96ccafbaedda8a" | |
| 4153 | +checksum = "e48ac77174b19c110a50ab2128b24215ac9cb40e0e12e093fb602d175c569d22" | |
| 4148 | 4154 | dependencies = [ |
| 4149 | − "byteorder", | |
| 4150 | 4155 | "bytes", |
| 4151 | 4156 | "data-encoding", |
| 4152 | 4157 | "http", |
@@ -4154,8 +4159,7 @@ dependencies = [
| 4154 | 4159 | "log", |
| 4155 | 4160 | "rand", |
| 4156 | 4161 | "sha1", |
| 4157 | − "thiserror 1.0.69", | |
| 4158 | − "utf-8", | |
| 4162 | + "thiserror 2.0.21", | |
| 4159 | 4163 | ] |
| 4160 | 4164 | |
| 4161 | 4165 | [[package]] |
@@ -4169,9 +4173,9 @@ dependencies = [
| 4169 | 4173 | |
| 4170 | 4174 | [[package]] |
| 4171 | 4175 | name = "typenum" |
| 4172 | −version = "1.19.0" | |
| 4176 | +version = "1.20.1" | |
| 4173 | 4177 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 4174 | −checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" | |
| 4178 | +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" | |
| 4175 | 4179 | |
| 4176 | 4180 | [[package]] |
| 4177 | 4181 | name = "uds_windows" |
@@ -4232,12 +4236,6 @@ dependencies = [
| 4232 | 4236 | "serde", |
| 4233 | 4237 | ] |
| 4234 | 4238 | |
| 4235 | −[[package]] | |
| 4236 | −name = "utf-8" | |
| 4237 | −version = "0.7.6" | |
| 4238 | −source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 4239 | −checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" | |
| 4240 | − | |
| 4241 | 4239 | [[package]] |
| 4242 | 4240 | name = "utf8_iter" |
| 4243 | 4241 | version = "1.0.4" |
@@ -4708,7 +4706,7 @@ version = "0.1.11"
| 4708 | 4706 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 4709 | 4707 | checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" |
| 4710 | 4708 | dependencies = [ |
| 4711 | − "windows-sys 0.48.0", | |
| 4709 | + "windows-sys 0.61.2", | |
| 4712 | 4710 | ] |
| 4713 | 4711 | |
| 4714 | 4712 | [[package]] |
modified
Cargo.toml
+1
−1
@@ -66,6 +66,6 @@ toml = "0.8.0"
| 66 | 66 | dirs = "5.0" |
| 67 | 67 | reqwest = { version = "0.12", features = ["blocking", "json"] } |
| 68 | 68 | tokio = { version = "1", features = ["full"] } |
| 69 | −tokio-tungstenite = "0.24" | |
| 69 | +tokio-tungstenite = "0.30" | |
| 70 | 70 | futures-util = "0.3" |
| 71 | 71 | paho-mqtt = "0.13" |
modified
src/main.rs
+5
−5
@@ -602,7 +602,7 @@ impl Koco {
| 602 | 602 | }); |
| 603 | 603 | |
| 604 | 604 | debug!("Requesting active players..."); |
| 605 | − if let Err(e) = ws_stream.send(Message::Text(get_active_players_msg.to_string())).await { | |
| 605 | + if let Err(e) = ws_stream.send(Message::Text(get_active_players_msg.to_string().into())).await { | |
| 606 | 606 | debug!("Failed to get active players: {}", e); |
| 607 | 607 | return; |
| 608 | 608 | } |
@@ -647,7 +647,7 @@ impl Koco {
| 647 | 647 | }, |
| 648 | 648 | "id": 4 |
| 649 | 649 | }); |
| 650 | − let _ = ws_stream.send(Message::Text(properties_msg.to_string())).await; | |
| 650 | + let _ = ws_stream.send(Message::Text(properties_msg.to_string().into())).await; | |
| 651 | 651 | |
| 652 | 652 | // Request current player info |
| 653 | 653 | let player_info_msg = serde_json::json!({ |
@@ -659,7 +659,7 @@ impl Koco {
| 659 | 659 | }, |
| 660 | 660 | "id": 2 |
| 661 | 661 | }); |
| 662 | − let _ = ws_stream.send(Message::Text(player_info_msg.to_string())).await; | |
| 662 | + let _ = ws_stream.send(Message::Text(player_info_msg.to_string().into())).await; | |
| 663 | 663 | } |
| 664 | 664 | "Player.OnPause" => { |
| 665 | 665 | warn!("Player paused"); |
@@ -761,7 +761,7 @@ impl Koco {
| 761 | 761 | }, |
| 762 | 762 | "id": 5 |
| 763 | 763 | }); |
| 764 | − let _ = ws_stream.send(Message::Text(properties_msg.to_string())).await; | |
| 764 | + let _ = ws_stream.send(Message::Text(properties_msg.to_string().into())).await; | |
| 765 | 765 | |
| 766 | 766 | // Then request item info |
| 767 | 767 | let player_info_msg = serde_json::json!({ |
@@ -773,7 +773,7 @@ impl Koco {
| 773 | 773 | }, |
| 774 | 774 | "id": 6 |
| 775 | 775 | }); |
| 776 | − let _ = ws_stream.send(Message::Text(player_info_msg.to_string())).await; | |
| 776 | + let _ = ws_stream.send(Message::Text(player_info_msg.to_string().into())).await; | |
| 777 | 777 | } |
| 778 | 778 | } |
| 779 | 779 | } |
Parents: 670854c