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.