build(init):项目结构初始建立。

This commit is contained in:
徐涛
2025-05-16 09:55:03 +08:00
commit 0fe0d53d24
53 changed files with 2026 additions and 0 deletions

1
llm-operation/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/target

6
llm-operation/Cargo.toml Normal file
View File

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

14
llm-operation/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);
}
}