From 28bb57889e5fe387687510ae654956667dea697a Mon Sep 17 00:00:00 2001 From: MatthieuCoder Date: Sat, 21 Jan 2023 13:42:08 +0400 Subject: [PATCH] bump twilight to 0.14.2 --- Cargo.lock | 37 +++++++++++++------------------------ exes/cache/Cargo.toml | 2 +- exes/gateway/Cargo.toml | 4 ++-- exes/ratelimit/Cargo.toml | 2 +- exes/rest/Cargo.toml | 2 +- exes/webhook/Cargo.toml | 2 +- libs/shared/Cargo.toml | 2 +- 7 files changed, 20 insertions(+), 31 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0b7dcca..25e9483 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1919,7 +1919,7 @@ dependencies = [ "tracing-opentelemetry", "tracing-subscriber", "tracing-test", - "twilight-http-ratelimiting 0.14.0", + "twilight-http-ratelimiting", ] [[package]] @@ -2036,7 +2036,7 @@ dependencies = [ "tracing", "tracing-futures", "tracing-opentelemetry", - "twilight-http-ratelimiting 0.14.0", + "twilight-http-ratelimiting", "xxhash-rust", ] @@ -2938,9 +2938,9 @@ dependencies = [ [[package]] name = "twilight-gateway" -version = "0.14.0" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba43f8e8dc9f92f61c9ac4d339f7a8483c3ebef2b4f56fe62fb19e151dc79dae" +checksum = "77d7510817723d48c8795ac223d8684771fc0d452482416b97f0f48705495227" dependencies = [ "bitflags", "futures-util", @@ -2970,9 +2970,9 @@ dependencies = [ [[package]] name = "twilight-http" -version = "0.14.1" +version = "0.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ee78be1791a64c2670624f39cc60e66357ecd2cd739b7dd5fa6caf0d4ea116a" +checksum = "71fc42b2899deb14bb4a06515ea5122c664692ab0e7e97f5ba5471fe9756f0da" dependencies = [ "hyper", "hyper-rustls", @@ -2982,27 +2982,16 @@ dependencies = [ "serde_json", "tokio", "tracing", - "twilight-http-ratelimiting 0.14.1", + "twilight-http-ratelimiting", "twilight-model", "twilight-validate", ] [[package]] name = "twilight-http-ratelimiting" -version = "0.14.0" -source = "git+https://github.com/MatthieuCoder/twilight.git#a7953514373d3e3962435e6a539e0e2504a2c2fd" -dependencies = [ - "futures-util", - "http", - "tokio", - "tracing", -] - -[[package]] -name = "twilight-http-ratelimiting" -version = "0.14.1" +version = "0.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "138510dde92c0f394e0bbcd93203d616ff095fa1acc92f3bcfe6dbeaace24726" +checksum = "11aa98cc9392b252b32345d89dfac410b013059fe295a6fd2bbac72e0d6b9f38" dependencies = [ "futures-util", "http", @@ -3012,9 +3001,9 @@ dependencies = [ [[package]] name = "twilight-model" -version = "0.14.2" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b501e88e7d4c82c70090616a8efdeb82a9778968b6a6723caf2c78b57142525" +checksum = "3e086aa8c5bec5c65c948ab1d9866cab46383d290b398625c27d6d60638827ea" dependencies = [ "bitflags", "serde", @@ -3026,9 +3015,9 @@ dependencies = [ [[package]] name = "twilight-validate" -version = "0.14.1" +version = "0.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec229abc59e6a6d69044e4fb56a38411307ec059fe608b88995590a619bb84c6" +checksum = "d2e7889d81cb059ca6fdfba45876d7ea3707ea604e23533a0592f7909faffcd2" dependencies = [ "twilight-model", ] diff --git a/exes/cache/Cargo.toml b/exes/cache/Cargo.toml index 4dd7c97..7566c1b 100644 --- a/exes/cache/Cargo.toml +++ b/exes/cache/Cargo.toml @@ -20,7 +20,7 @@ serde = { version = "1.0.8", features = ["derive"] } serde_json = { version = "1.0" } async-nats = "0.26.0" -twilight-model = "0.14" +twilight-model = "0.14.2" anyhow = "1.0.68" tracing = "0.1.37" \ No newline at end of file diff --git a/exes/gateway/Cargo.toml b/exes/gateway/Cargo.toml index 3e6b8a5..eeee408 100644 --- a/exes/gateway/Cargo.toml +++ b/exes/gateway/Cargo.toml @@ -18,7 +18,7 @@ serde = { workspace = true } serde_json = { workspace = true } tokio-stream = "0.1.11" -twilight-gateway = { default-features = false, features = ["rustls-webpki-roots"], version = "0.14" } -twilight-model = "0.14" +twilight-gateway = { default-features = false, features = ["rustls-webpki-roots"], version = "0.14.1" } +twilight-model = "0.14.2" bytes = "1.3.0" async-nats = "0.26.0" diff --git a/exes/ratelimit/Cargo.toml b/exes/ratelimit/Cargo.toml index 5be1a34..079ec50 100644 --- a/exes/ratelimit/Cargo.toml +++ b/exes/ratelimit/Cargo.toml @@ -20,7 +20,7 @@ serde = { workspace = true } serde_json = { workspace = true } hyper = { workspace = true } -twilight-http-ratelimiting = { git = "https://github.com/MatthieuCoder/twilight.git" } +twilight-http-ratelimiting = "0.14.2" tonic = "0.8.3" tokio-stream = "0.1.11" redis = { version = "0.22.1", features = ["cluster", "connection-manager", "tokio-comp"] } diff --git a/exes/rest/Cargo.toml b/exes/rest/Cargo.toml index aed205f..d058a73 100644 --- a/exes/rest/Cargo.toml +++ b/exes/rest/Cargo.toml @@ -24,7 +24,7 @@ futures-util = "0.3.17" hyper-rustls = "0.23.2" lazy_static = "1.4.0" xxhash-rust = { version = "0.8.2", features = ["xxh32"] } -twilight-http-ratelimiting = { git = "https://github.com/MatthieuCoder/twilight.git" } +twilight-http-ratelimiting = "0.14.2" hashring = "0.3.0" tonic = "0.8.3" diff --git a/exes/webhook/Cargo.toml b/exes/webhook/Cargo.toml index 0078a70..f601a66 100644 --- a/exes/webhook/Cargo.toml +++ b/exes/webhook/Cargo.toml @@ -16,6 +16,6 @@ anyhow = { workspace = true } hex = "0.4.3" ed25519-dalek = "1" -twilight-model = { version = "0.14" } +twilight-model = "0.14.2" async-nats = "0.26.0" diff --git a/libs/shared/Cargo.toml b/libs/shared/Cargo.toml index 90e30ce..a9cd6b9 100644 --- a/libs/shared/Cargo.toml +++ b/libs/shared/Cargo.toml @@ -14,6 +14,6 @@ config = { version = "0.13", default-features = false, features = ["json", "yaml redis = { version = "0.22.1", features = ["cluster", "connection-manager", "tokio-comp"] } async-nats = "0.26.0" -twilight-model = "0.14" +twilight-model = "0.14.2" anyhow = "1.0.68" opentelemetry-otlp = "0.11.0" \ No newline at end of file -- 2.39.5