pub fn new() -> Self {
        Self {
            resolver: CargoResolverVersion::V1,
            include_dev: false,
            initials_platform: InitialsPlatform::Standard,
            host_platform: PlatformSpec::Any,
            target_platform: PlatformSpec::Any,
            omitted_packages: HashSet::new(),
        }
    }
/// Creates a new `CargoOptions` with this resolver version and default settings.
///
/// The default settings are similar to what a plain `cargo build` does:
///
/// * use version 1 of the Cargo resolver
/// * exclude dev-dependencies
/// * do not build proc macros specified in the query on the target platform
/// * resolve dependencies assuming any possible host or target platform
/// * do not omit any packages.
Creates a new `CargoOptions` with this resolver version and default settings.
The default settings are similar to what a plain `cargo build` does.

use version 1 of the Cargo resolver
exclude dev-dependencies
do not build proc macros specified in the query on the target platform
resolve dependencies assuming any possible host or target platform
do not omit any packages.
Creates a new ` CargoOptions ` with this resolver version and default settings . The default settings are similar to what a plain ` cargo build ` does . use version 1 of the Cargo resolver exclude dev - dependencies do not build proc macros specified in the query on the target platform resolve dependencies assuming any possible host or target platform do not omit any packages .
pub fn new() -> Self {
        Self {
            resolver: CargoResolverVersion::V1,
            include_dev: false,
            initials_platform: InitialsPlatform::Standard,
            host_platform: PlatformSpec::Any,
            target_platform: PlatformSpec::Any,
            omitted_packages: HashSet::new(),
        }
    }
pub fn new ( ) -> Self { Self { resolver : CargoResolverVersion :: V1 , include_dev : false , initials_platform : InitialsPlatform :: Standard , host_platform : PlatformSpec :: Any , target_platform : PlatformSpec :: Any , omitted_packages : HashSet :: new ( ) , } }
Creates a new `CargoOptions` with this resolver version and default settings.
Creates a new ` CargoOptions ` with this resolver version and default settings .