Skip to content

Commit 05044c1

Browse files
authored
Merge pull request #11 from nephi-dev/update-libs
feat: update libs
2 parents fd34e2e + 8f908c7 commit 05044c1

File tree

5 files changed

+22
-22
lines changed

5 files changed

+22
-22
lines changed

Cargo.lock

Lines changed: 13 additions & 14 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.3.5"
3+
version = "2.3.6"
44
edition = "2024"
55

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

1010
[dependencies]
11-
pyo3 = "0.25.0"
12-
quick-xml = "0.37.5"
11+
pyo3 = "0.26.0"
12+
quick-xml = "0.38.3"

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["maturin>=1.8.2"]
2+
requires = ["maturin>=1.9.6"]
33
build-backend = "maturin"
44

55
[project]
@@ -19,10 +19,11 @@ classifiers = [
1919
"Programming Language :: Python :: 3.11",
2020
"Programming Language :: Python :: 3.12",
2121
"Programming Language :: Python :: 3.13",
22+
"Programming Language :: Python :: 3.14",
2223
"Typing :: Typed",
2324
"License :: OSI Approved :: MIT License",
2425
]
25-
version = "2.3.5"
26+
version = "2.3.6"
2627

2728

2829
[tool.maturin]

src/entities.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ mod tests {
263263
hash1.insert(f_str!("children"), HashmapTypes::Vec(vec![(hash2)]));
264264
hash1.insert(f_str!("text"), HashmapTypes::NullableString(None));
265265

266-
pyo3::prepare_freethreaded_python();
267-
let node = Python::with_gil(|py| -> Node {
266+
Python::initialize();
267+
let node = Python::attach(|py| -> Node {
268268
Node::from_dict(&Node::type_object(py), hash1).unwrap()
269269
});
270270
assert_eq!(node.name, "test");

src/read.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ fn read_node(root_tag: String, reader: &mut Reader<&[u8]>) -> Node {
5050
root.children.push(node);
5151
}
5252
Ok(Event::Text(e)) => {
53-
root.text = Some(f_str!(e.unescape().unwrap()));
53+
root.text = Some(f_str!(e.decode().unwrap()));
5454
}
5555
Ok(Event::End(e)) if e.name().as_ref() == root.name.as_bytes() => {
5656
break;

0 commit comments

Comments
 (0)