aboutsummaryrefslogtreecommitdiffstatshomepage
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 10:47:38 +0800
commit72ae30380b7a62e8066270524ce056e14da08112 (patch)
tree9814ff4178350f64d55a049a36f859600350f033 /pyproject.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 '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__"