crates_index
pub struct Crate { /* fields omitted */ }
A single crate that contains many published versions
impl Crate
fn new(index_path: &PathBuf) -> Crate
fn versions(&self) -> &[Version]
Published versions of this crate sorted chronologically by date published
fn earliest_version(&self) -> &Version
fn latest_version(&self) -> &Version