diff --git a/Cargo.lock b/Cargo.lock index d114528..da22141 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -108,6 +108,8 @@ version = "1.2.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "deec109607ca693028562ed836a5f1c4b8bd77755c4e132fc5ce11b0b6211ae7" dependencies = [ + "jobserver", + "libc", "shlex", ] @@ -149,15 +151,6 @@ version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" -[[package]] -name = "crc32fast" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" -dependencies = [ - "cfg-if", -] - [[package]] name = "crossbeam-utils" version = "0.8.21" @@ -210,8 +203,8 @@ dependencies = [ "tracing", "twilight-cache-inmemory", "twilight-gateway", - "twilight-http", - "twilight-model", + "twilight-http 0.16.0", + "twilight-model 0.16.0", "twilight-util", ] @@ -221,17 +214,6 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" -[[package]] -name = "flate2" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a3d7db9596fecd151c5f638c0ee5d5bd487b6e0ea232e5dc96d5250f6f94b1d" -dependencies = [ - "crc32fast", - "libz-sys", - "miniz_oxide", -] - [[package]] name = "fnv" version = "1.0.7" @@ -288,6 +270,18 @@ dependencies = [ "wasi", ] +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if", + "libc", + "r-efi", + "wasip2", +] + [[package]] name = "gimli" version = "0.31.1" @@ -325,6 +319,12 @@ version = "0.15.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5971ac85611da7067dbfcabef3c70ebb5606018acd9e2a3903a0da507521e0d5" +[[package]] +name = "hashbrown" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" + [[package]] name = "http" version = "1.3.1" @@ -396,7 +396,7 @@ dependencies = [ "hyper-util", "rustls", "rustls-pki-types", - "rustls-platform-verifier 0.6.0", + "rustls-platform-verifier", "tokio", "tokio-rustls", "tower-service", @@ -473,21 +473,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" [[package]] -name = "libc" -version = "0.2.174" +name = "jobserver" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776" +checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" +dependencies = [ + "getrandom 0.3.4", + "libc", +] [[package]] -name = "libz-sys" -version = "1.1.22" +name = "libc" +version = "0.2.174" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b70e7a7df205e92a1a4cd9aaae7898dac0aa555503cc0a649494d0d60e7651d" -dependencies = [ - "cc", - "pkg-config", - "vcpkg", -] +checksum = "1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776" [[package]] name = "lock_api" @@ -647,6 +646,12 @@ dependencies = [ "proc-macro2", ] +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + [[package]] name = "redox_syscall" version = "0.5.15" @@ -693,7 +698,7 @@ checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" dependencies = [ "cc", "cfg-if", - "getrandom", + "getrandom 0.2.16", "libc", "untrusted", "windows-sys 0.52.0", @@ -740,27 +745,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "rustls-platform-verifier" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19787cda76408ec5404443dc8b31795c87cd8fec49762dc75fa727740d34acc1" -dependencies = [ - "core-foundation", - "core-foundation-sys", - "jni", - "log", - "once_cell", - "rustls", - "rustls-native-certs", - "rustls-platform-verifier-android", - "rustls-webpki", - "security-framework", - "security-framework-sys", - "webpki-root-certs 0.26.11", - "windows-sys 0.59.0", -] - [[package]] name = "rustls-platform-verifier" version = "0.6.0" @@ -778,7 +762,7 @@ dependencies = [ "rustls-webpki", "security-framework", "security-framework-sys", - "webpki-root-certs 1.0.2", + "webpki-root-certs", "windows-sys 0.59.0", ] @@ -1082,14 +1066,15 @@ dependencies = [ "futures-core", "futures-sink", "pin-project-lite", + "slab", "tokio", ] [[package]] name = "tokio-websockets" -version = "0.11.4" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fcaf159b4e7a376b05b5bfd77bfd38f3324f5fce751b4213bfc7eaa47affb4e" +checksum = "8b6aa6c8b5a31e06fd3760eb5c1b8d9072e30731f0467ee3795617fe768e7449" dependencies = [ "base64", "bytes", @@ -1098,9 +1083,8 @@ dependencies = [ "futures-sink", "http", "httparse", - "ring", "rustls-pki-types", - "rustls-platform-verifier 0.5.3", + "rustls-platform-verifier", "sha1_smol", "simdutf8", "tokio", @@ -1160,18 +1144,17 @@ dependencies = [ "bitflags", "dashmap", "serde", - "twilight-model", + "twilight-model 0.16.0", ] [[package]] name = "twilight-gateway" -version = "0.16.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "863ef55467bcf6a2958162766fd0b72f33112e36971b37f9ec09b86d4fd0f7d1" +checksum = "59267541c31f888c1587da5e7cbab182ae6efd98faedd9ea2e35a4eef43ff204" dependencies = [ "bitflags", "fastrand", - "flate2", "futures-core", "futures-sink", "serde", @@ -1180,15 +1163,16 @@ dependencies = [ "tokio-websockets", "tracing", "twilight-gateway-queue", - "twilight-http", - "twilight-model", + "twilight-http 0.17.1", + "twilight-model 0.17.1", + "zstd-safe", ] [[package]] name = "twilight-gateway-queue" -version = "0.16.0" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27c962bd4693da0a215abe6b431fd73eb87111f49c431b87951780f9f7985002" +checksum = "366a73fe47f61a3d522c3aaf70475e60634b0ae59e7b94272ed7496fffa7ceb7" dependencies = [ "tokio", "tracing", @@ -1213,9 +1197,30 @@ dependencies = [ "serde_json", "tokio", "tracing", - "twilight-http-ratelimiting", - "twilight-model", - "twilight-validate", + "twilight-http-ratelimiting 0.16.0", + "twilight-model 0.16.0", + "twilight-validate 0.16.0", +] + +[[package]] +name = "twilight-http" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05b868001d7bfb953732b3f1cd92f63cb88cd2ea902f590b1d084c66aea60e48" +dependencies = [ + "fastrand", + "http", + "http-body-util", + "hyper", + "hyper-util", + "percent-encoding", + "serde", + "serde_json", + "tokio", + "tracing", + "twilight-http-ratelimiting 0.17.1", + "twilight-model 0.17.1", + "twilight-validate 0.17.0", ] [[package]] @@ -1228,6 +1233,18 @@ dependencies = [ "tracing", ] +[[package]] +name = "twilight-http-ratelimiting" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0515b0c30814068a7540fcb5f58b634259ca453fa335d42c3b2c8f2b06ac6a59" +dependencies = [ + "hashbrown 0.16.1", + "tokio", + "tokio-util", + "tracing", +] + [[package]] name = "twilight-model" version = "0.16.0" @@ -1241,14 +1258,27 @@ dependencies = [ "time", ] +[[package]] +name = "twilight-model" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bf6bb7b93a7f765d89b3388cc710c0ae16104579e06bb30ea1ee6bd41420a8b" +dependencies = [ + "bitflags", + "serde", + "serde-value", + "serde_repr", + "time", +] + [[package]] name = "twilight-util" version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5777d71286611c1639021f5f6e6b40300eb8da278449ac1cf6da01c94053425" dependencies = [ - "twilight-model", - "twilight-validate", + "twilight-model 0.16.0", + "twilight-validate 0.16.0", ] [[package]] @@ -1257,7 +1287,16 @@ version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49f8d106028ede53708526364b03318bbf846babe146e3ff9e39821a0ca25ff4" dependencies = [ - "twilight-model", + "twilight-model 0.16.0", +] + +[[package]] +name = "twilight-validate" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6a27472e023e3841d1c4e4e20253ed796e8440aada8b5205b8544f1172e661d" +dependencies = [ + "twilight-model 0.17.1", ] [[package]] @@ -1272,12 +1311,6 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" -[[package]] -name = "vcpkg" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" - [[package]] name = "walkdir" version = "2.5.0" @@ -1304,12 +1337,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" [[package]] -name = "webpki-root-certs" -version = "0.26.11" +name = "wasip2" +version = "1.0.1+wasi-0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75c7f0ef91146ebfb530314f5f1d24528d7f0767efbfd31dce919275413e393e" +checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" dependencies = [ - "webpki-root-certs 1.0.2", + "wit-bindgen", ] [[package]] @@ -1478,8 +1511,33 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" +[[package]] +name = "wit-bindgen" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" + [[package]] name = "zeroize" version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" + +[[package]] +name = "zstd-safe" +version = "7.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d" +dependencies = [ + "zstd-sys", +] + +[[package]] +name = "zstd-sys" +version = "2.0.16+zstd.1.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748" +dependencies = [ + "cc", + "pkg-config", +] diff --git a/Cargo.toml b/Cargo.toml index 47ffc46..1d916eb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ regex = "1.11.1" tokio = { version = "1.46.1", features = ["full"] } tracing = "0.1.41" twilight-cache-inmemory = "0.16.0" -twilight-gateway = "0.16.0" +twilight-gateway = "0.17.0" twilight-http = "0.16.0" twilight-model = "0.16.0" twilight-util = { version = "0.16.0", features = ["builder", "snowflake"] }