From 77f18aef654b86f41e90eaea66421bd2b7efcbf4 Mon Sep 17 00:00:00 2001 From: Jens Reidel Date: Wed, 26 Apr 2023 20:58:01 +0200 Subject: [PATCH] build(gateway, http): Allow simd-json 0.8 and 0.9 (#2202) Signed-off-by: Jens Reidel --- twilight-gateway/Cargo.toml | 2 +- twilight-http/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/twilight-gateway/Cargo.toml b/twilight-gateway/Cargo.toml index 0a7a20313dc..a2e70cd7ea8 100644 --- a/twilight-gateway/Cargo.toml +++ b/twilight-gateway/Cargo.toml @@ -32,7 +32,7 @@ twilight-model = { default-features = false, path = "../twilight-model", version # https://github.com/alexcrichton/flate2-rs/issues/217 flate2 = { default-features = false, optional = true, version = "1.0.24" } twilight-http = { default-features = false, optional = true, path = "../twilight-http", version = "0.15.1" } -simd-json = { default-features = false, features = ["serde_impl", "swar-number-parsing"], optional = true, version = ">=0.4, <0.8" } +simd-json = { default-features = false, features = ["serde_impl", "swar-number-parsing"], optional = true, version = ">=0.4, <0.10" } # TLS libraries # They are needed to track what is used in tokio-tungstenite diff --git a/twilight-http/Cargo.toml b/twilight-http/Cargo.toml index 23369515c7e..438292aa74c 100644 --- a/twilight-http/Cargo.toml +++ b/twilight-http/Cargo.toml @@ -30,7 +30,7 @@ twilight-validate = { default-features = false, path = "../twilight-validate", v # Optional dependencies. brotli = { default-features = false, features = ["std"], optional = true, version = "3.0.0" } -simd-json = { default-features = false, features = ["serde_impl", "swar-number-parsing"], optional = true, version = ">=0.4, <0.8" } +simd-json = { default-features = false, features = ["serde_impl", "swar-number-parsing"], optional = true, version = ">=0.4, <0.10" } [features] default = ["decompression", "rustls-native-roots"]