From 5f0ada89e2ce8b1a112a3175f7aee938a0927c9a Mon Sep 17 00:00:00 2001 From: Quanyi Ma Date: Tue, 10 Sep 2024 21:12:24 +0800 Subject: [PATCH] Improve Cargo.toml format Signed-off-by: Quanyi Ma --- Cargo.toml | 1 + aries/Cargo.toml | 3 ++- aries/README.md | 0 atlas/Cargo.toml | 8 ++++---- ceres/Cargo.toml | 1 + gemini/Cargo.toml | 13 +++++++------ libra/Cargo.toml | 3 ++- saturn/Cargo.toml | 1 + scorpio/Cargo.toml | 18 ++++++++++-------- vault/Cargo.toml | 4 ++-- 10 files changed, 30 insertions(+), 22 deletions(-) create mode 100644 aries/README.md diff --git a/Cargo.toml b/Cargo.toml index 687c78cce..b994a76be 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,6 +33,7 @@ saturn = { path = "saturn" } taurus = { path = "taurus" } mega = { path = "mega" } mono = { path = "mono" } +libra = { path = "libra" } anyhow = "1.0.87" serde = "1.0.210" diff --git a/aries/Cargo.toml b/aries/Cargo.toml index b19040284..361c6c587 100644 --- a/aries/Cargo.toml +++ b/aries/Cargo.toml @@ -13,6 +13,7 @@ common = { workspace = true } callisto = { workspace = true } gemini = { workspace = true } jupiter = { workspace = true } + tokio = { workspace = true } clap = { workspace = true, features = ["derive"] } tracing = { workspace = true } @@ -30,4 +31,4 @@ tower-http = { workspace = true, features = [ "decompression-full", ] } ctrlc = "3.4.4" -regex = "1.10.4" \ No newline at end of file +regex = "1.10.4" diff --git a/aries/README.md b/aries/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/atlas/Cargo.toml b/atlas/Cargo.toml index 0faccf1b1..af6ae6ed0 100644 --- a/atlas/Cargo.toml +++ b/atlas/Cargo.toml @@ -4,8 +4,8 @@ version = "0.1.0" edition = "2021" [dependencies] -async-openai = "0.23.4" -reqwest.workspace = true -serde.workspace = true -serde_json.workspace = true tokio = { workspace = true, features = ["macros"] } +reqwest = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +async-openai = "0.23.4" diff --git a/ceres/Cargo.toml b/ceres/Cargo.toml index ec830fd97..80c38f76e 100644 --- a/ceres/Cargo.toml +++ b/ceres/Cargo.toml @@ -15,6 +15,7 @@ common = { workspace = true } jupiter = { workspace = true } callisto = { workspace = true } mercury = { workspace = true } + anyhow = { workspace = true } tokio = { workspace = true, features = ["net"] } tokio-stream = { workspace = true } diff --git a/gemini/Cargo.toml b/gemini/Cargo.toml index 73da500be..461304253 100644 --- a/gemini/Cargo.toml +++ b/gemini/Cargo.toml @@ -12,6 +12,12 @@ path = "src/lib.rs" [dependencies] common = { workspace = true } +callisto = { workspace = true } +vault = { workspace = true } +jupiter = { workspace = true } +neptune = { workspace = true } +ceres = { workspace = true } + axum = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } @@ -19,9 +25,4 @@ reqwest = { workspace = true } tracing = { workspace = true } tokio = { workspace = true, features = ["net"] } chrono = { workspace = true } -jupiter = { workspace = true } -vault = { workspace = true } -callisto = { workspace = true } -ceres = { workspace = true } -neptune = { workspace = true } -secp256k1 = { version = "0.29.0", features = ["serde", "rand","hashes"] } \ No newline at end of file +secp256k1 = { version = "0.29.0", features = ["serde", "rand","hashes"] } diff --git a/libra/Cargo.toml b/libra/Cargo.toml index 660bfdd88..cefa9ceb7 100644 --- a/libra/Cargo.toml +++ b/libra/Cargo.toml @@ -10,6 +10,7 @@ path = "src/main.rs" [dependencies] mercury = { workspace = true } ceres = { workspace = true } + sea-orm = { workspace = true, features = [ "sqlx-sqlite", "runtime-tokio-rustls", @@ -51,4 +52,4 @@ pager = "0.16.0" [dev-dependencies] tokio = { workspace = true, features = ["macros", "process"] } -tracing-test = "0.2.4" \ No newline at end of file +tracing-test = "0.2.4" diff --git a/saturn/Cargo.toml b/saturn/Cargo.toml index ae6a376e8..ce6c3416b 100644 --- a/saturn/Cargo.toml +++ b/saturn/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [dependencies] common = { workspace = true } + serde = { workspace = true } serde_json = { workspace = true } tracing = { workspace = true } diff --git a/scorpio/Cargo.toml b/scorpio/Cargo.toml index b4c4b4a91..dd0da7c21 100644 --- a/scorpio/Cargo.toml +++ b/scorpio/Cargo.toml @@ -4,23 +4,25 @@ version = "0.1.0" edition = "2021" [dependencies] -libra = {path = "../libra"} -fuse-backend-rs = { version = "0.12.0"} +libra = { path = "../libra" } +mercury = { path = "../mercury" } + +toml = "0.8.19" fuser = "0.14.0" libc = "0.2.155" log = "0.4.22" -radix_trie = "0.2.1" +radix_trie = "0.2.1" signal-hook = "0.3.17" tracing = "0.1.40" -reqwest = { version = "0.12.5", features = ["json"] } -serde = { version = "1.0.203", features = ["derive"] } serde_json = "1.0.117" once_cell = "1.19.0" -tokio = { version = "1.38.1", features = ["full"] } arc-swap = "1.5" +reqwest = { version = "0.12.5", features = ["json"] } +serde = { version = "1.0.203", features = ["derive"] } +fuse-backend-rs = { version = "0.12.0"} +tokio = { version = "1.38.1", features = ["full"] } vm-memory = { version = "0.10", features = ["backend-mmap", "backend-bitmap"] } -mercury = { path = "../mercury" } -toml = "0.8.19" + [features] async-io = [] diff --git a/vault/Cargo.toml b/vault/Cargo.toml index ded827ace..756756097 100644 --- a/vault/Cargo.toml +++ b/vault/Cargo.toml @@ -10,6 +10,6 @@ go-defer = "0.1.0" openssl = "0.10.64" hex = "0.4.3" lazy_static = "1.5.0" -secp256k1 = { version = "0.29.0", features = ["serde", "rand"] } bs58 = "0.5.1" -serde = { version = "1.0.117", features = ["derive"] } \ No newline at end of file +serde = { version = "1.0.117", features = ["derive"] } +secp256k1 = { version = "0.29.0", features = ["serde", "rand"] }