commit 6219d405dbcb4e354202157164e50d3d29dd6e03
parent d19409cdfa29cc95a67067a0d5e6b3d15fb5a870
Author: triesap <tyson@radroots.org>
Date: Thu, 15 Oct 2026 22:25:15 +0000
build: align current RHI compiler minimums with Rust 1.99
- Require exact Rust 1.99 for the service and private release tooling.
- Qualify the existing stable selector without changing component scope.
- Correct the active source-lock reference and preserve frozen release history.
- Verify serialized native tests, feature profiles, documentation and public API.
Diffstat:
4 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/AGENTS.md b/AGENTS.md
@@ -32,7 +32,7 @@
## 2. Authority and preflight
- Before editing, read this file, `README`, `Cargo.toml`,
- `radroots.service.source-lock.v2.toml`, and the relevant implementation and
+ `radroots.service.source-lock.v3.toml`, and the relevant implementation and
tests. The removed prototype root `config.toml` is not configuration
authority.
- `.radroots-consumer-root` is the standalone source-lock identity and must
@@ -483,9 +483,12 @@
## 9. Rust and test discipline
-- The final Rust baseline is edition 2024, resolver 3, and Rust/toolchain
- 1.97.1. Keep `Cargo.toml`, `rust-toolchain.toml`, and Cargo metadata in exact
- agreement.
+- The current stable compiler and MSRV are exact Rust 1.99.0, edition 2024
+ and resolver 3. Keep package minimums, `rust-toolchain.toml` and Cargo metadata
+ in exact agreement. Preserve original compiler identities in frozen release
+ history and dedicated nightly tooling. A current minimum change does not
+ qualify old source-lock, artifact or acquisition descriptors for a new
+ candidate; update and verify those through their owning producers first.
- Keep `#![forbid(unsafe_code)]` at crate roots; unsafe code is forbidden. Deny
broken rustdoc links, `dbg!`, `todo!`, and `unimplemented!` in production.
- Prefer pure transformations, explicit state machines, validated newtypes,
diff --git a/Cargo.toml b/Cargo.toml
@@ -3,7 +3,7 @@ name = "rhi"
version = "0.1.0"
edition = "2024"
authors = ["Radroots Authors"]
-rust-version = "1.97.1"
+rust-version = "1.99.0"
license = "AGPL-3.0-or-later"
description = "Radroots evidence reconciliation and attestation service"
repository = "https://github.com/radrootslabs/rhi"
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
@@ -1,2 +1,2 @@
[toolchain]
-channel = "1.97.1"
+channel = "1.99.0"
diff --git a/tools/xtask/Cargo.toml b/tools/xtask/Cargo.toml
@@ -2,6 +2,7 @@
name = "rhi_xtask"
version = "0.0.0"
edition = "2024"
+rust-version = "1.99.0"
publish = false
[dependencies]