Skip to main content

runx_contracts/
lib.rs

1//! Shared Rust contract types for runx JSON and protocol boundaries.
2//!
3//! This crate is a placeholder. The TypeScript contracts remain authoritative
4//! until parity fixtures and schemas are added.
5
6pub const PACKAGE_NAME: &str = env!("CARGO_PKG_NAME");
7pub const ROLE: &str = "shared serde contracts for runx JSON and protocol boundaries";
8pub const IS_PLACEHOLDER: bool = true;
9
10#[cfg(test)]
11mod tests {
12    #[test]
13    fn package_name_matches() {
14        assert_eq!(crate::PACKAGE_NAME, "runx-contracts");
15    }
16}