38 releases

0.17.0 Dec 17, 2023
0.16.0 Oct 22, 2023
0.15.1 Jul 13, 2023
0.14.2 Jan 2, 2023
0.2.0 Oct 8, 2018

#517 in Parser implementations

Download history 1422/week @ 2023-11-04 1441/week @ 2023-11-11 1430/week @ 2023-11-18 1377/week @ 2023-11-25 1586/week @ 2023-12-02 1205/week @ 2023-12-09 1804/week @ 2023-12-16 598/week @ 2023-12-23 925/week @ 2023-12-30 1659/week @ 2024-01-06 1691/week @ 2024-01-13 1420/week @ 2024-01-20 1550/week @ 2024-01-27 1394/week @ 2024-02-03 1218/week @ 2024-02-10 1792/week @ 2024-02-17

6,163 downloads per month
Used in 5 crates



Evcxr library

Latest Version

An implementation of eval() for Rust.

The main struct in this crate is EvalContext. You create one, then ask it to eval bits of code. Any defined functions, variables etc are local to that context.

To see an example usage, see examples/example_eval.rs.

I'll not go into too much detail here, since the purpose of this library is really to provide functionality to evcxr_jupyter and evcxr_repl. If you'd like to try using this crate for something else, drop me an email, or file an issue on the repository and we can figure out your use case.

MSRV (Minimum supported Rust version)

Should work with the latest stable release. May sometimes work with one or two older version. See evcxr/Cargo.toml for the current minimum supported rust version. If you're stuck on an older version of rustc, your best bet is either to use a precompiled binary or use an older version of Evcxr. The release notes might give clues as to when MSRV bumps occurred.

How it works

See how it works

Release notes

See release notes


~814K SLoC