Skip to main content

aranya_policy_vm/
lib.rs

1//! The Aranya Policy Virtual Machine
2//!
3//! See [the policy book](https://aranya-project.github.io/policy-book/) for more information on
4//! the policy language.
5
6#![allow(unstable_name_collisions)]
7#![cfg_attr(docsrs, feature(doc_cfg))]
8#![cfg_attr(not(any(test, doctest, feature = "std")), no_std)]
9#![warn(missing_docs)]
10
11#[cfg(feature = "bench")]
12#[cfg_attr(docsrs, doc(cfg(feature = "bench")))]
13mod bench;
14mod data;
15mod derive;
16mod error;
17pub mod ffi;
18mod io;
19mod machine;
20mod scope;
21mod stack;
22mod tests;
23
24pub use aranya_policy_ast as ast;
25pub use aranya_policy_ast::{Identifier, Text, ident, text};
26pub use aranya_policy_module::*;
27#[cfg(feature = "bench")]
28#[cfg_attr(docsrs, doc(cfg(feature = "bench")))]
29pub use bench::*;
30pub use data::*;
31pub use error::*;
32pub use io::*;
33pub use machine::*;
34pub use stack::*;