Skip to content

Conversation

@foresterre
Copy link
Owner

No description provided.

Added rust-releases-core2 which will eventually replace rust-releases-core.
This library contains the primary "Release" structs while everything "toolchain"
related will be moved to the rust-toolchain crate.

The second added crate is rust-releases-compact-index; for this crate the intention
is to create a compact version from AWS index which is too large to be pulled from
quickly.
* version field was pub(crate)
* Also removed outdated comment
Allows users to differentiate by platform, or use the 'global' registry.
Work towards allowing registers by something else than the platform, e.g. StableRegister or a register which consists of {StableRegister, BetaRegister, NightlyRegister}.

Possibly make "Register" itself a trait and rename the current struct to "PlatformRegister".
* Defining ordering with the previous definition was not pretty; you could reason in multiple ways about the multi field comparison.
* A release has a release date, not toolchain. The toolchain is reduced to its channel and platform.
* Channel is reworked: it is no longer an identifier only; instead, stable and beta channels have a version, and nightly has a date; this matches up with the "versions" used by the Rust project.
* Release now consists of a release date, a toolchain and one or more components.
This constructor function defaults to the triple
unknown-unknown-unknown if the given  target triple is not recognized, unlike try_from_target_triple, which errors if the given triple is not recognized.
@foresterre foresterre changed the title Rr/core2/refactor4 core2: refactor playground II Nov 12, 2024
@foresterre foresterre changed the base branch from main to rr/core2/refactor3 November 12, 2024 15:03
@foresterre foresterre changed the title core2: refactor playground II core2: refactor playground III Nov 12, 2024
@foresterre foresterre changed the base branch from rr/core2/refactor3 to main March 30, 2025 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant