Skip to content

Commit 33451dc

Browse files
authored
Merge pull request #73 from davidhewitt/release-0.22
release: 0.22.0
2 parents 992cdad + eb0cad1 commit 33451dc

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Unreleased
1+
## 0.22.0 - 2024-08-10
22

33
### Packaging
44
- Bump MSRV to 1.63

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pythonize"
3-
version = "0.21.1"
3+
version = "0.22.0"
44
authors = ["David Hewitt <[email protected]>"]
55
edition = "2021"
66
rust-version = "1.63"
@@ -13,11 +13,11 @@ documentation = "https://docs.rs/crate/pythonize/"
1313

1414
[dependencies]
1515
serde = { version = "1.0", default-features = false, features = ["std"] }
16-
pyo3 = { version = "0.22.0", default-features = false }
16+
pyo3 = { version = "0.22.2", default-features = false }
1717

1818
[dev-dependencies]
1919
serde = { version = "1.0", default-features = false, features = ["derive"] }
20-
pyo3 = { version = "0.22.0", default-features = false, features = ["auto-initialize", "macros", "py-clone"] }
20+
pyo3 = { version = "0.22.2", default-features = false, features = ["auto-initialize", "macros", "py-clone"] }
2121
serde_json = "1.0"
2222
serde_bytes = "0.11"
2323
maplit = "1.0.2"

src/error.rs

-9
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,6 @@ impl PythonizeError {
3232
}
3333
}
3434

35-
pub(crate) fn unexpected_type<T>(t: T) -> Self
36-
where
37-
T: ToString,
38-
{
39-
Self {
40-
inner: Box::new(ErrorImpl::UnexpectedType(t.to_string())),
41-
}
42-
}
43-
4435
pub(crate) fn dict_key_not_string() -> Self {
4536
Self {
4637
inner: Box::new(ErrorImpl::DictKeyNotString),

0 commit comments

Comments
 (0)