Initial commit

This commit is contained in:
2025-10-13 12:49:49 +03:00
commit cb8128addf
12 changed files with 167 additions and 0 deletions

12
cipher-core/Cargo.toml Normal file
View File

@@ -0,0 +1,12 @@
[package]
name = "cipher-core"
version = "0.1.0"
authors = ["Kristofers Solo <dev@kristofers.xyz>"]
edition = "2024"
[dependencies]
anyhow.workspace = true
thiserror.workspace = true
[lints]
workspace = true

14
cipher-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);
}
}