Skip to content

Commit

Permalink
Releasing v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ecton committed Feb 28, 2023
1 parent 474b5c7 commit 3d13632
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## v2.0.0

### Breaking Changes

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ fn main() -> Result<(), pot::Error> {
name: String::from("ecton"),
};
let serialized = pot::to_vec(&user)?;
println!("User serialized: {:02x?}", serialized);
println!("User serialized: {serialized:02x?}");
let deserialized: User = pot::from_slice(&serialized)?;
assert_eq!(deserialized, user);

// Pot also provides a "Value" type for serializing Pot encoded payloads
// without needing the original structure.
let user: pot::Value<'_> = pot::from_slice(&serialized)?;
println!("User decoded as value: {}", user);
println!("User decoded as value: {user}");

Ok(())
}
Expand Down
8 changes: 4 additions & 4 deletions pot/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pot"
version = "1.0.2"
version = "2.0.0"
edition = "2021"
description = "A concise binary serialization format written for `BonsaiDb`."
license = "MIT OR Apache-2.0"
Expand All @@ -18,8 +18,8 @@ thiserror = "1.0.30"
tracing = { version = "0.1.30", optional = true }
byteorder = "1.4.3"
bytes = "1.1.0"
half = "1.8.2"
derive-where = "=1.0.0-rc.2"
half = "2.2.1"
derive-where = "1.0.0"

[dev-dependencies]
tracing-subscriber = "0.3.8"
Expand All @@ -33,7 +33,7 @@ thousands = "0.2.0"
ciborium = "0.2.0"
bincode = "1.3.3"
rmp-serde = "1.1.0"
criterion = { version = "0.3.5", features = ["html_reports"] }
criterion = { version = "0.4", features = ["html_reports"] }
serde_bytes = "0.11.5"
serde_json = "1.0.78"
approx = "0.5.1"
Expand Down
4 changes: 2 additions & 2 deletions pot/crate-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ fn main() -> Result<(), pot::Error> {
name: String::from("ecton"),
};
let serialized = pot::to_vec(&user)?;
println!("User serialized: {:02x?}", serialized);
println!("User serialized: {serialized:02x?}");
let deserialized: User = pot::from_slice(&serialized)?;
assert_eq!(deserialized, user);

// Pot also provides a "Value" type for serializing Pot encoded payloads
// without needing the original structure.
let user: pot::Value<'_> = pot::from_slice(&serialized)?;
println!("User decoded as value: {}", user);
println!("User decoded as value: {user}");

Ok(())
}
Expand Down

0 comments on commit 3d13632

Please sign in to comment.