mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-07 21:25:31 +00:00
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
This commit is contained in:
parent
a1e4336f70
commit
13cae0af64
8 changed files with 52 additions and 46 deletions
18
Cargo.toml
18
Cargo.toml
|
@ -1,8 +1,8 @@
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "0.3.0"
|
version = "0.3.1"
|
||||||
authors = ["RustPython Team"]
|
authors = ["RustPython Team"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.67.1"
|
rust-version = "1.72.1"
|
||||||
description = "Python parser and its dependencies."
|
description = "Python parser and its dependencies."
|
||||||
repository = "https://github.com/RustPython/Parser"
|
repository = "https://github.com/RustPython/Parser"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
@ -23,24 +23,24 @@ rustpython-literal = { path = "literal", version = "0.3.0" }
|
||||||
rustpython-format = { path = "format", version = "0.3.0" }
|
rustpython-format = { path = "format", version = "0.3.0" }
|
||||||
rustpython-parser = { path = "parser", default-features = false, version = "0.3.0" }
|
rustpython-parser = { path = "parser", default-features = false, version = "0.3.0" }
|
||||||
|
|
||||||
ahash = "0.7.6"
|
|
||||||
anyhow = "1.0.45"
|
anyhow = "1.0.45"
|
||||||
|
bitflags = "2.4.0"
|
||||||
cfg-if = "1.0"
|
cfg-if = "1.0"
|
||||||
insta = "1.14.0"
|
insta = "1.14.0"
|
||||||
itertools = "0.10.3"
|
itertools = "0.11.0"
|
||||||
is-macro = "0.2.2"
|
is-macro = "0.3.0"
|
||||||
log = "0.4.16"
|
log = "0.4.16"
|
||||||
num-complex = "0.4.0"
|
num-complex = "0.4.0"
|
||||||
num-bigint = "0.4.3"
|
num-bigint = "0.4.3"
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
pyo3 = { version = "0.19.0" }
|
pyo3 = { version = "0.19.2" }
|
||||||
malachite-bigint = { version = "0.1.0" }
|
malachite-bigint = { version = "0.1.0" }
|
||||||
memchr = "2.5.0"
|
memchr = "2.5.0"
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
serde = "1.0"
|
serde = { version = "1.0.133", default-features = false }
|
||||||
static_assertions = "1.1"
|
static_assertions = "1.1"
|
||||||
once_cell = "1.17.1"
|
once_cell = "1.18.0"
|
||||||
unicode_names2 = { version = "0.6.0", git = "https://github.com/youknowone/unicode_names2.git", rev = "4ce16aa85cbcdd9cc830410f1a72ef9a235f2fde" }
|
unicode_names2 = "1.1.0"
|
||||||
|
|
||||||
[profile.dev.package."*"]
|
[profile.dev.package."*"]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rustpython-ast-pyo3"
|
name = "rustpython-ast-pyo3"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
edition = "2021"
|
edition = { workspace = true }
|
||||||
|
rust-version = { workspace = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
# abi3 = ["pyo3/abi3-py37"] # will be supported from next pyo3 version
|
abi3 = ["pyo3/abi3-py37"] # will be supported from next pyo3 version
|
||||||
# This feature is experimental
|
# This feature is experimental
|
||||||
# It reimplements AST types, but currently both slower than python AST types and limited to use in other API
|
# It reimplements AST types, but currently both slower than python AST types and limited to use in other API
|
||||||
wrapper = []
|
wrapper = []
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rustpython-ast"
|
name = "rustpython-ast"
|
||||||
version = "0.3.0"
|
|
||||||
description = "AST definitions for RustPython"
|
description = "AST definitions for RustPython"
|
||||||
authors = ["RustPython Team"]
|
version = { workspace = true }
|
||||||
edition = "2021"
|
authors = { workspace = true }
|
||||||
repository = "https://github.com/RustPython/Parser/"
|
edition = { workspace = true }
|
||||||
license = "MIT"
|
repository = { workspace = true }
|
||||||
|
license = { workspace = true }
|
||||||
|
rust-version = { workspace = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["location", "malachite-bigint"]
|
default = ["location", "malachite-bigint"]
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rustpython-parser-core"
|
name = "rustpython-parser-core"
|
||||||
description = "RustPython parser data types."
|
description = "RustPython parser data types."
|
||||||
version = "0.3.0"
|
edition = { workspace = true }
|
||||||
authors = ["RustPython Team"]
|
version = { workspace = true }
|
||||||
edition = "2021"
|
authors = { workspace = true }
|
||||||
repository = "https://github.com/RustPython/Parser/"
|
repository = { workspace = true }
|
||||||
license = "MIT"
|
license = { workspace = true }
|
||||||
|
rust-version = { workspace = true }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# vendored dependency shouldn't be placed out of this crate
|
# vendored dependency shouldn't be placed out of this crate
|
||||||
|
|
|
@ -1,16 +1,17 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rustpython-format"
|
name = "rustpython-format"
|
||||||
edition = "2021"
|
|
||||||
version = "0.3.0"
|
|
||||||
description = "Format helpers for RustPython"
|
description = "Format helpers for RustPython"
|
||||||
authors = ["RustPython Team"]
|
edition = { workspace = true }
|
||||||
repository = "https://github.com/RustPython/Parser/"
|
version = { workspace = true }
|
||||||
license = "MIT"
|
authors = { workspace = true }
|
||||||
|
repository = { workspace = true }
|
||||||
|
license = { workspace = true }
|
||||||
|
rust-version = { workspace = true }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rustpython-literal = { workspace = true }
|
rustpython-literal = { workspace = true }
|
||||||
|
|
||||||
bitflags = "2.3.1"
|
bitflags = { workspace = true }
|
||||||
itertools = "0.10.5"
|
itertools = { workspace = true }
|
||||||
malachite-bigint = { workspace = true }
|
malachite-bigint = { workspace = true }
|
||||||
num-traits = { workspace = true }
|
num-traits = { workspace = true }
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rustpython-literal"
|
name = "rustpython-literal"
|
||||||
version = "0.3.0"
|
|
||||||
description = "Common literal handling utilities mostly useful for unparse and repr."
|
description = "Common literal handling utilities mostly useful for unparse and repr."
|
||||||
authors = ["RustPython Team"]
|
edition = { workspace = true }
|
||||||
edition = "2021"
|
version = { workspace = true }
|
||||||
repository = "https://github.com/RustPython/Parser/"
|
authors = { workspace = true }
|
||||||
license = "MIT"
|
repository = { workspace = true }
|
||||||
|
license = { workspace = true }
|
||||||
|
rust-version = { workspace = true }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
hexf-parse = "0.2.1"
|
hexf-parse = "0.2.1"
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rustpython-parser"
|
name = "rustpython-parser"
|
||||||
version = "0.3.0"
|
description = "Python language parser for Python3."
|
||||||
description = "Parser for python code."
|
edition = { workspace = true }
|
||||||
authors = ["RustPython Team"]
|
version = { workspace = true }
|
||||||
build = "build.rs"
|
authors = { workspace = true }
|
||||||
repository = "https://github.com/RustPython/Parser/"
|
repository = { workspace = true }
|
||||||
license = "MIT"
|
license = { workspace = true }
|
||||||
edition = "2021"
|
rust-version = { workspace = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["location", "malachite-bigint"]
|
default = ["location", "malachite-bigint"]
|
||||||
|
|
|
@ -1,14 +1,15 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rustpython-parser-vendored"
|
name = "rustpython-parser-vendored"
|
||||||
description = "RustPython parser vendored third-party crates."
|
description = "RustPython parser vendored third-party crates."
|
||||||
version = "0.3.0"
|
authors = ["RustPython Team", "and the original authors of the vendored modules"]
|
||||||
authors = ["RustPython Team"]
|
license = "Various"
|
||||||
edition = "2021"
|
edition = { workspace = true }
|
||||||
repository = "https://github.com/RustPython/Parser/"
|
version = { workspace = true }
|
||||||
license = "MIT"
|
repository = { workspace = true }
|
||||||
|
rust-version = { workspace = true }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
serde = { version = "1.0.133", optional = true, default-features = false, features = ["derive"] }
|
serde = { workspace = true, optional = true, features = ["derive"] }
|
||||||
memchr.workspace = true
|
memchr.workspace = true
|
||||||
once_cell.workspace = true
|
once_cell.workspace = true
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue