Cargo Features

[dependencies]
unftp = { version = "0.14.5", default-features = false, features = ["all_extentions", "cloud_storage", "jsonfile_auth", "pam_auth", "rest_auth", "tokio_console", "gnu", "musl", "docker"] }
default = cloud_storage, jsonfile_auth, 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, 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

gnu = all_extentions

With this we link dynamically to libc and pam

musl docker? = 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.1.10

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