Crates.io | rust-toolchain-manifest |
lib.rs | rust-toolchain-manifest |
version | 0.2.2 |
source | src |
created_at | 2022-12-08 11:58:55.336876 |
updated_at | 2023-08-08 17:44:50.458543 |
description | Query the official rust release manifests |
homepage | https://github.com/a-kenji/rust-toolchain-manifest |
repository | https://github.com/a-kenji/rust-toolchain-manifest |
max_upload_size | |
id | 732534 |
size | 56,215 |
Query the official rust release manifests
cargo install --locked rust-toolchain-manifest
Downloads the official rust release manifests, parses them and saves them as json objects.
rust-toolchain-manifest [CHANNEL]
The channel can be either stable
, beta
, or nightly
.
For beta
and nightly
channels components are split up into the
date of the channel [CHANNEL]/[YEAR]/[date].json
and a map [CHANNEL]/[YEAR]/since[date]-map.json
,
that can potentially be reused by further channel updates,
in order to not save unnecessary state.
The tree of a channel will potentially look like this:
nightly
└── 2022
├── 2022-10-05.json
├── 2022-10-06.json
├── 2022-10-07.json
├── metadata.json
└── since-2022-10-05-map.json
metadata.json
:
Saves state about the current channel.[date].json
:
Saves state on the channel on the specified [date]
.since-[date]-map.json
:
A helper map, that allows the [date].json
snapshots of channels to be fairly small.