diff --git a/Cargo.lock b/Cargo.lock index 60bd4b0..5a58123 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -195,7 +195,7 @@ dependencies = [ [[package]] name = "ppbert" -version = "0.6.1" +version = "0.7.0" dependencies = [ "byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)", "clap 2.31.2 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index fd3dd09..e981f17 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "ppbert" description = "Simple pretty printer for Erlang's External Term Format" homepage = "https://github.com/gnuvince/ppbert" -version = "0.6.1" +version = "0.7.0" license = "MIT" authors = ["Vincent Foley "] diff --git a/RELEASE.md b/RELEASE.md index 1783957..4596625 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,3 +1,23 @@ +0.7.0 +===== + +Performance improvement +----------------------- + +- Use `itoa` crate to write integers a bit faster. +- Use `fs::read` to read input files almost two times faster. +- Remove some heap allocations. + +API change +---------- + +- Simplify pretty printing API: `BertTerm` has two new functions, + `write_as_erlang` and `write_as_json`, they accept an io::Write + object. +- The structs `PrettyPrinter` and `JsonPrettyPrinter` are + no longer public. + + 0.6.1 =====