Skip to content

Commit 71d3a4f

Browse files
committed
feat: update pyo3 to newest version
1 parent 90e4c8f commit 71d3a4f

File tree

3 files changed

+38
-30
lines changed

3 files changed

+38
-30
lines changed

Cargo.lock

Lines changed: 35 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "rxml"
3-
version = "1.0.1"
3+
version = "1.1.0"
44
edition = "2021"
55

66
[lib]
77
name = "rxml"
88
crate-type = ["cdylib"]
99

1010
[dependencies]
11-
pyo3 = "0.20.0"
11+
pyo3 = "0.21.1"
1212
quick-xml = "0.31.0"

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ mod read;
55
mod write;
66

77
#[pymodule]
8-
fn rxml(_py: Python, m: &PyModule) -> PyResult<()> {
8+
fn rxml(m: &Bound<'_, PyModule>) -> PyResult<()> {
99
m.add_class::<entities::Node>()?;
1010
m.add_function(wrap_pyfunction!(read::read_file, m)?)?;
1111
m.add_function(wrap_pyfunction!(read::read_string, m)?)?;

0 commit comments

Comments
 (0)