use workspace dependencies

This commit is contained in:
Jeong YunWon 2023-02-06 14:18:16 +09:00
parent bff9884df1
commit 00dc7ec709
5 changed files with 34 additions and 31 deletions

View file

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

View file

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

View file

@ -11,16 +11,16 @@ edition = "2021"
rustpython-ast = { path = "../ast", features = ["unparse"] } rustpython-ast = { path = "../ast", features = ["unparse"] }
rustpython-compiler-core = { path = "../core", version = "0.2.0" } rustpython-compiler-core = { path = "../core", version = "0.2.0" }
ahash = "0.7.6" ahash = { workspace = true }
bitflags = "1.3.2" bitflags = { workspace = true }
indexmap = "1.8.1" indexmap = { workspace = true }
itertools = "0.10.3" itertools = { workspace = true }
log = "0.4.16" log = { workspace = true }
num-complex = { version = "0.4.0", features = ["serde"] } num-complex = { workspace = true, features = ["serde"] }
num-traits = "0.2.14" num-traits = { workspace = true }
thiserror = "1.0" thiserror = { workspace = true }
[dev-dependencies] [dev-dependencies]
rustpython-parser = { path = "../parser" } rustpython-parser = { path = "../parser" }
insta = "1.14.0" insta = { workspace = true }

View file

@ -8,13 +8,14 @@ repository = "https://github.com/RustPython/RustPython"
license = "MIT" license = "MIT"
[dependencies] [dependencies]
bincode = "1.3.3" bincode = { workspace = true }
bitflags = "1.3.2" bitflags = { workspace = true }
bstr = "0.2.17" bstr = { workspace = true }
itertools = "0.10.3" 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" 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 default = ["lalrpop"] # removing this causes potential build failure
[build-dependencies] [build-dependencies]
anyhow = "1.0.45" anyhow = { workspace = true }
lalrpop = { version = "0.19.8", optional = true } lalrpop = { version = "0.19.8", optional = true }
phf_codegen = "0.11.1" phf_codegen = "0.11.1"
tiny-keccak = { version = "2", features = ["sha3"] } 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-ast = { path = "../ast", version = "0.2.0" }
rustpython-compiler-core = { path = "../core", version = "0.2.0" } rustpython-compiler-core = { path = "../core", version = "0.2.0" }
ahash = "0.7.6" ahash = { workspace = true }
itertools = "0.10.3" itertools = { workspace = true }
lalrpop-util = "0.19.8" log = { workspace = true }
log = "0.4.16" num-bigint = { workspace = true }
num-bigint = "0.4.3" num-traits = { workspace = true }
num-traits = "0.2.14" thiserror = { workspace = true }
phf = "0.11.1"
rustc-hash = "1.1.0"
thiserror = "1.0"
unic-emoji-char = "0.9.0" unic-emoji-char = "0.9.0"
unic-ucd-ident = "0.9.0" unic-ucd-ident = "0.9.0"
unicode_names2 = "0.5.0" unicode_names2 = "0.5.0"
lalrpop-util = "0.19.8"
phf = "0.11.1"
rustc-hash = "1.1.0"
[dev-dependencies] [dev-dependencies]
insta = "1.14.0" insta = { workspace = true }