Skip to main content

vta_support/
lib.rs

1//! Shared mid-layer support services for the VTA, extracted from `vta-service`
2//! so the subsystem crates can depend on them without depending on the whole
3//! service.
4//!
5//! - [`contexts`] — trust-context storage (the BIP-32 key-hierarchy roots).
6//! - [`seal`] — the sealed-transfer producer-side seal helper.
7//! - [`sealed_nonce_store`] — the sealed-bootstrap anti-replay nonce store.
8//! - [`restore_stage`] — how a backup import crosses the reboot that applies it.
9//!
10//! Each is a self-contained near-leaf: they depend only on `vti-common`,
11//! `vta-config`, `vta-keyspaces`, and `vta-sdk`, never on `vta-service`.
12//! `vta-service` re-exports each as `crate::<module>`, so existing
13//! `crate::contexts::…` / `crate::seal::…` / `crate::sealed_nonce_store::…`
14//! paths are unchanged.
15
16pub mod contexts;
17pub mod did_templates;
18pub mod restore_stage;
19pub mod seal;
20pub mod sealed_nonce_store;
21pub mod version_time;