bittensor_rs/api.rs
1//! API module that includes the generated metadata
2//!
3//! The metadata is automatically fetched from the chain at build time
4//! by the build.rs script using subxt-cli and subxt-codegen.
5//!
6//! Set BITTENSOR_OFFLINE=1 to skip metadata fetch and use cached version.
7//! Set BITTENSOR_ENDPOINT to use a different chain endpoint.
8
9include!(concat!(env!("OUT_DIR"), "/metadata.rs"));