Skip to content

Commit f8b36a5

Browse files
authored
Merge pull request #388 from davidhewitt/cargo-dependabot
fix cargo dependabot configuration
2 parents da11124 + ea565d4 commit f8b36a5

File tree

5 files changed

+18
-6
lines changed

5 files changed

+18
-6
lines changed

.github/dependabot.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,22 @@ version: 2
22
updates:
33

44
- package-ecosystem: "cargo"
5-
directory: "examples"
5+
directory: "/"
66
schedule:
77
interval: "monthly"
8+
groups:
9+
rust-dependencies:
10+
patterns:
11+
- "*"
812

913
- package-ecosystem: "pip"
1014
directory: "docs"
1115
schedule:
1216
interval: "monthly"
17+
groups:
18+
docs-dependencies:
19+
patterns:
20+
- "*"
1321

1422
- package-ecosystem: "github-actions"
1523
directory: "/"

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ target
1111
*.egg-info
1212
pyo3
1313
docs/_build
14+
15+
Cargo.lock

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[workspace]
2+
members = ["examples/*"]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ version = "0.1.0"
7070
edition = "2018"
7171

7272
[dependencies]
73-
pyo3 = { version = "0.19.2", features = ["extension-module"] }
73+
pyo3 = { version = "0.20.0", features = ["extension-module"] }
7474

7575
[lib]
7676
name = "_lib" # private module to be nested into Python package,
@@ -143,7 +143,7 @@ python
143143
- `Cargo.toml` allow only one `[lib]` table per file.
144144
If you require multiple extension modules you will need to write multiple `Cargo.toml` files.
145145
Alternatively you can create a single private Rust top-level module that exposes
146-
multiple submodules (using [PyO3's submodules](https://pyo3.rs/v0.19.2/module#python-submodules)),
146+
multiple submodules (using [PyO3's submodules](https://pyo3.rs/v0.20.0/module#python-submodules)),
147147
which may also reduce the size of the build artifacts.
148148
You can always keep your extension modules private and wrap them in pure Python
149149
to have fine control over the public API.

examples/hello-world-setuppy/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[package]
2-
name = "hello-world"
2+
name = "hello-world-setuppy"
33
version = "0.1.0"
44
edition = "2018"
55

66
[dependencies]
7-
pyo3 = { version = "0.19.2", features = ["extension-module"] }
7+
pyo3 = { version = "0.20.0", features = ["extension-module"] }
88

99
[build-dependencies]
10-
pyo3-build-config = "0.19.2"
10+
pyo3-build-config = "0.20.0"
1111

1212
[lib]
1313
# See https://github.com/PyO3/pyo3 for details

0 commit comments

Comments
 (0)