Cargo Features

nydus-storage has no features set by default.

[dependencies]
nydus-storage = { version = "0.6.4", features = ["backend-localdisk", "backend-localdisk-gpt", "backend-localfs", "backend-oss", "backend-registry", "backend-s3", "backend-http-proxy", "prefetch-rate-limit"] }
backend-localdisk backend-localdisk-gpt?

Affects backend::localdisk

backend-localdisk-gpt = backend-localdisk, gpt
backend-localfs

Affects backend::localfs

backend-oss = base64, hmac, httpdate, reqwest, sha1, url

Affects backend::oss, backend::object_storage

backend-registry = base64, reqwest, url

Affects backend::registry

backend-s3 = base64, hmac, http, reqwest, sha2, time, url

Affects backend::s3, backend::object_storage

backend-http-proxy = http, hyper, hyperlocal, reqwest, url

Affects backend::http_proxy

prefetch-rate-limit = leaky-bucket

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

base64 backend-oss? backend-registry? backend-s3?

Enables base64 ^0.21

hmac backend-oss? backend-s3?
http backend-http-proxy? backend-s3?

Enables http ^0.2.8

httpdate backend-oss?
hyper backend-http-proxy?

Enables hyper ^0.14.11

hyperlocal backend-http-proxy?

Enables hyperlocal ^0.8.0

leaky-bucket prefetch-rate-limit?

Enables leaky-bucket ^0.12.1

reqwest backend-http-proxy? backend-oss? backend-registry? backend-s3?

Enables reqwest ^0.11.14

sha1 backend-oss?
sha2 backend-s3?
time backend-s3?
url backend-http-proxy? backend-oss? backend-registry? backend-s3?
gpt backend-localdisk-gpt?

Enables gpt ^3.0.0