summaryrefslogtreecommitdiffstatshomepage
path: root/pyproject.toml
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2025-05-25 02:03:56 +0800
committerHsiangNianian <i@jyunko.cn>2025-05-25 02:03:56 +0800
commit14918d4d997eac2b5cc8aa4bc279482da62a5f97 (patch)
tree70ba7d151d5070b692d9e856ecc73a10b7c3492e /pyproject.toml
parent048d776c89a53b624fc64d31e6aa431fb2117e35 (diff)
downloadsoon-14918d4d997eac2b5cc8aa4bc279482da62a5f97.tar.gz
soon-14918d4d997eac2b5cc8aa4bc279482da62a5f97.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 'pyproject.toml')
-rw-r--r--pyproject.toml23
1 files changed, 23 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..4b5793b
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,23 @@
+[build-system]
+requires = ["maturin>=1.8,<2.0"]
+build-backend = "maturin"
+
+[project]
+name = "soon"
+requires-python = ">=3.10"
+classifiers = [
+ "Programming Language :: Rust",
+ "Programming Language :: Python :: Implementation :: CPython",
+ "Programming Language :: Python :: Implementation :: PyPy",
+]
+dynamic = ["version"]
+dependencies = [
+ "rich>=14.0.0",
+]
+
+[tool.maturin]
+bindings = "bin"
+module-name = "soon"
+
+# [project.scripts]
+# soon = "soon:__main__"