Cargo Features

[dependencies]
unftp = { version = "0.15.1", default-features = false, features = ["all_extentions", "cloud_storage", "jsonfile_auth", "pam_auth", "rest_auth", "tokio_console", "opendal", "azblob", "gnu", "musl", "docker"] }
default = cloud_storage, jsonfile_auth, opendal, rest_auth

These default features are set whenever unftp is added without default-features = false somewhere in the dependency tree.

all_extentions gnu? = cloud_storage, jsonfile_auth, opendal, pam_auth, rest_auth
cloud_storage default all_extentions? musl? = unftp-sbe-gcs
jsonfile_auth default all_extentions? musl? = unftp-auth-jsonfile
pam_auth all_extentions? = unftp-auth-pam
rest_auth default all_extentions? musl? = unftp-auth-rest
tokio_console = console-subscriber

Enables tracing of tokio

opendal default all_extentions? azblob?

Enables opendal ^0.47.3 and unftp-sbe-opendal ^0.0.1

azblob musl?

Enables services-azblob of opendal ^0.47.3

Affects unftp::azblob_storage_backend

gnu = all_extentions

With this we link dynamically to libc and pam

musl docker? = azblob, cloud_storage, jsonfile_auth, rest_auth

All features able to link statically

docker = musl

Features used in our docker builds

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.

console-subscriber tokio_console?

Enables console-subscriber ^0.3.0

unftp-sbe-gcs cloud_storage
unftp-auth-rest rest_auth
unftp-auth-jsonfile jsonfile_auth
unftp-auth-pam unix pam_auth?