This commit is contained in:
weisd
2024-06-25 16:22:14 +08:00
parent 0a9f06096b
commit 92d6b07578
8 changed files with 145 additions and 29 deletions
+11 -12
View File
@@ -11,21 +11,20 @@ rust-version.workspace = true
[[bin]]
name = "rustfs"
required-features = ["binary"]
# required-features = ["binary"]
[features]
binary = ["tokio/full", "dep:clap", "dep:tracing-subscriber", "dep:hyper-util"]
# [features]
# binary = ["tokio/full", "dep:clap", "dep:tracing-subscriber", "dep:hyper-util"]
[dependencies]
ecstore = { path = "../ecstore" }
# time = { workspace = true, features = ["parsing", "formatting"] }
# s3s = "0.10.0"
hyper-util = { version = "0.1.5", optional = true, features = ["server-auto", "server-graceful", "http1", "http2", "tokio"] }
tokio.workspace = true
clap = { version = "4.5.7", optional = true, features = ["derive"] }
# tracing.workspace = true
# tokio-util.workspace = true
tracing-subscriber = { version = "0.3.18", optional = true, features = ["env-filter", "time"] }
time = { workspace = true, features = ["parsing", "formatting"] }
s3s = "0.10.0"
# async-trait = "0.1.80"
hyper-util = { version = "0.1.5", features = ["server-auto", "server-graceful", "http1", "http2", "tokio"] }
tokio.workspace = true
clap = { version = "4.5.7", features = ["derive"] }
tracing.workspace = true
tokio-util.workspace = true
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "time"] }
async-trait = "0.1.80"