aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml13
1 files changed, 13 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..45ed7d6
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,13 @@
+[package]
+name = "maturin_template"
+version = "0.1.0"
+edition = "2021"
+
+# 生成 CLI 可执行文件
+[[bin]]
+name = "maturin_template" # CLI 名称与 Python 包名一致
+path = "src/main.rs"
+
+[dependencies]
+# 例如添加 clap 处理 CLI 参数
+clap = { version = "4.0", features = ["derive"] } \ No newline at end of file