Source which parses Rust release data from the AWS S3 index.
The data files required as input must be obtained separately (i.e.
FetchResources is not
RustDistWithCLI). You can download the input data files by using the
cli utility and running:
aws --no-sign-request s3 ls static-rust-lang-org/dist/ > rust_dist_with_cli.txt
You may then load the source by creating the
RustDistWithCLI and calling the
use rust_releases_core::Source; use rust_releases_rust_dist_with_cli::RustDistWithCLI; let source = RustDistWithCLI::from_path("rust_dist_with_cli.txt"); let index = source.build_index().expect("Unable to build a release index");
impl Source for RustDistWithCLI[src]
impl RefUnwindSafe for RustDistWithCLI
impl Send for RustDistWithCLI
impl Sync for RustDistWithCLI
impl Unpin for RustDistWithCLI
impl UnwindSafe for RustDistWithCLI
type Error = Infallible
The type returned in the event of a conversion error.