Support simd_json (#105)
This PR adds support for the simd-json library whenever decoding or encoding JSON responses. This may be enabled independently of serenity and twilight support for SIMD acceleration. Co-authored-by: Kyle Simpson <kyleandrew.simpson@gmail.com>
This commit is contained in:
committed by
Kyle Simpson
parent
8cc7a22b0b
commit
cb0a74f511
@@ -104,6 +104,11 @@ features = ["voice", "gateway"]
|
||||
optional = true
|
||||
version = "0.1"
|
||||
|
||||
[dependencies.simd-json]
|
||||
optional = true
|
||||
features = ["serde_impl"]
|
||||
version = "0.6.0"
|
||||
|
||||
[dependencies.streamcatcher]
|
||||
optional = true
|
||||
version = "1"
|
||||
@@ -225,6 +230,8 @@ zlib-simd = ["twilight-gateway/zlib-simd"]
|
||||
zlib-stock = ["twilight-gateway/zlib-stock"]
|
||||
serenity-deps = ["async-trait"]
|
||||
|
||||
simdjson = []
|
||||
|
||||
rustls-marker = []
|
||||
native-marker = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user