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Β§

ApiError πŸ”’
ApiErrorList πŸ”’
Crate
Crates πŸ”’
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
OwnerResponse πŸ”’
OwnersReq πŸ”’
R πŸ”’
Registry
TotalCrates πŸ”’
User
Users πŸ”’
Warnings

EnumsΒ§

Auth
Error
Error returned when interacting with a registry.

FunctionsΒ§

check_token
Checks if a token is valid or malformed.
is_false πŸ”’
is_success πŸ”’
is_url_crates_io
Returns true if the host of the given URL is β€œcrates.io”.
reason πŸ”’
status πŸ”’

Type AliasesΒ§

Result