Function init

Source
pub fn init()
Expand description

Initializes a new sandbox testing environment. Note that this doesn’t initialize a project, just creates some environment variables with metadata about your project.

§Panics

This function may panic if it cannot find the root package metadata (a.k.a your project’s metadata).