pub fn new(name: &str) -> Self {
        Self {
            name: name.into(),
            optional: None,
            features: None,
            default_features: None,
            inherited_features: None,
            source: None,
            registry: None,
            rename: None,
            available_features: Default::default(),
        }
    }
/// Create a new dependency with a name
Create a new dependency with a name
Create a new dependency with a name
pub fn new(name: &str) -> Self {
        Self {
            name: name.into(),
            optional: None,
            features: None,
            default_features: None,
            inherited_features: None,
            source: None,
            registry: None,
            rename: None,
            available_features: Default::default(),
        }
    }
pub fn new ( name : & str ) -> Self { Self { name : name . into ( ) , optional : None , features : None , default_features : None , inherited_features : None , source : None , registry : None , rename : None , available_features : Default :: default ( ) , } }
Create a new dependency with a name
Create a new dependency with a name
name
&str
name
&str