Skip to main content

treeboot_spec/
lib.rs

1//! Treeboot's executable, language-agnostic conformance specification.
2
3#![deny(missing_docs)]
4
5mod case;
6mod cases;
7mod command;
8mod report;
9mod runner;
10mod suite;
11
12pub use case::{CaseMetadata, CaseRequirement};
13pub use command::{CommandReport, CommandTemplate};
14pub use report::{CaseOutcome, CaseResult, SuiteReport};
15pub use runner::{
16    EnvironmentChange, Invocation, InvocationResult, LocalProcessRunner, Runner,
17    RunnerCapabilities, RunnerError, StdinMode, Termination,
18};
19pub use suite::{ConformanceProfile, RunOptions, Suite, SuiteError, SuiteEvent};
20
21/// Treeboot specification version implemented by this crate.
22pub const SPEC_VERSION: &str = "2.5.1";
23
24/// Canonical Treeboot specification Markdown.
25pub const SPEC_MARKDOWN: &str = include_str!("../SPEC.md");
26
27/// Canonical Treeboot configuration JSON Schema document.
28pub const CONFIG_SCHEMA_JSON: &str = include_str!("../assets/treeboot.schema.json");