Skip to content

Commit 78d5e8d

Browse files
authored
remove deprecated extension-module feature from docs and examples (#519)
1 parent 9fffe31 commit 78d5e8d

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ name = "rust_ext"
3838
crate-type = ["cdylib"]
3939

4040
[dependencies]
41-
pyo3 = { version = "0.27", features = ["extension-module"] }
41+
pyo3 = { version = "0.27" }
4242
numpy = "0.27"
4343
```
4444

examples/linalg/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "rust_linalg"
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
pyo3 = { version = "0.27.0", features = ["extension-module"] }
12+
pyo3 = { version = "0.27.0" }
1313
numpy = { path = "../.." }
1414
ndarray-linalg = { version = "0.14.1", features = ["openblas-system"] }
1515

examples/linalg/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build-system]
22
build-backend = "maturin"
3-
requires = ["maturin>=1.0,<2.0"]
3+
requires = ["maturin>=1.9.4,<2.0"]

examples/parallel/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "rust_parallel"
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
pyo3 = { version = "0.27.0", features = ["extension-module", "multiple-pymethods"] }
12+
pyo3 = { version = "0.27.0", features = ["multiple-pymethods"] }
1313
numpy = { path = "../.." }
1414
ndarray = { version = "0.17", features = ["rayon", "blas"] }
1515
blas-src = { version = "0.8", features = ["openblas"] }

examples/parallel/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build-system]
22
build-backend = "maturin"
3-
requires = ["maturin>=1.0,<2.0"]
3+
requires = ["maturin>=1.9.4,<2.0"]

examples/simple/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "rust_ext"
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
pyo3 = { version = "0.27.0", features = ["extension-module", "abi3-py37"] }
12+
pyo3 = { version = "0.27.0", features = ["abi3-py37"] }
1313
numpy = { path = "../.." }
1414

1515
[workspace]

examples/simple/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build-system]
22
build-backend = "maturin"
3-
requires = ["maturin>=1.0,<2.0"]
3+
requires = ["maturin>=1.9.4,<2.0"]

0 commit comments

Comments
 (0)