feat: bootstrap viexp crate with lib/bin split and sanity test (#1)

This commit is contained in:
2026-10-18 13:30:09 +03:00
parent f152737379
commit 20dcc4f20d
5 changed files with 33 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
pub fn run() {
print!("viexp {}", env!("CARGO_PKG_VERSION"));
}
#[cfg(test)]
mod tests {
#[test]
fn sanity() {
assert_eq!(2 + 2, 4);
}
}
+3
View File
@@ -0,0 +1,3 @@
fn main() {
viexp::run()
}