commit 98749386e3b39019fecbb0926c7a7c3fb820f761
parent 5ce19bf4bcb72e02d46819f96417abaa72940756
Author: triesap <tyson@radroots.org>
Date: Thu, 15 Oct 2026 22:35:14 +0000
build: Align current Myc compiler minimums with Rust 1.99.0
- Declare exact Rust 1.99.0 for the service and private tooling package.
- Qualify the existing stable selector without changing dependency pins.
- Correct the source-lock preflight and distinguish frozen artifact history.
- Verify serialized native tests, profiles, API boundaries, lint and docs.
Diffstat:
4 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/AGENTS.md b/AGENTS.md
@@ -28,7 +28,7 @@
## 2. Authority and preflight
- Before editing, read this file, `README`, `Cargo.toml`,
- `radroots.service.source-lock.v2.toml`, the relevant implementation and tests,
+ `radroots.service.source-lock.v3.toml`, the relevant implementation and tests,
and `flake.nix` or migrations when they are in scope.
- `.radroots-consumer-root` is the standalone source-lock identity and must
remain exactly `myc`. The implemented control-plane contract is
@@ -358,6 +358,12 @@
## 8. Rust and test discipline
+- 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.
- Prefer pure transformations, explicit state machines, validated newtypes,
tagged enums, narrow side-effect boundaries, and private visibility.
- Avoid hidden production panics. Use typed errors for expected failures and
diff --git a/Cargo.toml b/Cargo.toml
@@ -3,7 +3,7 @@ name = "myc"
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 NIP-46 remote signer for delegated Nostr accounts"
repository = "https://github.com/radrootslabs/myc"
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 = "myc_xtask"
version = "0.0.0"
edition = "2024"
+rust-version = "1.99.0"
publish = false
[dependencies]