/// Returns a default package configuration with the given `name`.
Returns a default package configuration with the given `name`.
Returns a default package configuration with the given ` name ` .
pub fn new(name: PackageName) -> Self {
        Self {
            required_ditto_version: None,
            name,
            dependencies: Default::default(),
            test_dependencies: Default::default(),
            targets: Default::default(), // empty
            src_dir: default_src_dir(),
            tests_dir: default_tests_dir(),
            codegen_js_config: Default::default(), // nada
            ditto_dir: default_ditto_dir(),
            package_set: Default::default(), //empty
        }
    }
pub fn new ( name : PackageName ) -> Self { Self { required_ditto_version : None , name , dependencies : Default :: default ( ) , test_dependencies : Default :: default ( ) , targets : Default :: default ( ) , // empty src_dir : default_src_dir ( ) , tests_dir : default_tests_dir ( ) , codegen_js_config : Default :: default ( ) , // nada ditto_dir : default_ditto_dir ( ) , package_set : Default :: default ( ) , //empty } }
Returns a default package configuration with the given `name`.
Returns a default package configuration with the given ` name ` .
name
PackageName