From 9d660b7349e2269a34169aa038d6a65265a9c40f Mon Sep 17 00:00:00 2001 From: yyc12345 Date: Tue, 6 Oct 2026 17:10:17 +0800 Subject: [PATCH] revert: revert version change. keep 0.1.0 for pre-alpha release --- assets/c-friendly-ffi-design/rust-side/misc.md | 2 +- omrf/Cargo.lock | 2 +- omrf/Cargo.toml | 2 +- packer/README.md | 2 +- packer/pyproject.toml | 13 ++++++++++--- packer/src/sarasacw_omrf_packer/utils.py | 2 +- packer/uv.lock | 2 +- 7 files changed, 16 insertions(+), 9 deletions(-) diff --git a/assets/c-friendly-ffi-design/rust-side/misc.md b/assets/c-friendly-ffi-design/rust-side/misc.md index 10384e3..0376088 100644 --- a/assets/c-friendly-ffi-design/rust-side/misc.md +++ b/assets/c-friendly-ffi-design/rust-side/misc.md @@ -49,5 +49,5 @@ The re-wrapped contents can be written in a separate module `wrapper.rs`. `lib.r When adding `sarasacw-omrf` to the dependencies of the FFI project, we require specifying it as a git repository, supplemented with a tag and the `version` field, to ensure the version is correct. As shown below: ```toml -sarasacw-omrf = { version="1.0.0", git = "https://github.com/SarasasChipWorkshop/sarasacw-omrf.git", tag = "omrf/1.0.0" } +sarasacw-omrf = { version="0.1.0", git = "https://github.com/SarasasChipWorkshop/sarasacw-omrf.git", tag = "omrf/0.1.0" } ``` diff --git a/omrf/Cargo.lock b/omrf/Cargo.lock index 3dcb8c1..4ebf116 100644 --- a/omrf/Cargo.lock +++ b/omrf/Cargo.lock @@ -103,7 +103,7 @@ dependencies = [ [[package]] name = "sarasacw-omrf" -version = "1.0.0" +version = "0.1.0" dependencies = [ "dashmap", "thiserror", diff --git a/omrf/Cargo.toml b/omrf/Cargo.toml index 02d4be0..3cbaf22 100644 --- a/omrf/Cargo.toml +++ b/omrf/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sarasacw-omrf" -version = "1.0.0" +version = "0.1.0" authors = ["yyc12345 "] edition = "2024" rust-version = "1.85" diff --git a/packer/README.md b/packer/README.md index 1cde670..39ac539 100644 --- a/packer/README.md +++ b/packer/README.md @@ -57,7 +57,7 @@ There is an example about how to define them in `Cargo.toml`. # Minimum required version of sarasacw-omrf-packer. # Running with an older version fails with an error. # This property is optional; when omitted, no version constraint is enforced. -min_version = "1.0.0" +min_version = "0.1.0" # Header files to distribute. Each entry installs one file (or, with glob # expansion, a set of files) into the `include` directory of the installation. diff --git a/packer/pyproject.toml b/packer/pyproject.toml index d20f38a..b24a48f 100644 --- a/packer/pyproject.toml +++ b/packer/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "sarasacw-omrf-packer" -version = "1.0.0" +version = "0.1.0" description = "The packer for Rust, specifically designed for the SarasaCW OMRF project, to distribute C-friendly FFI dynamic library as CMake package." readme = "README.md" authors = [ @@ -8,9 +8,16 @@ authors = [ ] requires-python = ">=3.13" license = { text = "MIT" } -keywords = ["rust", "ffi", "cmake", "pkg-config", "packaging", "omrf"] +keywords = [ + "rust", + "ffi", + "cmake", + "pkg-config", + "packaging", + "omrf", +] classifiers = [ - "Development Status :: 5 - Production/Stable", + "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "Topic :: Software Development :: Build Tools", "License :: OSI Approved :: MIT License", diff --git a/packer/src/sarasacw_omrf_packer/utils.py b/packer/src/sarasacw_omrf_packer/utils.py index c5d5f70..424e984 100644 --- a/packer/src/sarasacw_omrf_packer/utils.py +++ b/packer/src/sarasacw_omrf_packer/utils.py @@ -10,7 +10,7 @@ from re import Pattern, compile from typing import Any, Iterator, overload from semver import Version -VERSION: Version = Version(1, 0, 0) +VERSION: Version = Version(0, 1, 0) """The current version of sarasacw-omrf-packer""" diff --git a/packer/uv.lock b/packer/uv.lock index f945bf7..d4afc0d 100644 --- a/packer/uv.lock +++ b/packer/uv.lock @@ -68,7 +68,7 @@ wheels = [ [[package]] name = "sarasacw-omrf-packer" -version = "1.0.0" +version = "0.1.0" source = { editable = "." } dependencies = [ { name = "jinja2" },