Skip to content

Commit b1d1325

Browse files
committed
update pyo3
1 parent 8bb01fb commit b1d1325

File tree

5 files changed

+73
-63
lines changed

5 files changed

+73
-63
lines changed

Cargo.lock

Lines changed: 68 additions & 59 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
@@ -16,7 +16,7 @@ include = [
1616
build = "build.rs"
1717

1818
[features]
19-
default = ["terminal_size", "wasm-bindgen", "pyo3"]
19+
default = ["terminal_size"]
2020
wasm-bindgen = ["dep:wasm-bindgen", "dep:js-sys"]
2121

2222
[profile.release]
@@ -43,7 +43,7 @@ crate-type = ["cdylib", "lib"]
4343
cfg-if = { version = "1.0.0", features = [] }
4444
counter = "0.6.0"
4545
itertools = { version = "0.13.0", features = [] }
46-
pyo3 = { version = "0.23.3", features = [
46+
pyo3 = { version = "0.25.0", features = [
4747
"extension-module",
4848
"abi3",
4949
"abi3-py312",

src/language/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ use pyo3::prelude::*;
1515

1616
pub use word_sequence::WordSequence;
1717

18+
#[allow(unsafe_code)]
1819
#[cfg_attr(feature = "pyo3", pyclass)]
1920
pub struct StringChunkIter {
2021
padded_word_byte_count: NonZeroUsize,

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
)]
88
#![deny(clippy::indexing_slicing, clippy::panic, clippy::unwrap_used)]
99
#![allow(clippy::missing_errors_doc, clippy::option_if_let_else)]
10-
#![forbid(unsafe_code)]
10+
#![deny(unsafe_code)]
1111
mod language;
1212
mod solver;
1313

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
)]
88
#![deny(clippy::indexing_slicing, clippy::panic, clippy::unwrap_used)]
99
#![allow(clippy::missing_errors_doc, clippy::option_if_let_else)]
10-
#![forbid(unsafe_code)]
10+
#![deny(unsafe_code)]
1111
mod language;
1212
mod solver;
1313

0 commit comments

Comments
 (0)