Skip to content

Commit 54ad6f2

Browse files
chore(deps): update rust crates (#140)
* 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>
1 parent d05a9cb commit 54ad6f2

File tree

3 files changed

+57
-59
lines changed

3 files changed

+57
-59
lines changed

Cargo.lock

Lines changed: 44 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,23 @@ path = "benches/bench.rs"
3030
harness = false
3131

3232
[dependencies]
33-
serde = { version = "1", features = ["derive", "rc"] }
34-
serde_json = "1"
35-
dyn-clone = "1"
36-
rustc-hash = "1"
37-
dashmap = "5"
38-
memchr = "2.6.4"
33+
serde = { version = "1.0.216", features = ["derive", "rc"] }
34+
serde_json = "1.0.133"
35+
dyn-clone = "1.0.17"
36+
rustc-hash = "1.1.0"
37+
dashmap = "5.5.3"
38+
memchr = "2.7.4"
3939
itertools = "0.13"
4040

4141

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

4646
[dev-dependencies]
47-
twox-hash = "1"
48-
base64-simd = "0.7"
49-
regex = "1.10.2"
47+
twox-hash = "1.6.3"
48+
base64-simd = "0.8.0"
49+
regex = "1.11.1"
5050
criterion = { version = "0.5.1", default-features = false }
5151

5252
[features]

benches/bench.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ fn benchmark_concat_generate_base64(b: &mut Bencher) {
130130
.unwrap()
131131
.to_json()
132132
.unwrap();
133-
base64_simd::Base64::STANDARD.encode_to_boxed_str(json.as_bytes());
133+
let _ = base64_simd::STANDARD.encode_to_string(json.as_bytes());
134134
})
135135
}
136136

@@ -160,7 +160,7 @@ fn benchmark_concat_generate_base64_with_cache(b: &mut Bencher) {
160160
.unwrap()
161161
.to_json()
162162
.unwrap();
163-
base64_simd::Base64::STANDARD.encode_to_boxed_str(json.as_bytes());
163+
let _ = base64_simd::STANDARD.encode_to_string(json.as_bytes());
164164
})
165165
}
166166

0 commit comments

Comments
 (0)