File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -21,19 +21,19 @@ members = ["simd-json-derive-int"]
2121
2222[dependencies ]
2323simd-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" }
2525itoa = " 1"
2626ryu = " 1"
2727chrono = { version = " 0.4" , optional = true }
28- simd-json = { version = " 0.14 .0" }
28+ simd-json = { version = " 0.15 .0" }
2929heap-array = { version = " 0.1.1" , optional = true }
30- thiserror = " 2.0.8 "
30+ thiserror = " 2.0"
3131
3232[dev-dependencies ]
3333serde_json = " 1"
3434serde = " 1"
3535criterion = " 0.5"
36- rand = " 0.8 "
36+ rand = " 0.9 "
3737
3838
3939[features ]
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ proc-macro = true
1515proc-macro2 = " 1.0"
1616quote = " 1.0"
1717syn = { 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 ]
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments