Cargo Features
[dependencies]
unftp = { version = "0.14.7", 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
somewhere in the dependency tree.default-features = false - 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
- 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.