Skip to content

Commit 6a378c1

Browse files
committed
fix bug in Cargo.toml in case of PyO3 building - we need to add one line edition = "2021"
1 parent acec1d2 commit 6a378c1

File tree

2 files changed

+5
-183
lines changed

2 files changed

+5
-183
lines changed

Cargo.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,20 @@
22
name = "iotext"
33
version = "0.1.0"
44
rust-version = "1.57.0"
5+
edition = "2021"
56

67
[lib]
78
name = "_iotext"
89
crate-type = ["cdylib"]
910

1011
[dependencies]
11-
pyo3 = { version = "0.19.0", features = ["auto-initialize", "extension-module"] }
12-
12+
pyo3 = { version = "0.19.2", features = ["auto-initialize", "extension-module"] }
13+
iotext_rs = { git = "https://github.com/bieli/IoText-rs.git" }
1314
# dependencies
1415
fancy-regex = "0.11.0"
15-
regex = "1.8.3"
16+
regex = "1.9.4"
1617
rustc-hash = "1.1.0"
17-
bstr = "1.5.0"
18+
bstr = "1.6.1"
1819

1920
[profile.release]
2021
incremental = true

src/test_parse.rs

Lines changed: 0 additions & 179 deletions
This file was deleted.

0 commit comments

Comments
 (0)