ws: update simd-json to v0.12

This commit is contained in:
Joakim Frostegård 2023-10-18 23:24:53 +02:00
parent c2f7b6ed92
commit 3835da22ac
5 changed files with 12 additions and 9 deletions

View file

@ -20,6 +20,11 @@
* Add support for reporting peer client information
#### Changed
* Compiling with SIMD extensions enabled is no longer required, due to the
addition of runtime detection to simd-json
## 0.8.0 - 2023-03-17
### General

4
Cargo.lock generated
View file

@ -2437,9 +2437,9 @@ dependencies = [
[[package]]
name = "simd-json"
version = "0.10.7"
version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "80ea1dfc2c400965867fc4ddd6f502572be2de2074b39f90984ed15fbdbdd8eb"
checksum = "f0f07a84c7456b901b8dd2c1d44caca8b0fd2c2616206ee5acc9d9da61e8d9ec"
dependencies = [
"getrandom",
"halfbrown",

View file

@ -42,11 +42,10 @@ Known users:
- Build the implementations that you are interested in:
```sh
# Tell Rust to enable support for all SIMD extensions present on current CPU
# except for those relating to AVX-512. SIMD is required for aquatic_ws and
# recommended for the other implementations. If you run a processor that
# doesn't clock down when using AVX-512, you can enable those instructions
# too.
# Recommended: tell Rust to enable support for all SIMD extensions present on
# current CPU except for those relating to AVX-512. (If you run a processor
# that doesn't clock down when using AVX-512, you can enable those instructions
# too.)
. ./scripts/env-native-cpu-without-avx-512
cargo build --release -p aquatic_udp

View file

@ -148,7 +148,6 @@ impl Connection {
};
self.stream.send(request.to_ws_message()).await?;
self.stream.flush().await?;
self.load_test_state
.statistics

View file

@ -24,7 +24,7 @@ anyhow = "1"
hashbrown = { version = "0.14", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
simd-json = { version = "0.10", features = ["allow-non-simd"] }
simd-json = "0.12"
tungstenite = "0.20"
[dev-dependencies]