Crate db_dump

Source
Expand description

githubcrates-iodocs-rs

Modules§

categories
categories.csv
crate_downloads
crate_downloads.csv
crate_owners
crate_owners.csv
crates
crates.csv
crates_categories
crates_categories.csv
crates_keywords
crates_keywords.csv
default_versions
default_versions.csv
dependencies
dependencies.csv
keywords
keywords.csv
metadata
metadata.csv
reserved_crate_names
reserved_crate_names.csv
teams
teams.csv
users
users.csv
version_downloads
version_downloads.csv
versions
versions.csv

Structs§

Date
Represents the range of local timestamps between midnight and the adjacent midnight in the given timezone.
DbDump
A crates.io DB dump with everything deserialized into memory. Use Loader to load only parts of a dump, which is more efficient.
Error
Error type returned by db_dump::load_all and Loader::load in the event that loading crates.io’s DB dump from the specified file fails.
Loader
Perform a streaming load of only relevant database tables.

Functions§

load_all
Deserialize everything in a crates.io DB dump into memory.

Type Aliases§

Result
Result type returned by db_dump::load_all and Loader::load.