mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-27 08:38:58 +00:00
49 lines
1.8 KiB
TOML
49 lines
1.8 KiB
TOML
[package]
|
|
name = "rustfs-utils"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
version.workspace = true
|
|
|
|
[dependencies]
|
|
blake3 = { version = "1.8.2", optional = true }
|
|
highway = { workspace = true, optional = true }
|
|
lazy_static= { workspace = true , optional = true}
|
|
local-ip-address = { workspace = true, optional = true }
|
|
md-5 = { workspace = true, optional = true }
|
|
netif= { workspace = true , optional = true}
|
|
nix = { workspace = true, optional = true }
|
|
rustfs-config = { workspace = 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 }
|
|
tempfile = { workspace = true, optional = true }
|
|
tokio = { workspace = true, optional = true, features = ["io-util", "macros"] }
|
|
tracing = { workspace = true }
|
|
url = { workspace = true , optional = true}
|
|
|
|
|
|
[dev-dependencies]
|
|
tempfile = { 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 = []
|
|
hash = ["dep:highway", "dep:md-5", "dep:sha2", "dep:blake3", "dep:serde"]
|
|
os = ["dep:nix", "dep:tempfile", "winapi"] # operating system utilities
|
|
integration = [] # integration test features
|
|
full = ["ip", "tls", "net", "io","hash", "os", "integration","path"] # all features
|