| Crates.io | fend-core |
| lib.rs | fend-core |
| version | 1.5.7 |
| created_at | 2020-08-31 12:21:08.666745+00 |
| updated_at | 2025-07-14 11:34:15.964142+00 |
| description | Arbitrary-precision unit-aware calculator |
| homepage | https://github.com/printfn/fend |
| repository | https://github.com/printfn/fend |
| max_upload_size | |
| id | 283063 |
| size | 485,979 |
This library implements most of the features of fend.
It requires no dependencies and can easily be used by other Rust programs.
extern crate fend_core;
fn main() {
let mut context = fend_core::Context::new();
let result = fend_core::evaluate("1 + 1", &mut context).unwrap();
assert_eq!(result.get_main_result(), "2");
}