1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//! Internal implementation modules for the collapsed `dig-capsule` crate (#1270).
//!
//! Each module here is the former `dig-capsule-*` member crate, inlined verbatim
//! (a mechanical source move — zero logic/byte change). They are `pub(crate)`
//! PLUMBING: consumers depend ONLY on the curated public facade in
//! [`crate`] (`capsule`, `urn`, `format`, `merkle`, `chunk`, `metadata`,
//! `crypto`, `store`, `compile`, `stage`, `host`, `prover`, `guest`) — never on
//! `imp::*` directly. The feature gates below mirror the facade's exactly.
//!
//! These lints are allowed for the WHOLE `imp` tree because it is inlined member
//! source preserved verbatim: each former crate keeps its full public re-export
//! surface (some items the curated facade doesn't surface are now internally unused
//! — `unused_imports`/`dead_code`), and a former top crate `foo` with an inner
//! `foo.rs` now nests as `imp::foo::foo` (`clippy::module_inception`). None is a
//! real defect; pruning would shrink the preserved member surface (#1270).
// The always-on no_std+alloc base (former dig-capsule-core / dig-capsule-chunker).
pub
pub
// The wasmparser-only DIGS-blob extraction (shared by `reader` + `compile`) and
// the lightweight, wasmtime-free capsule reader. `compile` implies `reader`, so
// the extraction path is shared, never duplicated.
pub
pub
// Native capsule crypto (AEAD + Chia-BLS). Base facade module `crypto` gates on this.
pub
// The local store / generation / staging model.
pub
// The files -> self-serving `.dig` WASM compiler + the stage->compile pipeline.
pub
pub
// The blind serve triad: wasmtime host runtime + serving proofs.
pub
pub
// The in-module served guest logic. Compiled under `serve` (native rlib) AND
// under `guest-wasm` (the wasm32 cdylib that EXPORTS the guest ABI).
pub