mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-29 09:38:59 +00:00
e6b019c29d
# Conflicts: # .github/workflows/build.yml # .github/workflows/ci.yml # Cargo.lock # Cargo.toml # appauth/src/token.rs # crates/config/src/config.rs # crates/event-notifier/examples/simple.rs # crates/event-notifier/src/global.rs # crates/event-notifier/src/lib.rs # crates/event-notifier/src/notifier.rs # crates/event-notifier/src/store.rs # crates/filemeta/src/filemeta.rs # crates/notify/examples/webhook.rs # crates/utils/Cargo.toml # ecstore/Cargo.toml # ecstore/src/cmd/bucket_replication.rs # ecstore/src/config/com.rs # ecstore/src/disk/error.rs # ecstore/src/disk/mod.rs # ecstore/src/set_disk.rs # ecstore/src/store_api.rs # ecstore/src/store_list_objects.rs # iam/Cargo.toml # iam/src/manager.rs # policy/Cargo.toml # rustfs/src/admin/rpc.rs # rustfs/src/main.rs # rustfs/src/storage/mod.rs
62 lines
2.5 KiB
TOML
62 lines
2.5 KiB
TOML
[package]
|
|
name = "rustfs-utils"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
version.workspace = true
|
|
|
|
[dependencies]
|
|
base64-simd = { workspace = true, optional = true }
|
|
blake3 = { workspace = true, optional = true }
|
|
crc32fast.workspace = true
|
|
hex-simd = { workspace = true, optional = true }
|
|
highway = { workspace = true, optional = true }
|
|
lazy_static = { workspace = true, optional = true }
|
|
local-ip-address = { workspace = true, optional = true }
|
|
rustfs-config = { workspace = true, features = ["constants"] }
|
|
md-5 = { workspace = true, optional = true }
|
|
netif = { workspace = true, optional = true }
|
|
nix = { workspace = true, optional = true }
|
|
regex = { workspace = true, optional = true }
|
|
rustls = { workspace = true, optional = true }
|
|
rustls-pemfile = { workspace = true, optional = true }
|
|
rustls-pki-types = { workspace = true, optional = true }
|
|
serde = { workspace = true, optional = true }
|
|
sha2 = { workspace = true, optional = true }
|
|
siphasher = { workspace = true, optional = true }
|
|
tempfile = { workspace = true, optional = true }
|
|
tokio = { workspace = true, optional = true, features = ["io-util", "macros"] }
|
|
tracing = { workspace = true }
|
|
url = { workspace = true, optional = true }
|
|
flate2 = { workspace = true, optional = true }
|
|
brotli = { workspace = true, optional = true }
|
|
zstd = { workspace = true, optional = true }
|
|
snap = { workspace = true, optional = true }
|
|
lz4 = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
tempfile = { workspace = true }
|
|
rand = { workspace = true }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = { workspace = true, optional = true, features = ["std", "fileapi", "minwindef", "ntdef", "winnt"] }
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
default = ["ip"] # features that are enabled by default
|
|
ip = ["dep:local-ip-address"] # ip characteristics and their dependencies
|
|
tls = ["dep:rustls", "dep:rustls-pemfile", "dep:rustls-pki-types"] # tls characteristics and their dependencies
|
|
net = ["ip", "dep:url", "dep:netif", "dep:lazy_static"] # empty network features
|
|
io = ["dep:tokio"]
|
|
path = []
|
|
compress = ["dep:flate2", "dep:brotli", "dep:snap", "dep:lz4", "dep:zstd"]
|
|
string = ["dep:regex", "dep:lazy_static"]
|
|
crypto = ["dep:base64-simd", "dep:hex-simd"]
|
|
hash = ["dep:highway", "dep:md-5", "dep:sha2", "dep:blake3", "dep:serde", "dep:siphasher"]
|
|
os = ["dep:nix", "dep:tempfile", "winapi"] # operating system utilities
|
|
integration = [] # integration test features
|
|
full = ["ip", "tls", "net", "io", "hash", "os", "integration", "path", "crypto", "string", "compress"] # all features
|