Skip to content

Commit 2f6fcfe

Browse files
authored
Update Rust to remove deprecated code (#6)
* built: 0.5.1 -> 0.7.5 Options removed from build.rs are set by feature flags as of 0.7.0. Reference: https://docs.rs/crate/built/0.7.5/source/CHANGELOG.md * pyo3: 0.17.1 -> 0.23.3 * Cargo.toml: remove badges crates.io no longer displays these. Additionally the URLs were out of date. * Cargo.toml: remove extension-module feature This does not make sense as a feature because the extension does not work without it. * transform.py: fix deprecation warning
1 parent ece4adb commit 2f6fcfe

File tree

7 files changed

+541
-229
lines changed

7 files changed

+541
-229
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
88
## [Unreleased]
99
[Unreleased]: https://github.com/althonos/sphinxcontrib-svgbob/compare/v0.3.0...HEAD
1010

11+
### Changed
12+
- Bumped `built` dependency from `0.5.1` to `0.7.5`.
13+
- Bumped `pyo3` dependency from `0.17.1` to `0.23.3`.
1114

1215
## [v0.3.0] - 2024-08-14
1316
[v0.3.0]: https://github.com/althonos/sphinxcontrib-svgbob/compare/v0.2.1...v0.3.0

setup.py

-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ def setup_temp_rustc_unix(self, toolchain, profile):
139139
path=os.path.join("sphinxcontrib", "svgbob", "_svgbob", "Cargo.toml"),
140140
binding=setuptools_rust.Binding.PyO3,
141141
strip=setuptools_rust.Strip.Debug,
142-
features=["extension-module"],
143142
)
144143
],
145144
)

0 commit comments

Comments
 (0)