json_js::MAX_JSON_VALUES from the R4.2e measurements (CAP envelope 39,652 values, 612-leaf export 23,803; ~100 B of tree per value, a 16 MiB dense document 784 MiB with the cap off, 16 MiB with it); draft.restore refuses an over-budget copy as invalid; --max-memory 1 GiB proven to trap on the proofs build; cargo pdf_budget prints the value table, the Node budget suite prints the per-class cost (fresh instance, W4 asserted).
17 lines
634 B
Rust
17 lines
634 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;
|
|
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");
|