pi/lib.rs
1//! Coding-agent product services and executable.
2
3pub mod cli;
4pub mod core;
5pub mod modes;
6
7/// The version of the pi crate.
8pub const VERSION: &str = env!("CARGO_PKG_VERSION");
9
10#[cfg(test)]
11mod tests {
12 use super::*;
13
14 #[test]
15 fn version_is_not_empty() -> Result<(), &'static str> {
16 let version = std::hint::black_box(VERSION);
17 if version.is_empty() {
18 Err("VERSION is empty")
19 } else {
20 Ok(())
21 }
22 }
23}