lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README

commit 09b9a80de8a1793b8a7c627bd292bad8fec7abfa
parent b58a27624804401074fa0afb966981bc2bea307e
Author: triesap <tyson@radroots.org>
Date:   Thu, 30 Jul 2026 13:11:44 +0000

release: align event codec fuzz version

- pin the standalone fuzz package to the authoritative alpha cohort
- refresh its isolated lock entry through the governed build path
- guard the fuzz manifest and lock against version regression
- preserve the main workspace lock and package boundaries unchanged

Diffstat:
Mcrates/event_codec/tests/package_boundary.rs | 13+++++++++++++
Mfuzz/event_codec/Cargo.lock | 2+-
Mfuzz/event_codec/Cargo.toml | 2+-
3 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/crates/event_codec/tests/package_boundary.rs b/crates/event_codec/tests/package_boundary.rs @@ -9,6 +9,8 @@ const COMPATIBILITY: &str = include_str!("../COMPATIBILITY.md"); const ROOT: &str = include_str!("../src/lib.rs"); const VERIFICATION: &str = include_str!("../src/verification/v1.rs"); const EXAMPLE: &str = include_str!("../examples/verify_profile.rs"); +const FUZZ_LOCK: &str = include_str!("../../../fuzz/event_codec/Cargo.lock"); +const FUZZ_MANIFEST: &str = include_str!("../../../fuzz/event_codec/Cargo.toml"); const PUBLIC_API: &str = include_str!("../../../docs/api/radroots_event_codec.txt"); #[test] @@ -31,6 +33,17 @@ fn manifest_has_final_identity_and_required_radroots_dependencies() { } #[test] +fn standalone_fuzz_package_uses_the_repository_version_contract() { + let package = + "name = \"radroots_event_codec_fuzz\"\npublish = false\nversion = \"0.1.0-alpha\""; + let locked_package = "name = \"radroots_event_codec_fuzz\"\nversion = \"0.1.0-alpha\""; + + assert!(FUZZ_MANIFEST.contains(package)); + assert!(FUZZ_LOCK.contains(locked_package)); + assert!(!FUZZ_MANIFEST.contains("version = \"0.0.0\"")); +} + +#[test] fn crate_root_declares_every_approved_module() { let declared = root_declarations("pub mod "); for module in [ diff --git a/fuzz/event_codec/Cargo.lock b/fuzz/event_codec/Cargo.lock @@ -482,7 +482,7 @@ dependencies = [ [[package]] name = "radroots_event_codec_fuzz" -version = "0.0.0" +version = "0.1.0-alpha" dependencies = [ "libfuzzer-sys", "radroots_event_codec", diff --git a/fuzz/event_codec/Cargo.toml b/fuzz/event_codec/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "radroots_event_codec_fuzz" publish = false -version = "0.0.0" +version = "0.1.0-alpha" edition = "2024" rust-version = "1.97.1"