From acde8bb6253ae5b41d4358f2d561bbf320836ff7 Mon Sep 17 00:00:00 2001 From: Jeong YunWon Date: Mon, 22 Aug 2022 07:12:10 +0900 Subject: [PATCH] sort Cargo.toml dependencies --- Cargo.toml | 2 +- ast/Cargo.toml | 2 +- bytecode/Cargo.toml | 5 ++--- parser/Cargo.toml | 5 +++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c2e22b1..00fc914 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,8 +6,8 @@ authors = ["RustPython Team"] edition = "2021" [dependencies] +rustpython-bytecode = { path = "bytecode" } rustpython-codegen = { path = "codegen" } rustpython-parser = { path = "parser" } -rustpython-bytecode = { path = "bytecode" } thiserror = "1.0" diff --git a/ast/Cargo.toml b/ast/Cargo.toml index 144ba62..39eedf4 100644 --- a/ast/Cargo.toml +++ b/ast/Cargo.toml @@ -12,5 +12,5 @@ unparse = ["rustpython-common"] [dependencies] num-bigint = "0.4.3" +rustpython-bytecode = { path = "../bytecode" } rustpython-common = { path = "../../common", optional = true } -rustpython-bytecode = { path = "../bytecode"} diff --git a/bytecode/Cargo.toml b/bytecode/Cargo.toml index 1457072..05d698e 100644 --- a/bytecode/Cargo.toml +++ b/bytecode/Cargo.toml @@ -7,14 +7,13 @@ edition = "2021" 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" lz4_flex = "0.9.2" num-bigint = { version = "0.4.3", features = ["serde"] } num-complex = { version = "0.4.0", features = ["serde"] } serde = { version = "1.0.136", features = ["derive"] } -itertools = "0.10.3" -bstr = "0.2.17" static_assertions = "1.1.0" diff --git a/parser/Cargo.toml b/parser/Cargo.toml index 60dabdc..2522e72 100644 --- a/parser/Cargo.toml +++ b/parser/Cargo.toml @@ -2,7 +2,7 @@ name = "rustpython-parser" version = "0.1.2" description = "Parser for python code." -authors = [ "RustPython Team" ] +authors = ["RustPython Team"] build = "build.rs" repository = "https://github.com/RustPython/RustPython" license = "MIT" @@ -15,6 +15,8 @@ phf_codegen = "0.10" tiny-keccak = { version = "2", features = ["sha3"] } [dependencies] +rustpython-ast = { path = "../ast" } + ahash = "0.7.6" itertools = "0.10.3" lalrpop-util = "0.19.8" @@ -22,7 +24,6 @@ log = "0.4.16" num-bigint = "0.4.3" num-traits = "0.2.14" phf = "0.10.1" -rustpython-ast = { path = "../ast" } unic-emoji-char = "0.9.0" unic-ucd-ident = "0.9.0" unicode_names2 = "0.5.0"