INNER CODE UNIT · Rust
registry
killercup/cargo-edit · src/dependency.rs:134
pub fn registry(&self) -> Option<&str> {
self.registry.as_deref()
}
/// Get the alias for the dependency (if any)
pub fn rename(&self) -> Option<&str> {
self.rename.as_deref()
}
/// Whether default features are activated
pub fn default_features(&self) -> Option<bool> {
self.default_features
}
/// Get whether the dep is optional
pub fn optional(&self) -> Option<bool> {
self.optional
}