lib

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

commit 5a99e7c85154a3c5d19b5f2e4e80f8c84dde31c8
parent 49e032afcf0c13713819a11aa5dda7852474fdac
Author: triesap <tyson@radroots.org>
Date:   Mon, 27 Jul 2026 13:22:03 +0000

core: align package manifest and module root

- expose the approved pricing module skeleton
- compile-check all seven public module paths
- keep the skeleton API-free before pricing migration
- preserve the publication freeze and dependency boundary

Diffstat:
Mcrates/core/src/lib.rs | 1+
Acrates/core/src/pricing.rs | 3+++
Acrates/core/tests/package_boundary.rs | 7+++++++
3 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/crates/core/src/lib.rs b/crates/core/src/lib.rs @@ -10,6 +10,7 @@ pub mod discount; pub mod dto; pub mod money; pub mod percent; +pub mod pricing; pub mod quantity; pub mod quantity_price; #[cfg(feature = "serde")] diff --git a/crates/core/src/pricing.rs b/crates/core/src/pricing.rs @@ -0,0 +1,3 @@ +//! Deterministic pricing value objects and operations. + +const _: () = (); diff --git a/crates/core/tests/package_boundary.rs b/crates/core/tests/package_boundary.rs @@ -0,0 +1,7 @@ +#[allow(unused_imports)] +use radroots_core::{ + currency as _, decimal as _, money as _, percent as _, pricing as _, quantity as _, unit as _, +}; + +#[test] +fn approved_module_skeleton_is_public() {}