diff --git a/CHANGELOG.md b/CHANGELOG.md index 88da42ef..30044e6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 757eafbc..2daa541f 100644 --- a/README.md +++ b/README.md @@ -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(()) } diff --git a/pot/Cargo.toml b/pot/Cargo.toml index 9eb6039c..89cd310f 100644 --- a/pot/Cargo.toml +++ b/pot/Cargo.toml @@ -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" @@ -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" @@ -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" diff --git a/pot/crate-docs.md b/pot/crate-docs.md index 7039e7ad..d74bcd49 100644 --- a/pot/crate-docs.md +++ b/pot/crate-docs.md @@ -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(()) }