chore(workspace): Rust workspace R0 — builder image, core crate (JS-compatible JSON, report contracts, facade), wasm facade, core-wasm package with proofs

This commit is contained in:
bchanot committed 2026-10-13 00:01:25 +02:00
1 parent 5fec0654d3
commit 2a38fa37b5
39 files changed
+1913 -1

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
# The core library never reads the clock, the file system or the environment: ids, time
# and bytes are inputs (RUST_ARCHITECTURE_REVIEW III.3). Tests and the worker binary
# allow these lints locally where they own I/O.
disallowed-methods = [
{ path = "std::time::SystemTime::now", reason = "the core takes time as an input" },
{ path = "std::time::Instant::now", reason = "the core takes time as an input" },
{ path = "std::fs::read", reason = "the core takes bytes as inputs" },
{ path = "std::fs::read_to_string", reason = "the core takes bytes as inputs" },
{ path = "std::fs::write", reason = "the core returns bytes, the caller writes" },
{ path = "std::fs::File::open", reason = "the core takes bytes as inputs" },
{ path = "std::fs::File::create", reason = "the core returns bytes, the caller writes" },
{ path = "std::env::var", reason = "configuration is injected into the core" },
{ path = "std::env::var_os", reason = "configuration is injected into the core" },
]