#channel #manifests #query #json #date #nightly #beta

app rust-toolchain-manifest

Query the official rust release manifests

Show the crate…

6 releases

0.2.2 Aug 8, 2023
0.2.1 Jul 11, 2023
0.2.0 May 10, 2023
0.1.2 Apr 25, 2023
0.1.0 Dec 8, 2022

#29 in #beta

MIT license

21KB
397 lines

rust-toolchain-manifest

Crates

Query the official rust release manifests

Install

cargo install --locked rust-toolchain-manifest

Downloads the official rust release manifests, parses them and saves them as json objects.

Usage:

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.

Dependencies

~7–21MB
~311K SLoC