mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-17 01:30:33 +00:00
* improve code for opentelemetry and add system metrics * feat: add TraceLayer for HTTP service and improve metrics - Add TraceLayer to HTTP server for request tracing - Implement system metrics for process monitoring - Optimize init_telemetry method for better resource management - Add graceful shutdown handling for telemetry components - Fix GracefulShutdown ownership issues with Arc wrapper * improve code for init_process_observer * remove tomlfmt.toml * Translation comment * improve code for console CompressionLayer params
109 lines
3.0 KiB
TOML
109 lines
3.0 KiB
TOML
[package]
|
|
name = "rustfs"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[[bin]]
|
|
name = "rustfs"
|
|
path = "src/main.rs"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
madmin = { workspace = true }
|
|
api = { workspace = true }
|
|
appauth = { workspace = true }
|
|
atoi = { workspace = true }
|
|
atomic_enum = { workspace = true }
|
|
axum.workspace = true
|
|
axum-extra = { workspace = true }
|
|
axum-server = { workspace = true }
|
|
async-trait.workspace = true
|
|
bytes.workspace = true
|
|
chrono = { workspace = true }
|
|
clap.workspace = true
|
|
crypto = { workspace = true }
|
|
datafusion = { workspace = true }
|
|
common.workspace = true
|
|
const-str = { version = "0.6.1", features = ["std", "proc"] }
|
|
ecstore.workspace = true
|
|
policy.workspace = true
|
|
flatbuffers.workspace = true
|
|
futures.workspace = true
|
|
futures-util.workspace = true
|
|
hyper.workspace = true
|
|
hyper-util.workspace = true
|
|
http.workspace = true
|
|
http-body.workspace = true
|
|
iam = { workspace = true }
|
|
lock.workspace = true
|
|
local-ip-address = { workspace = true }
|
|
matchit = { workspace = true }
|
|
mime.workspace = true
|
|
mime_guess = { workspace = true }
|
|
opentelemetry = { workspace = true }
|
|
pin-project-lite.workspace = true
|
|
protos.workspace = true
|
|
query = { workspace = true }
|
|
rmp-serde.workspace = true
|
|
rustfs-event-notifier = { workspace = true }
|
|
rustfs-obs = { workspace = true }
|
|
rustls.workspace = true
|
|
rustls-pemfile.workspace = true
|
|
rustls-pki-types.workspace = true
|
|
rust-embed = { workspace = true, features = ["interpolate-folder-path"] }
|
|
s3s.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
serde_urlencoded = { workspace = true }
|
|
shadow-rs = { workspace = true, features = ["build", "metadata"] }
|
|
tracing.workspace = true
|
|
time = { workspace = true, features = ["parsing", "formatting", "serde"] }
|
|
tokio-util.workspace = true
|
|
tokio = { workspace = true, features = [
|
|
"rt-multi-thread",
|
|
"macros",
|
|
"net",
|
|
"signal",
|
|
] }
|
|
tokio-rustls.workspace = true
|
|
lazy_static.workspace = true
|
|
tokio-stream.workspace = true
|
|
tonic = { workspace = true }
|
|
tower.workspace = true
|
|
transform-stream.workspace = true
|
|
tower-http = { workspace = true, features = ["trace", "compression-deflate", "compression-gzip", "cors"] }
|
|
uuid = { workspace = true }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
libsystemd.workspace = true
|
|
|
|
[target.'cfg(all(target_os = "linux", target_env = "gnu"))'.dependencies]
|
|
tikv-jemallocator = "0.6"
|
|
|
|
[build-dependencies]
|
|
prost-build.workspace = true
|
|
tonic-build.workspace = true
|
|
http.workspace = true
|
|
bytes.workspace = true
|
|
futures.workspace = true
|
|
futures-util.workspace = true
|
|
# uuid = { version = "1.8.0", features = ["v4", "fast-rng", "serde"] }
|
|
ecstore = { workspace = true }
|
|
s3s.workspace = true
|
|
clap = { workspace = true }
|
|
hyper-util = { workspace = true, features = [
|
|
"tokio",
|
|
"server-auto",
|
|
"server-graceful",
|
|
] }
|
|
transform-stream = { workspace = true }
|
|
netif = "0.1.6"
|
|
shadow-rs = { workspace = true, features = ["build"] }
|
|
# pin-utils = "0.1.0"
|