diff --git a/Cargo.toml b/Cargo.toml index fbd7efe..a50ce82 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,8 @@ [workspace.package] -version = "0.3.0" +version = "0.3.1" authors = ["RustPython Team"] edition = "2021" -rust-version = "1.67.1" +rust-version = "1.72.1" description = "Python parser and its dependencies." repository = "https://github.com/RustPython/Parser" license = "MIT" @@ -23,24 +23,24 @@ rustpython-literal = { path = "literal", version = "0.3.0" } rustpython-format = { path = "format", version = "0.3.0" } rustpython-parser = { path = "parser", default-features = false, version = "0.3.0" } -ahash = "0.7.6" anyhow = "1.0.45" +bitflags = "2.4.0" cfg-if = "1.0" insta = "1.14.0" -itertools = "0.10.3" -is-macro = "0.2.2" +itertools = "0.11.0" +is-macro = "0.3.0" log = "0.4.16" num-complex = "0.4.0" num-bigint = "0.4.3" num-traits = "0.2" -pyo3 = { version = "0.19.0" } +pyo3 = { version = "0.19.2" } malachite-bigint = { version = "0.1.0" } memchr = "2.5.0" rand = "0.8.5" -serde = "1.0" +serde = { version = "1.0.133", default-features = false } static_assertions = "1.1" -once_cell = "1.17.1" -unicode_names2 = { version = "0.6.0", git = "https://github.com/youknowone/unicode_names2.git", rev = "4ce16aa85cbcdd9cc830410f1a72ef9a235f2fde" } +once_cell = "1.18.0" +unicode_names2 = "1.1.0" [profile.dev.package."*"] opt-level = 3 diff --git a/ast-pyo3/Cargo.toml b/ast-pyo3/Cargo.toml index bf145ab..b2d34d0 100644 --- a/ast-pyo3/Cargo.toml +++ b/ast-pyo3/Cargo.toml @@ -1,10 +1,11 @@ [package] name = "rustpython-ast-pyo3" version = "0.0.1" -edition = "2021" +edition = { workspace = true } +rust-version = { workspace = true } [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 # It reimplements AST types, but currently both slower than python AST types and limited to use in other API wrapper = [] diff --git a/ast/Cargo.toml b/ast/Cargo.toml index 55cfa83..53efc88 100644 --- a/ast/Cargo.toml +++ b/ast/Cargo.toml @@ -1,11 +1,12 @@ [package] name = "rustpython-ast" -version = "0.3.0" description = "AST definitions for RustPython" -authors = ["RustPython Team"] -edition = "2021" -repository = "https://github.com/RustPython/Parser/" -license = "MIT" +version = { workspace = true } +authors = { workspace = true } +edition = { workspace = true } +repository = { workspace = true } +license = { workspace = true } +rust-version = { workspace = true } [features] default = ["location", "malachite-bigint"] diff --git a/core/Cargo.toml b/core/Cargo.toml index e4c99f3..5293ef4 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,11 +1,12 @@ [package] name = "rustpython-parser-core" description = "RustPython parser data types." -version = "0.3.0" -authors = ["RustPython Team"] -edition = "2021" -repository = "https://github.com/RustPython/Parser/" -license = "MIT" +edition = { workspace = true } +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +license = { workspace = true } +rust-version = { workspace = true } [dependencies] # vendored dependency shouldn't be placed out of this crate diff --git a/format/Cargo.toml b/format/Cargo.toml index 9519d25..f9fd024 100644 --- a/format/Cargo.toml +++ b/format/Cargo.toml @@ -1,16 +1,17 @@ [package] name = "rustpython-format" -edition = "2021" -version = "0.3.0" description = "Format helpers for RustPython" -authors = ["RustPython Team"] -repository = "https://github.com/RustPython/Parser/" -license = "MIT" +edition = { workspace = true } +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +license = { workspace = true } +rust-version = { workspace = true } [dependencies] rustpython-literal = { workspace = true } -bitflags = "2.3.1" -itertools = "0.10.5" +bitflags = { workspace = true } +itertools = { workspace = true } malachite-bigint = { workspace = true } num-traits = { workspace = true } diff --git a/literal/Cargo.toml b/literal/Cargo.toml index dfb4a67..de7e89c 100644 --- a/literal/Cargo.toml +++ b/literal/Cargo.toml @@ -1,11 +1,12 @@ [package] name = "rustpython-literal" -version = "0.3.0" description = "Common literal handling utilities mostly useful for unparse and repr." -authors = ["RustPython Team"] -edition = "2021" -repository = "https://github.com/RustPython/Parser/" -license = "MIT" +edition = { workspace = true } +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +license = { workspace = true } +rust-version = { workspace = true } [dependencies] hexf-parse = "0.2.1" diff --git a/parser/Cargo.toml b/parser/Cargo.toml index f8bd8d4..19a8c8e 100644 --- a/parser/Cargo.toml +++ b/parser/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "rustpython-parser" -version = "0.3.0" -description = "Parser for python code." -authors = ["RustPython Team"] -build = "build.rs" -repository = "https://github.com/RustPython/Parser/" -license = "MIT" -edition = "2021" +description = "Python language parser for Python3." +edition = { workspace = true } +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +license = { workspace = true } +rust-version = { workspace = true } [features] default = ["location", "malachite-bigint"] diff --git a/vendored/Cargo.toml b/vendored/Cargo.toml index 550ff18..95f87bb 100644 --- a/vendored/Cargo.toml +++ b/vendored/Cargo.toml @@ -1,14 +1,15 @@ [package] name = "rustpython-parser-vendored" description = "RustPython parser vendored third-party crates." -version = "0.3.0" -authors = ["RustPython Team"] -edition = "2021" -repository = "https://github.com/RustPython/Parser/" -license = "MIT" +authors = ["RustPython Team", "and the original authors of the vendored modules"] +license = "Various" +edition = { workspace = true } +version = { workspace = true } +repository = { workspace = true } +rust-version = { workspace = true } [dependencies] -serde = { version = "1.0.133", optional = true, default-features = false, features = ["derive"] } +serde = { workspace = true, optional = true, features = ["derive"] } memchr.workspace = true once_cell.workspace = true