evcxr 0.14.2

An Evaluation Context for Rust
Documentation

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

See .github/workflows/ci.yml for the current minimum supported rust version. Generally rare that we support much older versions than the latest stable, since

  • mostly because our upstream dependencies make use of new rust features pretty quickly after they stabilize.

How it works

See how it works

Release notes

See release notes