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