ic-query 0.22.6

Internet Computer query library for NNS, SNS, ICRC, system canisters, and public network metadata
Documentation
//! Reusable report models and helpers for Internet Computer metadata queries.
//!
//! The default feature set is empty. A dependency using
//! `default-features = false` gets the pure report DTOs, renderers, and local
//! parsing/resolution helpers that are intended to stay free of native
//! live-call dependencies.
//!
//! This is a host dependency boundary, not a `no_std` promise. No-default
//! builds are expected to compile for `wasm32-unknown-unknown` without
//! `ic-agent`, Reqwest, Tokio, or `futures`, but they may still use ordinary
//! `std` types such as `String` and `Vec`.
//!
//! Enable `subnet-catalog-host` for the focused live/cache Subnet catalog API,
//! or `host` for every native live-call adapter and runtime helper. CLI parsing
//! and process IO belong to the separate `ic-query-cli` crate.

#[cfg(any(feature = "host", feature = "subnet-catalog-host"))]
mod agent;
#[cfg(any(feature = "host", feature = "subnet-catalog-host"))]
mod cache_file;
#[cfg(feature = "host")]
mod certification;
pub mod duration;
#[cfg(any(feature = "host", feature = "subnet-catalog-host"))]
mod freshness;
mod hex;
#[cfg(any(feature = "host", feature = "subnet-catalog-host"))]
mod http_endpoint;
pub mod ic;
#[cfg(any(feature = "host", feature = "subnet-catalog-host"))]
mod ic_registry;
pub mod icrc;
#[cfg(any(feature = "host", feature = "subnet-catalog-host"))]
mod network;
pub mod nns;
#[cfg(feature = "host")]
mod progress;
#[cfg(any(feature = "host", feature = "subnet-catalog-host"))]
mod runtime;
#[cfg(feature = "host")]
pub(crate) mod snapshot_cache;
pub mod sns;
pub mod subnet_catalog;
pub mod system;

#[cfg(any(feature = "host", feature = "subnet-catalog-host"))]
pub use cache_file::{CacheFileError, HostCacheError};
mod table;
#[cfg(feature = "host")]
mod text_search;
mod text_value;
mod token_amount;
mod token_metadata_text;

#[cfg(all(test, any(feature = "host", feature = "subnet-catalog-host")))]
mod test_support;

#[cfg(test)]
mod tests;

#[cfg(feature = "host")]
pub use progress::{QueryProgress, QueryProgressEvent, QueryProgressState};