Skip to content

Commit

Permalink
build(gateway, http): Allow simd-json 0.8 and 0.9 (twilight-rs#2202)
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
  • Loading branch information
Gelbpunkt authored Apr 26, 2023
1 parent 135bd73 commit 77f18ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion twilight-gateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion twilight-http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 77f18ae

Please sign in to comment.