diff --git a/Cargo.toml b/Cargo.toml index ca4d53c..87963dc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "simd-json-derive" -version = "0.16.1" +version = "0.17.0" authors = ["Heinz N. Gies "] edition = "2021" license = "Apache-2.0/MIT" @@ -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" diff --git a/examples/untagged.rs b/examples/untagged.rs index 353cdfa..9042ddf 100644 --- a/examples/untagged.rs +++ b/examples/untagged.rs @@ -18,7 +18,7 @@ enum Response<'de> { Error(ErrorResponse<'de>), } -fn parse(data: &mut [u8]) -> Result> { +fn parse<'de>(data: &'de mut [u8]) -> Result, Box> { let tape = simd_json::to_tape(data)?; if let [Node::Object { len: 1, count: 2 }, Node::String("error"), Node::String(error)] = diff --git a/simd-json-derive-int/Cargo.toml b/simd-json-derive-int/Cargo.toml index 88fbc79..27fd6e9 100644 --- a/simd-json-derive-int/Cargo.toml +++ b/simd-json-derive-int/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "simd-json-derive-int" -version = "0.16.0" +version = "0.17.0" authors = ["Heinz N. Gies "] edition = "2021" license = "Apache-2.0/MIT" @@ -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"