File tree Expand file tree Collapse file tree 5 files changed +18
-6
lines changed
examples/hello-world-setuppy Expand file tree Collapse file tree 5 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,22 @@ version: 2
2
2
updates :
3
3
4
4
- package-ecosystem : " cargo"
5
- directory : " examples "
5
+ directory : " / "
6
6
schedule :
7
7
interval : " monthly"
8
+ groups :
9
+ rust-dependencies :
10
+ patterns :
11
+ - " *"
8
12
9
13
- package-ecosystem : " pip"
10
14
directory : " docs"
11
15
schedule :
12
16
interval : " monthly"
17
+ groups :
18
+ docs-dependencies :
19
+ patterns :
20
+ - " *"
13
21
14
22
- package-ecosystem : " github-actions"
15
23
directory : " /"
Original file line number Diff line number Diff line change 11
11
* .egg-info
12
12
pyo3
13
13
docs /_build
14
+
15
+ Cargo.lock
Original file line number Diff line number Diff line change
1
+ [workspace ]
2
+ members = [" examples/*" ]
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ version = "0.1.0"
70
70
edition = " 2018"
71
71
72
72
[dependencies ]
73
- pyo3 = { version = " 0.19.2 " , features = [" extension-module" ] }
73
+ pyo3 = { version = " 0.20.0 " , features = [" extension-module" ] }
74
74
75
75
[lib ]
76
76
name = " _lib" # private module to be nested into Python package,
@@ -143,7 +143,7 @@ python
143
143
- ` Cargo.toml ` allow only one ` [lib] ` table per file.
144
144
If you require multiple extension modules you will need to write multiple ` Cargo.toml ` files.
145
145
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 ) ),
147
147
which may also reduce the size of the build artifacts.
148
148
You can always keep your extension modules private and wrap them in pure Python
149
149
to have fine control over the public API.
Original file line number Diff line number Diff line change 1
1
[package ]
2
- name = " hello-world"
2
+ name = " hello-world-setuppy "
3
3
version = " 0.1.0"
4
4
edition = " 2018"
5
5
6
6
[dependencies ]
7
- pyo3 = { version = " 0.19.2 " , features = [" extension-module" ] }
7
+ pyo3 = { version = " 0.20.0 " , features = [" extension-module" ] }
8
8
9
9
[build-dependencies ]
10
- pyo3-build-config = " 0.19.2 "
10
+ pyo3-build-config = " 0.20.0 "
11
11
12
12
[lib ]
13
13
# See https://github.com/PyO3/pyo3 for details
You can’t perform that action at this time.
0 commit comments