cargo_test_support::registry

Function init

Source
pub fn init() -> TestRegistry
Expand description

Setup a local psuedo-crates.io TestRegistry

This is implicitly called by Package::new.

When calling cargo publish, see instead crate::publish.