ic-query 0.18.1

Internet Computer query library for NNS, SNS, ICRC, and related public network metadata
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Module: cache_file::json
//!
//! Responsibility: shared JSON cache loading and validation.
//! Does not own: command-specific cache schemas, refresh execution, or process output.
//! Boundary: exposes schema and network validation helpers for cached reports.

mod errors;
mod load;
mod model;

pub use errors::HostJsonCacheErrorMapper;
pub use errors::LoadJsonCacheErrorMapper;
pub use load::{load_json_cache, load_json_cache_strict};
pub use model::{CachedJsonReport, JsonCacheReport, LoadJsonCacheRequest};