init workspace

This commit is contained in:
2026-03-02 22:15:04 +01:00
commit dbc2cb3236
13 changed files with 849 additions and 0 deletions

8
twily-core/Cargo.toml Normal file
View File

@@ -0,0 +1,8 @@
[package]
name = "twily-core"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
[dependencies]

14
twily-core/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);
}
}