active_infinity/lib.rs
1//! `active-infinity`: placeholder reserving the Active ecosystem name.
2//!
3//! This crate currently exposes only version identity. The real crate —
4//! Active's unbounded and streaming evaluation surface — replaces this
5//! placeholder in a later release, at which point the version converges
6//! to the workspace version (see `Cargo.toml`).
7//!
8//! # Example
9//!
10//! ```rust
11//! assert_eq!(active_infinity::VERSION, "1.0.0");
12//! ```
13
14/// Crate version (matches `[package] version`; converges to the workspace
15/// version when the real crate lands).
16pub const VERSION: &str = env!("CARGO_PKG_VERSION");
17
18#[cfg(test)]
19mod tests {
20 use super::VERSION;
21
22 #[test]
23 fn version_matches_package_manifest() {
24 assert_eq!(VERSION, env!("CARGO_PKG_VERSION"));
25 }
26}