diff options
| -rw-r--r-- | CHANGELOG.md | 10 | ||||
| -rw-r--r-- | Cargo.toml | 8 | ||||
| -rw-r--r-- | src/lib.rs | 5 |
3 files changed, 18 insertions, 5 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 317bed2..cfa3b1c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v0.2.3] - 2025-03-15 +### New Features +- [`d7799f1`](https://github.com/HydroRoll-Team/conventional_role_play/commit/d7799f1ff7fca7525fd09c2e51f366be1d0886b5) - simple parser rules load and log processing *(commit by [@pineoncellar](https://github.com/pineoncellar))* +- [`ee15a8b`](https://github.com/HydroRoll-Team/conventional_role_play/commit/ee15a8b3174048f1c9f7f53a51d1e5b7a2410054) - :page_facing_up: Add sample rule and log files *(commit by [@pineoncellar](https://github.com/pineoncellar))* + +### Bug Fixes +- [`5c5b871`](https://github.com/HydroRoll-Team/conventional_role_play/commit/5c5b8713e90642a767c67eb8da7c9a40e5ca6859) - update documentation URL in Cargo.toml *(commit by [@HsiangNianian](https://github.com/HsiangNianian))* + + ## [v0.2.2] - 2025-03-14 ### Chores - [`6d3a6d8`](https://github.com/HydroRoll-Team/conventional_role_play/commit/6d3a6d851d88e572e2125932febfb9844064a7d1) - replace README.rst with README.md and update pyproject.toml to reference new README format *(commit by [@HsiangNianian](https://github.com/HsiangNianian))* @@ -19,3 +28,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [v0.2.1]: https://github.com/HydroRoll-Team/conventional_role_play/compare/v0.2.0...v0.2.1 [v0.2.2]: https://github.com/HydroRoll-Team/conventional_role_play/compare/v0.2.1...v0.2.2 +[v0.2.3]: https://github.com/HydroRoll-Team/conventional_role_play/compare/v0.2.2...v0.2.3 @@ -1,10 +1,10 @@ [package] name = "conventionalrp" -version = "0.2.2" +version = "0.2.3" edition = "2021" description = "HydroRoll Conventional Role Play SDK" license = "AGPLv3.0" -documentation = "https://{project}.hydroroll.team/" +documentation = "https://crp.hydroroll.team/" homepage = "https://crp.hydroroll.team/" repository = "https://github.com/HydroRoll-Team/conventional_role_play" authors = ["HsiangNianian"] @@ -15,5 +15,5 @@ name = "_core" crate-type = ["cdylib"] [dependencies] -pyo3 = { version = "0.19.2", features = ["abi3-py39"] } -time = { version = "0.3.36", features = ["formatting", "macros", "local-offset"] }
\ No newline at end of file +pyo3 = { version = "0.24.0", features = ["abi3-py39"] } +time = { version = "0.3.39", features = ["formatting", "macros", "local-offset"] } @@ -8,8 +8,11 @@ fn sum_as_string(a: usize, b: usize) -> PyResult<String> { #[pyclass] pub struct Base {} +/// A Python module implemented in Rust. The name of this function must match +/// the `lib.name` setting in the `Cargo.toml`, else Python will not be able to +/// import the module. #[pymodule] -fn _core(_py: Python<'_>, m: &PyModule) -> PyResult<()> { +fn _core(m: &Bound<'_, PyModule>) -> PyResult<()> { m.add_function(wrap_pyfunction!(sum_as_string, m)?)?; m.add_class::<Base>()?; Ok(()) |
