From 72ae30380b7a62e8066270524ce056e14da08112 Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Sun, 25 May 2025 02:03:56 +0800 Subject: feat: Add initial project files and CI configuration - Created CI workflow for continuous integration using GitHub Actions. - Added Python version specification. - Initialized Cargo.toml and Cargo.lock for Rust project dependencies. - Implemented main functionality in Rust with command-line interface using Clap. - Added Python project configuration with Maturin for building and publishing. - Implemented command history prediction feature in Python. --- Cargo.toml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Cargo.toml (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..2ec763e --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,16 @@ +[package] +name = "soon" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +# 生成 CLI 可执行文件 +[[bin]] +name = "soon" # CLI 名称与 Python 包名一致 +path = "src/main.rs" + +[dependencies] +clap = { version = "4.0", features = ["derive"] } +colored = "3.0.0" +counter = "0.6.0" +dirs = "6.0.0" -- cgit v1.2.3-70-g09d2