ic-query 0.37.1

Internet Computer query library for CloudEngine, NNS, SNS, ICRC, system canisters, and public network metadata
Documentation
//! Module: sns::report::text::proposals
//!
//! Responsibility: group SNS proposal text report renderers.
//! Does not own: proposal fetching, cache loading, report construction, or JSON output.
//! Boundary: renders proposal list, detail, refresh, and cache DTOs for humans.

mod detail;
mod list;
#[cfg(feature = "sns-host")]
mod refresh;
mod single;

pub use list::sns_proposals_report_text;
#[cfg(feature = "sns-host")]
pub use refresh::sns_proposals_refresh_report_text;
pub use single::sns_proposal_report_text;

pub(super) const SNS_PROPOSAL_DETAIL_TEXT_LIMIT: usize = 240;
pub(super) const SNS_PROPOSAL_TITLE_TEXT_LIMIT: usize = 96;