mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
ws: update simd-json to v0.12
This commit is contained in:
parent
c2f7b6ed92
commit
3835da22ac
5 changed files with 12 additions and 9 deletions
|
|
@ -20,6 +20,11 @@
|
||||||
|
|
||||||
* Add support for reporting peer client information
|
* 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
|
## 0.8.0 - 2023-03-17
|
||||||
|
|
||||||
### General
|
### General
|
||||||
|
|
|
||||||
4
Cargo.lock
generated
4
Cargo.lock
generated
|
|
@ -2437,9 +2437,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "simd-json"
|
name = "simd-json"
|
||||||
version = "0.10.7"
|
version = "0.12.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "80ea1dfc2c400965867fc4ddd6f502572be2de2074b39f90984ed15fbdbdd8eb"
|
checksum = "f0f07a84c7456b901b8dd2c1d44caca8b0fd2c2616206ee5acc9d9da61e8d9ec"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"getrandom",
|
"getrandom",
|
||||||
"halfbrown",
|
"halfbrown",
|
||||||
|
|
|
||||||
|
|
@ -42,11 +42,10 @@ Known users:
|
||||||
- Build the implementations that you are interested in:
|
- Build the implementations that you are interested in:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Tell Rust to enable support for all SIMD extensions present on current CPU
|
# Recommended: tell Rust to enable support for all SIMD extensions present on
|
||||||
# except for those relating to AVX-512. SIMD is required for aquatic_ws and
|
# current CPU except for those relating to AVX-512. (If you run a processor
|
||||||
# recommended for the other implementations. If you run a processor that
|
# that doesn't clock down when using AVX-512, you can enable those instructions
|
||||||
# doesn't clock down when using AVX-512, you can enable those instructions
|
# too.)
|
||||||
# too.
|
|
||||||
. ./scripts/env-native-cpu-without-avx-512
|
. ./scripts/env-native-cpu-without-avx-512
|
||||||
|
|
||||||
cargo build --release -p aquatic_udp
|
cargo build --release -p aquatic_udp
|
||||||
|
|
|
||||||
|
|
@ -148,7 +148,6 @@ impl Connection {
|
||||||
};
|
};
|
||||||
|
|
||||||
self.stream.send(request.to_ws_message()).await?;
|
self.stream.send(request.to_ws_message()).await?;
|
||||||
self.stream.flush().await?;
|
|
||||||
|
|
||||||
self.load_test_state
|
self.load_test_state
|
||||||
.statistics
|
.statistics
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ anyhow = "1"
|
||||||
hashbrown = { version = "0.14", features = ["serde"] }
|
hashbrown = { version = "0.14", features = ["serde"] }
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde_json = "1"
|
serde_json = "1"
|
||||||
simd-json = { version = "0.10", features = ["allow-non-simd"] }
|
simd-json = "0.12"
|
||||||
tungstenite = "0.20"
|
tungstenite = "0.20"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue