aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Cargo.toml
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2025-05-25 02:03:56 +0800
committerHsiangNianian <i@jyunko.cn>2025-05-25 10:47:38 +0800
commit72ae30380b7a62e8066270524ce056e14da08112 (patch)
tree9814ff4178350f64d55a049a36f859600350f033 /Cargo.toml
parentd812eb597d35721c2156a2093336fcf448a6e3e5 (diff)
downloadsoon-72ae30380b7a62e8066270524ce056e14da08112.tar.gz
soon-72ae30380b7a62e8066270524ce056e14da08112.zip
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.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml16
1 files changed, 16 insertions, 0 deletions
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"