lib.rs

#![forbid(unsafe_code)]

//! Platform-independent runtime contracts for Flash.

pub mod background;
pub mod builtin;
pub mod capsule;
pub mod carrier;
pub mod closure;
pub mod command;
pub mod convert;
pub mod directory;
pub mod documentation;
mod environment;
pub mod eval;
pub mod execute;
pub mod file;
pub mod format;
pub mod glob;
pub mod help;
pub mod internal;
pub mod intrinsic;
pub mod job;
pub mod module;
pub mod operation;
pub mod plan;
pub mod presentation;
pub mod query;
pub mod resolve;
mod scope;
pub mod script;
pub mod session;
pub mod stream;
pub mod structured;
mod value;

pub use environment::Environment;
pub use scope::*;
pub use value::*;

/// Returns the Flash runtime version embedded at build time.
#[must_use]
pub const fn version() -> &'static str {
    env!("CARGO_PKG_VERSION")
}

Return to documentation →