Struct crates_index::Index [−][src]
pub struct Index { /* fields omitted */ }
Expand description
Wrapper around managing the crates.io-index git repository
Implementations
Construct a new Index supplying a path where the index lives or should live
Use Cargo’s own index in CARGO_HOME
(~/.cargo/registry/index
)
Downloads the index to the path specified from the constructor
Assumes the index already exists at self.path
, and updates it
Downloads the index to the path specified from the constructor
Retrieve a single crate by name (case insensitive) from the index
Retrieve an iterator over all the crates in the index
Get the global configuration of the index.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Index
impl UnwindSafe for Index
Blanket Implementations
Mutably borrows from an owned value. Read more