From 56a5f7b0e895494866a685f2466eb1e0785ae66d Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Tue, 13 Jul 2021 14:43:59 +0300 Subject: [PATCH] Update changelog and readme for 7.0 release. --- CHANGELOG.md | 7 +++++++ README.md | 4 ++-- src/lib.rs | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a49be91..56ef872 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,14 +4,21 @@ ### Notes + * Minimum supported Rust version (MSRV) increased to `1.46` + * Increased test coverage by adding more test and ignoring untestable files + ### Added ### Removed ### Changed + + * Made some functions `const`. This increased the MSRV ### Fixed + * `eval_number` methods returned `EvalexprError::ExpectedFloat` before, now they correctly return `EvalexprError::ExpectedNumber` + ### Deprecated ### Contributors diff --git a/README.md b/README.md index 796ec17..6669fd6 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Add `evalexpr` as dependency to your `Cargo.toml`: ```toml [dependencies] -evalexpr = "6" +evalexpr = "7" ``` Then you can use `evalexpr` to **evaluate expressions** like this: @@ -477,7 +477,7 @@ This can be done like this in the `Cargo.toml`: ```toml [dependencies] -evalexpr = {version = "6", features = ["serde_support"]} +evalexpr = {version = "7", features = ["serde_support"]} ``` This crate implements `serde::de::Deserialize` for its type `Node` that represents a parsed expression tree. diff --git a/src/lib.rs b/src/lib.rs index b235603..a1aabcf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,7 +5,7 @@ //! //! ```toml //! [dependencies] -//! evalexpr = "6" +//! evalexpr = "7" //! ``` //! //! Then you can use `evalexpr` to **evaluate expressions** like this: @@ -460,7 +460,7 @@ //! //! ```toml //! [dependencies] -//! evalexpr = {version = "6", features = ["serde_support"]} +//! evalexpr = {version = "7", features = ["serde_support"]} //! ``` //! //! This crate implements `serde::de::Deserialize` for its type `Node` that represents a parsed expression tree.