pub struct CrateInfo {
pub package: Option<PackageInfo>,
pub workspace: Option<Workspace>,
pub dependencies: Option<IndexMap<String, CrateDependency>>,
}
Expand description
Holds crate information loaded from the Cargo.toml file.
Fields
package: Option<PackageInfo>
package info
workspace: Option<Workspace>
workspace info
dependencies: Option<IndexMap<String, CrateDependency>>
crate dependencies
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CrateInfo
impl Send for CrateInfo
impl Sync for CrateInfo
impl Unpin for CrateInfo
impl UnwindSafe for CrateInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more