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
2 changes: 1 addition & 1 deletion msgpacker-bench/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "msgpacker-bench"
version = "0.0.0"
authors = ["Victor Lopez <victor@codx.io>"]
authors = ["Victor Lopez <vhrlopes@gmail.com>"]
edition = "2021"
repository = "https://github.com/codx-dev/msgpacker"
description = "Benchmarks for msgpacker."
Expand Down
4 changes: 2 additions & 2 deletions msgpacker-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "msgpacker-derive"
version = "0.3.1"
authors = ["Victor Lopez <victor@codx.io>"]
version = "0.3.2"
authors = ["Victor Lopez <vhrlopes@gmail.com>"]
categories = ["compression", "encoding", "parser-implementations"]
edition = "2021"
keywords = ["messagepack", "msgpack"]
Expand Down
8 changes: 4 additions & 4 deletions msgpacker-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -373,15 +373,15 @@ fn impl_fields_enum(name: Ident, v: Punctuated<Variant, Token![,]>) -> impl Into
blk_unpack_fields.push(parse_quote! { #field });

blk_unpack.stmts.push(parse_quote! {
let #field = Unpackable::unpack(buf).map(|(nv, t)| {
let #field =::msgpacker::Unpackable::unpack(buf).map(|(nv, t)| {
n += nv;
buf = &buf[nv..];
t
})?;
});

blk_unpack_iter.stmts.push(parse_quote! {
let #field = Unpackable::unpack_iter(bytes.by_ref()).map(|(nv, t)| {
let #field =::msgpacker::Unpackable::unpack_iter(bytes.by_ref()).map(|(nv, t)| {
n += nv;
t
})?;
Expand Down Expand Up @@ -455,15 +455,15 @@ fn impl_fields_enum(name: Ident, v: Punctuated<Variant, Token![,]>) -> impl Into
});

blk_unpack.stmts.push(parse_quote! {
let #ti = Unpackable::unpack(buf).map(|(nv, t)| {
let #ti =::msgpacker::Unpackable::unpack(buf).map(|(nv, t)| {
n += nv;
buf = &buf[nv..];
t
})?;
});

blk_unpack_iter.stmts.push(parse_quote! {
let #ti = Unpackable::unpack_iter(bytes.by_ref()).map(|(nv, t)| {
let #ti =::msgpacker::Unpackable::unpack_iter(bytes.by_ref()).map(|(nv, t)| {
n += nv;
t
})?;
Expand Down
2 changes: 1 addition & 1 deletion msgpacker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "msgpacker"
version = "0.4.8"
authors = ["Victor Lopez <victor@codx.io>"]
authors = ["Victor Lopez <vhrlopes@gmail.com>"]
categories = ["compression", "encoding", "parser-implementations"]
edition = "2021"
keywords = ["messagepack", "msgpack"]
Expand Down
Loading