Commit 8f0f9818e9
8f0f9818e9883620575c167f596b73a1fa9b8dfc
parent: 511a2fd9e8
Unsigned
Jakub Panek <me@panekj.dev> · 2024-10-14 13:23 UTC
committer: <poljar@termina.org.uk>
chore: remove duplicate strum dependency
Layout: unified · split
Cargo.lock
+18 −18
| @@ -278,7 +278,7 @@ dependencies = [ |
| 278 | 278 | "bitflags 2.6.0", |
| 279 | 279 | "cexpr", |
| 280 | 280 | "clang-sys", |
| 281 | | "itertools 0.10.1", |
| 281 | "itertools 0.12.1", |
| 282 | 282 | "log", |
| 283 | 283 | "prettyplease", |
| 284 | 284 | "proc-macro2", |
| @@ -1098,12 +1098,9 @@ dependencies = [ |
| 1098 | 1098 | |
| 1099 | 1099 | [[package]] |
| 1100 | 1100 | name = "heck" |
| 1101 | | version = "0.3.3" |
| 1101 | version = "0.4.1" |
| 1102 | 1102 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 1103 | | checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" |
| 1104 | | dependencies = [ |
| 1105 | | "unicode-segmentation", |
| 1106 | | ] |
| 1103 | checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" |
| 1107 | 1104 | |
| 1108 | 1105 | [[package]] |
| 1109 | 1106 | name = "hermit-abi" |
| @@ -2142,7 +2139,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" |
| 2142 | 2139 | checksum = "e9552f850d5f0964a4e4d0bf306459ac29323ddfbae05e35a7c0d35cb0803cc5" |
| 2143 | 2140 | dependencies = [ |
| 2144 | 2141 | "anyhow", |
| 2145 | | "itertools 0.10.1", |
| 2142 | "itertools 0.12.1", |
| 2146 | 2143 | "proc-macro2", |
| 2147 | 2144 | "quote", |
| 2148 | 2145 | "syn 2.0.79", |
| @@ -2485,6 +2482,12 @@ dependencies = [ |
| 2485 | 2482 | "windows-sys 0.52.0", |
| 2486 | 2483 | ] |
| 2487 | 2484 | |
| 2485 | [[package]] |
| 2486 | name = "rustversion" |
| 2487 | version = "1.0.17" |
| 2488 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 2489 | checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" |
| 2490 | |
| 2488 | 2491 | [[package]] |
| 2489 | 2492 | name = "ryu" |
| 2490 | 2493 | version = "1.0.18" |
| @@ -2705,27 +2708,25 @@ version = "0.8.0" |
| 2705 | 2708 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 2706 | 2709 | checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" |
| 2707 | 2710 | |
| 2708 | | [[package]] |
| 2709 | | name = "strum" |
| 2710 | | version = "0.20.0" |
| 2711 | | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 2712 | | checksum = "7318c509b5ba57f18533982607f24070a55d353e90d4cae30c467cdb2ad5ac5c" |
| 2713 | | |
| 2714 | 2711 | [[package]] |
| 2715 | 2712 | name = "strum" |
| 2716 | 2713 | version = "0.24.1" |
| 2717 | 2714 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 2718 | 2715 | checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" |
| 2716 | dependencies = [ |
| 2717 | "strum_macros", |
| 2718 | ] |
| 2719 | 2719 | |
| 2720 | 2720 | [[package]] |
| 2721 | 2721 | name = "strum_macros" |
| 2722 | | version = "0.20.1" |
| 2722 | version = "0.24.3" |
| 2723 | 2723 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 2724 | | checksum = "ee8bc6b87a5112aeeab1f4a9f7ab634fe6cbefc4850006df31267f4cfb9e3149" |
| 2724 | checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" |
| 2725 | 2725 | dependencies = [ |
| 2726 | 2726 | "heck", |
| 2727 | 2727 | "proc-macro2", |
| 2728 | 2728 | "quote", |
| 2729 | "rustversion", |
| 2729 | 2730 | "syn 1.0.99", |
| 2730 | 2731 | ] |
| 2731 | 2732 | |
| @@ -3330,7 +3331,7 @@ dependencies = [ |
| 3330 | 3331 | "libc", |
| 3331 | 3332 | "paste", |
| 3332 | 3333 | "pipe-channel", |
| 3333 | | "strum 0.24.1", |
| 3334 | "strum", |
| 3334 | 3335 | "weechat-macro", |
| 3335 | 3336 | "weechat-sys", |
| 3336 | 3337 | ] |
| @@ -3355,8 +3356,7 @@ dependencies = [ |
| 3355 | 3356 | "dashmap", |
| 3356 | 3357 | "matrix-sdk", |
| 3357 | 3358 | "serde_json", |
| 3358 | | "strum 0.20.0", |
| 3359 | | "strum_macros", |
| 3359 | "strum", |
| 3360 | 3360 | "tokio", |
| 3361 | 3361 | "tracing", |
| 3362 | 3362 | "tracing-subscriber", |
Cargo.toml
+1 −2
| @@ -19,8 +19,7 @@ chrono = "0.4.22" |
| 19 | 19 | dashmap = "5.4.0" |
| 20 | 20 | url = "2.3.1" |
| 21 | 21 | serde_json = "1.0.85" |
| 22 | | strum = "0.20.0" |
| 23 | | strum_macros = "0.20.1" |
| 22 | strum = { version = "0.24.0", features = ["derive"] } |
| 24 | 23 | tokio = { version = "1.21.1", features = ["rt-multi-thread", "sync"] } |
| 25 | 24 | tracing = "0.1.36" |
| 26 | 25 | tracing-subscriber = { version = "0.3.15", features = ["env-filter"] } |
src/config.rs
+1 −2
| @@ -20,8 +20,7 @@ use std::{ |
| 20 | 20 | rc::Rc, |
| 21 | 21 | }; |
| 22 | 22 | |
| 23 | | use strum::VariantNames; |
| 24 | | use strum_macros::EnumVariantNames; |
| 23 | use strum::{EnumVariantNames, VariantNames}; |
| 25 | 24 | use weechat::{ |
| 26 | 25 | config, |
| 27 | 26 | config::{ |