Files
faunosteo/crates/core/src/lib.rs
T

19 lines
681 B
Rust

//! Faunosteo core library (plan R0, `docs/development/RUST_ARCHITECTURE_REVIEW.md`).
//!
//! Rules of the crate (review Part III.3): no I/O, no clock, no random ids; every input
//! is bytes or JSON text, every output is plain data. The same code serves the browser
//! (`crates/wasm`), the worker and the tools. R0 ships the serialisation rules and the
//! first contract types; the business rules arrive with R2.
pub mod anatomy;
#[cfg(feature = "curation")]
pub mod curation;
pub mod domain;
pub mod facade;
pub mod json;
pub mod ops;
pub mod pdf;
/// Version of the core, reported by the wasm facade and the worker.
pub const CORE_VERSION: &str = env!("CARGO_PKG_VERSION");