Skip to content

Commit 273171a

Browse files
committed
bump maturin to 1.9.4, drop extension-module feature
1 parent 45929d9 commit 273171a

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ hex = "0.4.3"
5151
name = "_pydantic_core"
5252
crate-type = ["cdylib", "rlib"]
5353

54-
[features]
55-
# must be enabled when building with `cargo build`, maturin enables this automatically
56-
extension-module = ["pyo3/extension-module"]
57-
5854
[profile.release]
5955
lto = "fat"
6056
codegen-units = 1

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ['maturin>=1.9,<2']
2+
requires = ['maturin>=1.9.4,<2']
33
build-backend = 'maturin'
44

55
[project]
@@ -97,7 +97,6 @@ all = [
9797
python-source = "python"
9898
module-name = "pydantic_core._pydantic_core"
9999
bindings = 'pyo3'
100-
features = ["pyo3/extension-module"]
101100

102101
[tool.ruff]
103102
line-length = 120

0 commit comments

Comments
 (0)