package
0.0.0-20241107025832-c74fa6d4ace6
Repository: https://github.com/vbatts/is-archived.git
Documentation: pkg.go.dev

# Functions

FetchSingle makes a call to the crates.io API regarding pkgname, and populates a returned Single.
LoadCargoFile reads filename (usually "Cargo.toml") and populates the returned Cargo.
LoadCargoLock populates a Cargo structure from an io.Reader of the "Cargo.lock" type file.
LoadCargoLockFile reads filename (usually "Cargo.lock") and populates the returned CargoLock.
LoadCargoToml populates a Cargo structure from an io.Reader of the "Cargo.toml" type file.
LoadSingle populates a Single structure from the provided io.Reader.
No description provided by the author
No description provided by the author

# Constants

Name for identifying this language support.

# Structs

Cargo is a representation of a `Cargo.toml`.
No description provided by the author
Crate is a _wildly_ minimal representation of the data structure returned in the crates.io API endpoint for listing or single package.
Package is a bare couple of fields from a `Cargo.toml`.
Single is when querying on a specific crate package.