ic-query 0.29.4

Internet Computer query library for NNS, SNS, ICRC, system canisters, and public network metadata
Documentation
//! 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;
#[cfg(feature = "host")]
pub use errors::LoadJsonCacheErrorMapper;
#[cfg(feature = "host")]
pub use errors::OwnerJsonCacheErrorMapper;
pub use load::load_json_cache;
#[cfg(feature = "host")]
pub use load::load_json_cache_strict;
#[cfg(feature = "host")]
pub use model::CachedJsonReport;
pub use model::{JsonCacheReport, LoadJsonCacheRequest};