Registry / utility / meval
library0.2.0rscratesunverified

A simple math expression parser and evaluator.

# Cargo.toml [dependencies] meval = "0.2.0"
INSTALL
IMPORT
SIG · MEVAL
M
meval
utilityrustv0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

eval_str
use meval::eval_str;

Evaluate a mathematical expression string.

use meval::eval_str; fn main() { let result = eval_str("2 + 3 * 4").unwrap(); println!("{}", result); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
meval — cargo add meval · libregistry