diff --git a/Cargo.lock b/Cargo.lock index 5863eb6..6d18c87 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -418,9 +418,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.92" +version = "1.0.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74f37166d7d48a0284b99dd824694c26119c700b53bf0d1540cdb147dbdaaf13" +checksum = "4c95c10ba0b00a02636238b814946408b1322d5ac4760326e6fb8ec956d85775" [[package]] name = "arc-swap" @@ -991,7 +991,7 @@ dependencies = [ "console", "shell-words", "tempfile", - "thiserror", + "thiserror 1.0.69", "zeroize", ] @@ -1197,7 +1197,7 @@ dependencies = [ "rand", "sha1", "simdutf8", - "thiserror", + "thiserror 1.0.69", "tokio", "utf-8", ] @@ -2550,7 +2550,7 @@ dependencies = [ "memchr", "parking_lot", "protobuf", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2843,7 +2843,7 @@ dependencies = [ "serde_qs", "sha2", "sqlx", - "thiserror", + "thiserror 2.0.3", "time", "tokio", "tokio-stream", @@ -3075,7 +3075,7 @@ checksum = "cd34f36fe4c5ba9654417139a9b3a20d2e1de6012ee678ad14d240c22c78d8d6" dependencies = [ "percent-encoding", "serde", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3197,7 +3197,7 @@ checksum = "adc4e5204eb1910f40f9cfa375f6f05b68c3abac4b6fd879c8ff5e7ae8a0a085" dependencies = [ "num-bigint", "num-traits", - "thiserror", + "thiserror 1.0.69", "time", ] @@ -3311,7 +3311,7 @@ dependencies = [ "sha2", "smallvec", "sqlformat", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-stream", "tracing", @@ -3395,7 +3395,7 @@ dependencies = [ "smallvec", "sqlx-core", "stringprep", - "thiserror", + "thiserror 1.0.69", "tracing", "whoami", ] @@ -3434,7 +3434,7 @@ dependencies = [ "smallvec", "sqlx-core", "stringprep", - "thiserror", + "thiserror 1.0.69", "tracing", "whoami", ] @@ -3596,18 +3596,38 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.68" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02dd99dc800bbb97186339685293e1cc5d9df1f8fae2d0aecd9ff1c77efea892" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c006c85c7651b3cf2ada4584faa36773bd07bac24acfb39f3c431b36d7e667aa" +dependencies = [ + "thiserror-impl 2.0.3", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", ] [[package]] name = "thiserror-impl" -version = "1.0.68" +version = "2.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7c61ec9a6f64d2793d8a45faba21efbe3ced62a886d44c36a009b2b519b4c7e" +checksum = "f077553d607adc1caf65430528a576c757a71ed73944b66ebb58ef2bbd243568" dependencies = [ "proc-macro2", "quote", @@ -3672,9 +3692,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.41.0" +version = "1.41.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "145f3413504347a2be84393cc8a7d2fb4d863b375909ea59f2158261aa258bbb" +checksum = "22cfb5bee7a6a52939ca9224d6ac897bb669134078daa8735560897f69de4d33" dependencies = [ "backtrace", "bytes", @@ -3881,7 +3901,7 @@ dependencies = [ "reqwest 0.11.27", "serde", "smallvec", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-native-tls", "tokio-stream", @@ -3892,10 +3912,10 @@ dependencies = [ [[package]] name = "twitch-pubsub" version = "0.3.0" -source = "git+https://github.com/Nerixyz/twitch-pubsub-rs#82fcf3e799732b7af3335a5e86ce84cfa7faf093" +source = "git+https://github.com/Nerixyz/twitch-pubsub-rs#09a1e9444ebe157ade58465ad079eaecf4793152" dependencies = [ "rand", - "thiserror", + "thiserror 2.0.3", "tokio", "tracing", "twitch_api", @@ -3906,7 +3926,7 @@ dependencies = [ [[package]] name = "twitch_api" version = "0.7.0-rc.8" -source = "git+https://github.com/twitch-rs/twitch_api.git#50de34947402779aa440885dcd67c91d3fa8839e" +source = "git+https://github.com/twitch-rs/twitch_api.git#120c8e31c1f7b62dd2ebddd2763522cc76336b20" dependencies = [ "aliri_braid", "async-trait", @@ -3920,7 +3940,7 @@ dependencies = [ "serde_derive", "serde_json", "serde_path_to_error", - "thiserror", + "thiserror 1.0.69", "tower", "twitch_oauth2 0.14.0", "twitch_types", @@ -3946,7 +3966,7 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "thiserror", + "thiserror 1.0.69", "twitch_types", "url", ] @@ -3954,7 +3974,7 @@ dependencies = [ [[package]] name = "twitch_oauth2" version = "0.14.0" -source = "git+https://github.com/twitch-rs/twitch_api.git#50de34947402779aa440885dcd67c91d3fa8839e" +source = "git+https://github.com/twitch-rs/twitch_api.git#120c8e31c1f7b62dd2ebddd2763522cc76336b20" dependencies = [ "aliri_braid", "async-trait", @@ -3967,15 +3987,15 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "thiserror", + "thiserror 1.0.69", "twitch_types", "url", ] [[package]] name = "twitch_types" -version = "0.4.6" -source = "git+https://github.com/twitch-rs/twitch_api.git#50de34947402779aa440885dcd67c91d3fa8839e" +version = "0.4.7" +source = "git+https://github.com/twitch-rs/twitch_api.git#120c8e31c1f7b62dd2ebddd2763522cc76336b20" dependencies = [ "serde", "serde_derive", @@ -4526,7 +4546,7 @@ checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51" [[package]] name = "ws-pool" version = "0.1.0" -source = "git+https://github.com/nerixyz/ws-pool#902d4f222f1f55a85496075bb3c076f52344b49f" +source = "git+https://github.com/nerixyz/ws-pool#0fe900a1defceed522af4b898667aa2aeb44122c" dependencies = [ "fastwebsockets", "http 1.1.0", @@ -4535,7 +4555,7 @@ dependencies = [ "hyper-util", "rand", "simd-json", - "thiserror", + "thiserror 2.0.3", "tokio", "tokio-rustls", "tracing", diff --git a/Cargo.toml b/Cargo.toml index 96b1b4e..06fc425 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -79,7 +79,7 @@ anyhow = "1.0" errors = { git = "https://github.com/Nerixyz/nerix-utils-rs" } derive_more = { version = "1.0", features = ["display"] } async-trait = "0.1" -thiserror = "1.0" +thiserror = "2.0" itertools = "0.13.0" paste = "1.0"