use workspace level dependencies

This commit is contained in:
zhangjingqiang 2023-04-04 17:47:07 +08:00
parent 03122e9a18
commit df978f445e
42 changed files with 419 additions and 344 deletions

View file

@ -7,15 +7,15 @@ edition.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0"
thiserror = "1.0"
clap = "4.0"
clap_complete = "4.0"
tokio = { version = "1.0", features = ["rt", "net", "macros", "io-util", "fs"] }
tokio-util = { version = "0.7", features = ["compat"] }
futures-util = "0.3"
capnp-rpc = "0.16"
capnp = "0.16"
serde_json = "1.0"
anyhow.workspace = true
thiserror.workspace = true
clap.workspace = true
clap_complete.workspace = true
tokio = { workspace = true, features = ["rt", "net", "macros", "io-util", "fs"] }
tokio-util = { workspace = true, features = ["compat"] }
futures-util.workspace = true
capnp-rpc.workspace = true
capnp.workspace = true
serde_json.workspace = true
g3proxy-proto = { path = "../../proto" }
g3-types = { path = "../../../lib/g3-types", features = ["resolve"] }

View file

@ -8,12 +8,12 @@ rust-version = "1.59.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0"
tokio = { version = "1.0", features = ["rt", "net", "macros", "io-std", "io-util", "fs"] }
clap = "4.0"
clap_complete = "4.0"
async-trait = "0.1"
log = { version = "0.4", features = ["max_level_debug", "release_max_level_debug"] }
anyhow.workspace = true
tokio = { workspace = true, features = ["rt", "net", "macros", "io-std", "io-util", "fs"] }
clap.workspace = true
clap_complete.workspace = true
async-trait.workspace = true
log = { workspace = true, features = ["max_level_debug", "release_max_level_debug"] }
g3-types = { path = "../../../lib/g3-types" }
g3-socket = { path = "../../../lib/g3-socket" }
g3-ftp-client = { path = "../../../lib/g3-ftp-client", features = ["log-raw-io"] }

View file

@ -7,9 +7,9 @@ edition.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0"
clap = "4.0"
clap_complete = "4.0"
anyhow.workspace = true
clap.workspace = true
clap_complete.workspace = true
mlua = { version = "0.8.1" }
[features]