Crate crates_io

Source
Expand description

This crate is maintained by the Cargo team for use by the wider ecosystem. This crate follows semver compatibility for its APIs.

Structs§

Crate
NewCrate
This struct is serialized as JSON and sent as metadata ahead of the crate tarball when publishing crates to a crate registry like crates.io.
NewCrateDependency
Registry
User
Warnings

Enums§

Auth
Error
Error returned when interacting with a registry.

Functions§

check_token
Checks if a token is valid or malformed.
is_url_crates_io
Returns true if the host of the given URL is “crates.io”.

Type Aliases§

Result