The library code requires nightly version of Rust to be compiled.
You can use rustup to install Rust nightly as follows:
# Install rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup default nightlyAfter that, the library can be build with cargo as follows:
cargo buildA number of demo executables are available in the src/bin directory.
To run a particular demo, use cargo run with the name of the demo file.
For example:
cargo run --bin hello
cargo run --bin sharedsrc/base- Core constructs for Ferritesrc/protocol- Type definitions for session typessrc/context- Type definitions for linear contextsrc/session- Term constructorssrc/session- Shared session typessrc/public.rs- Public API exposed by Ferritesrc/bin- Demo executables