fix: changed to cargo workspace rather than single project folder

This commit is contained in:
2026-09-10 13:02:24 -05:00
parent b988928732
commit 90728f9f9a
7 changed files with 37 additions and 10 deletions
+6
View File
@@ -0,0 +1,6 @@
[package]
name = "example_lib"
version = "0.1.0"
edition = "2024"
[dependencies]
+14
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);
}
}