runx-contracts 0.0.1

Shared Rust contract types for runx JSON and host protocol boundaries.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Shared Rust contract types for runx JSON and protocol boundaries.
//!
//! This crate is a placeholder. The TypeScript contracts remain authoritative
//! until parity fixtures and schemas are added.

pub const PACKAGE_NAME: &str = env!("CARGO_PKG_NAME");
pub const ROLE: &str = "shared serde contracts for runx JSON and protocol boundaries";
pub const IS_PLACEHOLDER: bool = true;

#[cfg(test)]
mod tests {
    #[test]
    fn package_name_matches() {
        assert_eq!(crate::PACKAGE_NAME, "runx-contracts");
    }
}