Skip to content

Commit

Permalink
chore(deps): update rust crates (#140)
Browse files Browse the repository at this point in the history
* chore(deps): update rust crates

* fix

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hana <andywangsy@gmail.com>
  • Loading branch information
renovate[bot] and h-a-n-a authored Dec 12, 2024
1 parent d05a9cb commit 54ad6f2
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 59 deletions.
90 changes: 44 additions & 46 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,23 @@ path = "benches/bench.rs"
harness = false

[dependencies]
serde = { version = "1", features = ["derive", "rc"] }
serde_json = "1"
dyn-clone = "1"
rustc-hash = "1"
dashmap = "5"
memchr = "2.6.4"
serde = { version = "1.0.216", features = ["derive", "rc"] }
serde_json = "1.0.133"
dyn-clone = "1.0.17"
rustc-hash = "1.1.0"
dashmap = "5.5.3"
memchr = "2.7.4"
itertools = "0.13"


codspeed-criterion-compat = { version = "2.3.3", default-features = false, optional = true }
codspeed-criterion-compat = { version = "2.7.2", default-features = false, optional = true }
static_assertions = "1.1.0"
simd-json = "=0.14.0-rc.2"
simd-json = "=0.14.3"

[dev-dependencies]
twox-hash = "1"
base64-simd = "0.7"
regex = "1.10.2"
twox-hash = "1.6.3"
base64-simd = "0.8.0"
regex = "1.11.1"
criterion = { version = "0.5.1", default-features = false }

[features]
Expand Down
4 changes: 2 additions & 2 deletions benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ fn benchmark_concat_generate_base64(b: &mut Bencher) {
.unwrap()
.to_json()
.unwrap();
base64_simd::Base64::STANDARD.encode_to_boxed_str(json.as_bytes());
let _ = base64_simd::STANDARD.encode_to_string(json.as_bytes());
})
}

Expand Down Expand Up @@ -160,7 +160,7 @@ fn benchmark_concat_generate_base64_with_cache(b: &mut Bencher) {
.unwrap()
.to_json()
.unwrap();
base64_simd::Base64::STANDARD.encode_to_boxed_str(json.as_bytes());
let _ = base64_simd::STANDARD.encode_to_string(json.as_bytes());
})
}

Expand Down

0 comments on commit 54ad6f2

Please sign in to comment.