Function crate2nix::sources::crates_io_source[][src]

pub fn crates_io_source(name: String, version: Version) -> Result<Source, Error>
Expand description

Returns the completed Source::CratesIo definition by prefetching the hash.