use workspace dependencies

This commit is contained in:
Jeong YunWon 2023-02-06 14:18:16 +09:00
parent 1468fe46ab
commit a73bee7aae
4 changed files with 25 additions and 22 deletions

View file

@ -10,4 +10,4 @@ rustpython-compiler-core = { path = "core" }
rustpython-codegen = { path = "codegen" }
rustpython-parser = { path = "parser" }
thiserror = "1.0"
thiserror = { workspace = true }

View file

@ -14,6 +14,7 @@ fold = []
unparse = ["rustpython-common"]
[dependencies]
num-bigint = "0.4.3"
rustpython-compiler-core = { path = "../core", version = "0.2.0" }
rustpython-common = { path = "../../common", version = "0.2.0", optional = true }
num-bigint = { workspace = true }

View file

@ -8,13 +8,14 @@ repository = "https://github.com/RustPython/RustPython"
license = "MIT"
[dependencies]
bincode = "1.3.3"
bitflags = "1.3.2"
bstr = "0.2.17"
itertools = "0.10.3"
bincode = { workspace = true }
bitflags = { workspace = true }
bstr = { workspace = true }
itertools = { workspace = true }
num-bigint = { workspace = true, features = ["serde"] }
num-complex = { workspace = true, features = ["serde"] }
num_enum = { workspace = true }
serde = { workspace = true, features = ["derive"] }
thiserror = { workspace = true }
lz4_flex = "0.9.2"
num-bigint = { version = "0.4.3", features = ["serde"] }
num-complex = { version = "0.4.0", features = ["serde"] }
num_enum = "0.5.7"
serde = { version = "1.0.136", features = ["derive"] }
thiserror = "1.0"

View file

@ -12,7 +12,7 @@ edition = "2021"
default = ["lalrpop"] # removing this causes potential build failure
[build-dependencies]
anyhow = "1.0.45"
anyhow = { workspace = true }
lalrpop = { version = "0.19.8", optional = true }
phf_codegen = "0.11.1"
tiny-keccak = { version = "2", features = ["sha3"] }
@ -21,18 +21,19 @@ tiny-keccak = { version = "2", features = ["sha3"] }
rustpython-ast = { path = "../ast", version = "0.2.0" }
rustpython-compiler-core = { path = "../core", version = "0.2.0" }
ahash = "0.7.6"
itertools = "0.10.3"
lalrpop-util = "0.19.8"
log = "0.4.16"
num-bigint = "0.4.3"
num-traits = "0.2.14"
phf = "0.11.1"
rustc-hash = "1.1.0"
thiserror = "1.0"
ahash = { workspace = true }
itertools = { workspace = true }
log = { workspace = true }
num-bigint = { workspace = true }
num-traits = { workspace = true }
thiserror = { workspace = true }
unic-emoji-char = "0.9.0"
unic-ucd-ident = "0.9.0"
unicode_names2 = "0.5.0"
lalrpop-util = "0.19.8"
phf = "0.11.1"
rustc-hash = "1.1.0"
[dev-dependencies]
insta = "1.14.0"
insta = { workspace = true }