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. --- pyproject.toml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pyproject.toml (limited to 'pyproject.toml') 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__" -- cgit v1.2.3-70-g09d2