Skip to content

Commit 5595bf4

Browse files
authored
Merge pull request #14 from nephi-dev/bump-libs
chore: bump pyo3 to 0.28.2 and quick-xml to 0.39.2
2 parents 6d6eadb + ef2c8ec commit 5595bf4

File tree

4 files changed

+22
-50
lines changed

4 files changed

+22
-50
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ repos:
1616
entry: cargo fmt
1717
language: system
1818
types: [rust]
19+
pass_filenames: false
1920
- id: rust-clippy
2021
name: Rust clippy
2122
entry: cargo clippy --all-targets -- -D warnings
2223
language: system
2324
types: [rust]
25+
pass_filenames: false
2426

2527
- repo: https://github.com/astral-sh/ruff-pre-commit
2628
rev: v0.15.4

Cargo.lock

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

Cargo.toml

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

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

1010
[dependencies]
11-
pyo3 = "0.26.0"
12-
quick-xml = "0.38.3"
11+
pyo3 = "0.28.2"
12+
quick-xml = "0.39.2"

src/entities.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ pub enum HashmapTypes {
1212
}
1313

1414
#[derive(Clone, PartialEq)]
15-
#[pyclass(eq, eq_int)]
15+
#[pyclass(from_py_object, eq, eq_int)]
1616
pub enum SearchType {
1717
Tag,
1818
Attr,
1919
Text,
2020
}
2121

2222
#[derive(Clone)]
23-
#[pyclass]
23+
#[pyclass(from_py_object)]
2424
pub struct Node {
2525
#[pyo3(get)]
2626
pub name: String,

0 commit comments

Comments
 (0)