Update changelog and readme for 7.0 release.

This commit is contained in:
Sebastian Schmidt 2021-07-13 14:43:59 +03:00
parent e80fd20804
commit 56a5f7b0e8
3 changed files with 11 additions and 4 deletions

View File

@ -4,14 +4,21 @@
### Notes ### Notes
* Minimum supported Rust version (MSRV) increased to `1.46`
* Increased test coverage by adding more test and ignoring untestable files
### Added ### Added
### Removed ### Removed
### Changed ### Changed
* Made some functions `const`. This increased the MSRV
### Fixed ### Fixed
* `eval_number` methods returned `EvalexprError::ExpectedFloat` before, now they correctly return `EvalexprError::ExpectedNumber`
### Deprecated ### Deprecated
### Contributors ### Contributors

View File

@ -22,7 +22,7 @@ Add `evalexpr` as dependency to your `Cargo.toml`:
```toml ```toml
[dependencies] [dependencies]
evalexpr = "6" evalexpr = "7"
``` ```
Then you can use `evalexpr` to **evaluate expressions** like this: 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 ```toml
[dependencies] [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. This crate implements `serde::de::Deserialize` for its type `Node` that represents a parsed expression tree.

View File

@ -5,7 +5,7 @@
//! //!
//! ```toml //! ```toml
//! [dependencies] //! [dependencies]
//! evalexpr = "6" //! evalexpr = "7"
//! ``` //! ```
//! //!
//! Then you can use `evalexpr` to **evaluate expressions** like this: //! Then you can use `evalexpr` to **evaluate expressions** like this:
@ -460,7 +460,7 @@
//! //!
//! ```toml //! ```toml
//! [dependencies] //! [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. //! This crate implements `serde::de::Deserialize` for its type `Node` that represents a parsed expression tree.