Skip to main content

snapshot

Function snapshot 

Source
pub fn snapshot(args: ReleaseSnapshotArgs) -> Result<()>
Expand description

Snapshot the current crates.io state into a new toolchain manifest.

Unlike publish --from <X>, snapshot never reads an existing manifest and always queries the resolver. That makes it safe to call repeatedly to refresh a channel — :dev after each nightly publish, :stable after a weekly release — without the promote-vs-snapshot conflation that bit callers of publish --from dev.