Skip to content

Commit 13cae0a

Browse files
authoredOct 3, 2023
Clean up Cargo.toml and bump dependency versions (#104)
* Update PyO3 * replace unicode_names2 to official release * clean up Cargo.toml and bump dependency versions
1 parent a1e4336 commit 13cae0a

File tree

8 files changed

+52
-46
lines changed

8 files changed

+52
-46
lines changed
 

‎Cargo.toml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[workspace.package]
2-
version = "0.3.0"
2+
version = "0.3.1"
33
authors = ["RustPython Team"]
44
edition = "2021"
5-
rust-version = "1.67.1"
5+
rust-version = "1.72.1"
66
description = "Python parser and its dependencies."
77
repository = "https://github.com/RustPython/Parser"
88
license = "MIT"
@@ -23,24 +23,24 @@ rustpython-literal = { path = "literal", version = "0.3.0" }
2323
rustpython-format = { path = "format", version = "0.3.0" }
2424
rustpython-parser = { path = "parser", default-features = false, version = "0.3.0" }
2525

26-
ahash = "0.7.6"
2726
anyhow = "1.0.45"
27+
bitflags = "2.4.0"
2828
cfg-if = "1.0"
2929
insta = "1.14.0"
30-
itertools = "0.10.3"
31-
is-macro = "0.2.2"
30+
itertools = "0.11.0"
31+
is-macro = "0.3.0"
3232
log = "0.4.16"
3333
num-complex = "0.4.0"
3434
num-bigint = "0.4.3"
3535
num-traits = "0.2"
36-
pyo3 = { version = "0.19.0" }
36+
pyo3 = { version = "0.19.2" }
3737
malachite-bigint = { version = "0.1.0" }
3838
memchr = "2.5.0"
3939
rand = "0.8.5"
40-
serde = "1.0"
40+
serde = { version = "1.0.133", default-features = false }
4141
static_assertions = "1.1"
42-
once_cell = "1.17.1"
43-
unicode_names2 = { version = "0.6.0", git = "https://github.com/youknowone/unicode_names2.git", rev = "4ce16aa85cbcdd9cc830410f1a72ef9a235f2fde" }
42+
once_cell = "1.18.0"
43+
unicode_names2 = "1.1.0"
4444

4545
[profile.dev.package."*"]
4646
opt-level = 3

‎ast-pyo3/Cargo.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[package]
22
name = "rustpython-ast-pyo3"
33
version = "0.0.1"
4-
edition = "2021"
4+
edition = { workspace = true }
5+
rust-version = { workspace = true }
56

67
[features]
7-
# abi3 = ["pyo3/abi3-py37"] # will be supported from next pyo3 version
8+
abi3 = ["pyo3/abi3-py37"] # will be supported from next pyo3 version
89
# This feature is experimental
910
# It reimplements AST types, but currently both slower than python AST types and limited to use in other API
1011
wrapper = []

‎ast/Cargo.toml

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[package]
22
name = "rustpython-ast"
3-
version = "0.3.0"
43
description = "AST definitions for RustPython"
5-
authors = ["RustPython Team"]
6-
edition = "2021"
7-
repository = "https://github.com/RustPython/Parser/"
8-
license = "MIT"
4+
version = { workspace = true }
5+
authors = { workspace = true }
6+
edition = { workspace = true }
7+
repository = { workspace = true }
8+
license = { workspace = true }
9+
rust-version = { workspace = true }
910

1011
[features]
1112
default = ["location", "malachite-bigint"]

‎core/Cargo.toml

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[package]
22
name = "rustpython-parser-core"
33
description = "RustPython parser data types."
4-
version = "0.3.0"
5-
authors = ["RustPython Team"]
6-
edition = "2021"
7-
repository = "https://github.com/RustPython/Parser/"
8-
license = "MIT"
4+
edition = { workspace = true }
5+
version = { workspace = true }
6+
authors = { workspace = true }
7+
repository = { workspace = true }
8+
license = { workspace = true }
9+
rust-version = { workspace = true }
910

1011
[dependencies]
1112
# vendored dependency shouldn't be placed out of this crate

‎format/Cargo.toml

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
[package]
22
name = "rustpython-format"
3-
edition = "2021"
4-
version = "0.3.0"
53
description = "Format helpers for RustPython"
6-
authors = ["RustPython Team"]
7-
repository = "https://github.com/RustPython/Parser/"
8-
license = "MIT"
4+
edition = { workspace = true }
5+
version = { workspace = true }
6+
authors = { workspace = true }
7+
repository = { workspace = true }
8+
license = { workspace = true }
9+
rust-version = { workspace = true }
910

1011
[dependencies]
1112
rustpython-literal = { workspace = true }
1213

13-
bitflags = "2.3.1"
14-
itertools = "0.10.5"
14+
bitflags = { workspace = true }
15+
itertools = { workspace = true }
1516
malachite-bigint = { workspace = true }
1617
num-traits = { workspace = true }

‎literal/Cargo.toml

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[package]
22
name = "rustpython-literal"
3-
version = "0.3.0"
43
description = "Common literal handling utilities mostly useful for unparse and repr."
5-
authors = ["RustPython Team"]
6-
edition = "2021"
7-
repository = "https://github.com/RustPython/Parser/"
8-
license = "MIT"
4+
edition = { workspace = true }
5+
version = { workspace = true }
6+
authors = { workspace = true }
7+
repository = { workspace = true }
8+
license = { workspace = true }
9+
rust-version = { workspace = true }
910

1011
[dependencies]
1112
hexf-parse = "0.2.1"

‎parser/Cargo.toml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "rustpython-parser"
3-
version = "0.3.0"
4-
description = "Parser for python code."
5-
authors = ["RustPython Team"]
6-
build = "build.rs"
7-
repository = "https://github.com/RustPython/Parser/"
8-
license = "MIT"
9-
edition = "2021"
3+
description = "Python language parser for Python3."
4+
edition = { workspace = true }
5+
version = { workspace = true }
6+
authors = { workspace = true }
7+
repository = { workspace = true }
8+
license = { workspace = true }
9+
rust-version = { workspace = true }
1010

1111
[features]
1212
default = ["location", "malachite-bigint"]

‎vendored/Cargo.toml

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
[package]
22
name = "rustpython-parser-vendored"
33
description = "RustPython parser vendored third-party crates."
4-
version = "0.3.0"
5-
authors = ["RustPython Team"]
6-
edition = "2021"
7-
repository = "https://github.com/RustPython/Parser/"
8-
license = "MIT"
4+
authors = ["RustPython Team", "and the original authors of the vendored modules"]
5+
license = "Various"
6+
edition = { workspace = true }
7+
version = { workspace = true }
8+
repository = { workspace = true }
9+
rust-version = { workspace = true }
910

1011
[dependencies]
11-
serde = { version = "1.0.133", optional = true, default-features = false, features = ["derive"] }
12+
serde = { workspace = true, optional = true, features = ["derive"] }
1213
memchr.workspace = true
1314
once_cell.workspace = true
1415

0 commit comments

Comments
 (0)