Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "simd-json-derive"
version = "0.16.1"
version = "0.17.0"
authors = ["Heinz N. Gies <[email protected]>"]
edition = "2021"
license = "Apache-2.0/MIT"
Expand All @@ -20,12 +20,12 @@ members = ["simd-json-derive-int"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
simd-json-derive-int = { path = "./simd-json-derive-int", version = "0.16.0" }
simd-json-derive-int = { path = "./simd-json-derive-int", version = "0.17.0" }
value-trait = { version = "0.11.0" }
itoa = "1"
ryu = "1"
chrono = { version = "0.4", optional = true }
simd-json = { version = "0.15.0" }
simd-json = { version = "0.16.0" }
heap-array = { version = "0.1.1", optional = true }
thiserror = "2.0"

Expand Down
2 changes: 1 addition & 1 deletion examples/untagged.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ enum Response<'de> {
Error(ErrorResponse<'de>),
}

fn parse(data: &mut [u8]) -> Result<Response, Box<dyn std::error::Error>> {
fn parse<'de>(data: &'de mut [u8]) -> Result<Response<'de>, Box<dyn std::error::Error>> {
let tape = simd_json::to_tape(data)?;

if let [Node::Object { len: 1, count: 2 }, Node::String("error"), Node::String(error)] =
Expand Down
4 changes: 2 additions & 2 deletions simd-json-derive-int/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "simd-json-derive-int"
version = "0.16.0"
version = "0.17.0"
authors = ["Heinz N. Gies <[email protected]>"]
edition = "2021"
license = "Apache-2.0/MIT"
Expand All @@ -15,7 +15,7 @@ proc-macro = true
proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "2.0", features = ["visit", "extra-traits"] }
simd-json = { version = "0.15.0" }
simd-json = { version = "0.16.0" }
thiserror = "2"


Expand Down
Loading