From e2b6f75a1b3a92ca022cf8e0e8f2b6798c7a41e5 Mon Sep 17 00:00:00 2001 From: cx-git-agent Date: Sun, 26 Apr 2026 16:48:15 +0000 Subject: [PATCH] vendor: update cargo-cxai-test-crate-0.1.0 --- Cargo.lock | 7 +++++++ Cargo.toml | 28 ++++++++++++++++++++++++++++ Cargo.toml.orig | 6 ++++++ README.md | 3 --- src/lib.rs | 14 ++++++++++++++ 5 files changed, 55 insertions(+), 3 deletions(-) create mode 100644 Cargo.lock create mode 100644 Cargo.toml create mode 100644 Cargo.toml.orig delete mode 100644 README.md create mode 100644 src/lib.rs diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..5c8a49b --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "cxai-test-crate" +version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..cbe5d10 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,28 @@ +# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO +# +# When uploading crates to the registry Cargo will automatically +# "normalize" Cargo.toml files for maximal compatibility +# with all versions of Cargo and also rewrite `path` dependencies +# to registry (e.g., crates.io) dependencies. +# +# If you are reading this file be aware that the original Cargo.toml +# will likely look very different (and much more reasonable). +# See Cargo.toml.orig for the original contents. + +[package] +edition = "2024" +name = "cxai-test-crate" +version = "0.1.0" +build = false +autolib = false +autobins = false +autoexamples = false +autotests = false +autobenches = false +description = "Test crate for CxAI Cargo registry" +readme = false +license = "MIT" + +[lib] +name = "cxai_test_crate" +path = "src/lib.rs" diff --git a/Cargo.toml.orig b/Cargo.toml.orig new file mode 100644 index 0000000..37e003b --- /dev/null +++ b/Cargo.toml.orig @@ -0,0 +1,6 @@ +[package] +name = "cxai-test-crate" +version = "0.1.0" +edition = "2024" +description = "Test crate for CxAI Cargo registry" +license = "MIT" diff --git a/README.md b/README.md deleted file mode 100644 index ea8c831..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# cargo-cxai-test-crate-0.1.0 - -Cargo crate: cxai-test-crate-0.1.0 \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..b93cf3f --- /dev/null +++ b/src/lib.rs @@ -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); + } +}