Skip to content

Commit 97dc96c

Browse files
committed
bumps
Signed-off-by: Heinz N. Gies <[email protected]>
1 parent e17eddd commit 97dc96c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ members = ["simd-json-derive-int"]
2121

2222
[dependencies]
2323
simd-json-derive-int = { path = "./simd-json-derive-int", version = "0.15.0" }
24-
value-trait = { version = "0.10.0" }
24+
value-trait = { version = "0.11.0" }
2525
itoa = "1"
2626
ryu = "1"
2727
chrono = { version = "0.4", optional = true }
28-
simd-json = { version = "0.14.0" }
28+
simd-json = { version = "0.15.0" }
2929
heap-array = { version = "0.1.1", optional = true }
30-
thiserror = "2.0.8"
30+
thiserror = "2.0"
3131

3232
[dev-dependencies]
3333
serde_json = "1"
3434
serde = "1"
3535
criterion = "0.5"
36-
rand = "0.8"
36+
rand = "0.9"
3737

3838

3939
[features]

simd-json-derive-int/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ proc-macro = true
1515
proc-macro2 = "1.0"
1616
quote = "1.0"
1717
syn = { version = "2.0", features = ["visit", "extra-traits"] }
18-
simd-json = { version = "0.14.0" }
19-
thiserror = "1.0.65"
18+
simd-json = { version = "0.15.0" }
19+
thiserror = "2"
2020

2121

2222
[features]

src/impls/simdjson.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ impl OwnedDeser<'_, '_> {
5353
if let OwnedValue::Object(ref mut res) = res {
5454
for _ in 0..len {
5555
if let Some(Node::String(key)) = self.0.next() {
56-
res.insert_nocheck(key.into(), self.parse());
56+
unsafe { res.insert_nocheck(key.into(), self.parse()) };
5757
} else {
5858
unreachable!("We have validated the tape in the second stage of parsing, this should never happen")
5959
}
@@ -104,7 +104,7 @@ impl<'input> BorrowedDeser<'input, '_> {
104104
if let BorrowedValue::Object(ref mut res) = res {
105105
for _ in 0..len {
106106
if let Some(Node::String(key)) = self.0.next() {
107-
res.insert_nocheck(key.into(), self.parse());
107+
unsafe { res.insert_nocheck(key.into(), self.parse()) };
108108
} else {
109109
unreachable!("We have validated the tape in the second stage of parsing, this should never happen")
110110
}

0 commit comments

Comments
 (0)