ic-query 0.6.0

Internet Computer query library for NNS, SNS, ICRC, and related public network metadata
Documentation
#[cfg(feature = "host")]
mod cache;
#[cfg(feature = "cli")]
mod commands;
#[cfg(feature = "host")]
mod error;
#[cfg(feature = "host")]
mod model;
#[cfg(feature = "cli")]
mod options;
#[cfg(feature = "host")]
mod paths;
#[cfg(feature = "cli")]
mod run;

#[cfg(feature = "cli")]
pub(super) use crate::cli::common::{format_arg, source_endpoint_arg};
#[cfg(feature = "host")]
pub(in crate::nns) use cache::{load_nns_leaf_json_cache, write_nns_leaf_json_refresh_cache};
#[cfg(feature = "cli")]
pub(super) use commands::{
    info_usage, list_command, network_arg, output_path_arg, refresh_lock_stale_after_arg,
    refresh_usage,
};
#[cfg(all(test, feature = "cli"))]
pub(super) use commands::{list_usage, usage};
#[cfg(feature = "host")]
pub(in crate::nns) use error::NnsLeafHostCacheError;
#[cfg(feature = "host")]
pub(super) use model::{NnsLeafCacheRequest, NnsLeafRefreshRequest};
#[cfg(feature = "cli")]
pub(super) use model::{
    NnsLeafCommandSpec, NnsLeafInfoRequest, NnsLeafListRequest, NnsLeafReports,
};
#[cfg(all(test, feature = "cli"))]
pub(super) use options::NnsLeafListOptions;
#[cfg(feature = "cli")]
pub(super) use options::{NnsCommonOptions, NnsLeafInfoOptions, NnsLeafRefreshOptions};
#[cfg(feature = "host")]
pub(in crate::nns) use paths::NnsLeafCachePaths;
#[cfg(feature = "cli")]
pub(super) use run::{run_cached_leaf, run_leaf};

#[cfg(all(test, feature = "host"))]
mod tests;