Initialise project

This commit is contained in:
cdo committed 2026-10-24 12:11:01 +01:00
commit be3bf4fc6c
4 files changed
+28

No files matched your search

+1
View File
@@ -0,0 +1 @@
/target
Generated
+7
View File
@@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
[[package]]
name = "ccvl"
version = "0.1.0"
+6
View File
@@ -0,0 +1,6 @@
[package]
name = "ccvl"
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);
}
}