From f3d6c2b7ed3cc605ae1060e7dd57599553ef6f57 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Fri, 15 Mar 2019 13:12:18 +0200 Subject: [PATCH] Updated readme --- README.md | 21 ++++++++++++--------- src/lib.rs | 4 +++- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 2d42200..9df5f50 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,15 @@ -eval -==== +evalexpr +======== -[![Project Status: Abandoned – Initial development has started, but there has not yet been a stable, usable release; the project has been abandoned and the author(s) do not intend on continuing development.](https://www.repostatus.org/badges/latest/abandoned.svg)](https://www.repostatus.org/#abandoned) +**This is a fork of the eval crate originally created by fengcen and then abandoned.** -[![docs](https://docs.rs/eval/badge.svg?version=0.4.3 "docs")](https://docs.rs/eval) + -Eval is a powerful expression evaluator. +[![docs](https://docs.rs/evalexpr/badge.svg?version=0.4.4 "docs")](https://docs.rs/evalexpr) -[Document](https://docs.rs/eval) +Evalexpr is a powerful expression evaluator. + +[Document](https://docs.rs/evalexpr) -------------------------------- Features @@ -23,6 +25,7 @@ Where can eval be used? ----------------------- * Template engine +* Scripting language * ... Usage @@ -32,13 +35,13 @@ Add dependency to Cargo.toml ```toml [dependencies] -eval = "^0.4" +evalexpr = "0.4" ``` In your `main.rs` or `lib.rs`: ```rust -extern crate eval; +extern crate evalexpr as eval; ``` Examples @@ -112,5 +115,5 @@ assert_eq!(eval("0..5"), Ok(to_value(vec![0, 1, 2, 3, 4]))); License ------- -eval is primarily distributed under the terms of the MIT license. +evalexpr is primarily distributed under the terms of the MIT license. See [LICENSE](LICENSE) for details. diff --git a/src/lib.rs b/src/lib.rs index f116d3c..ba35828 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,7 +4,6 @@ //! `==` `+` `-` `*` `/` `%` `&&` `||` `n..m`. //! //! Built-in functions: `min()` `max()` `len()` `is_empty()` `array()` `converge()`. -//! See the `builtin` module for a detailed description of each. //! //! ## Examples //! @@ -90,6 +89,9 @@ //! ### array() //! Accept multiple arguments and return an array. //! +//! ### converge() +//! See `builtin::create_converge_function()`. +//! //! #![recursion_limit="100"] #![deny(missing_docs)]