Skip to main content

ACCEPTED_TERMS_VERSION

Constant ACCEPTED_TERMS_VERSION 

Source
pub const ACCEPTED_TERMS_VERSION: &str = "1.0";
Expand description

The publisher-terms version the CLI accepts on publish. Running memstead publish is a deliberate act, so the CLI accepts the current terms on the publisher’s behalf by sending this version. Must track the registry’s CURRENT_TERMS_VERSION; a mismatch surfaces as a terms_not_accepted refusal naming the version, telling the user to update.