Initial Commit

This commit is contained in:
2025-03-30 10:58:46 -07:00
commit e59b3f3a5f
16 changed files with 547 additions and 0 deletions

6
common/Cargo.toml Normal file
View File

@@ -0,0 +1,6 @@
[package]
name = "nautilus_common"
version = "0.1.0"
edition = "2024"
[dependencies]

14
common/src/lib.rs Normal file
View File

@@ -0,0 +1,14 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}