Cargo Features

[dependencies]
soft-serve = { version = "0.0.8", default-features = false, features = ["http", "ftp", "cli"] }
default = cli

The cli feature is set by default whenever soft-serve is added without default-features = false somewhere in the dependency tree.

http cli = http-body-util, hyper, hyper-util, mime_guess, tokio-stream, tokio-util

Affects soft-serve::http

ftp cli = async-tftp, libunftp, unftp-sbe-fs

Affects soft-serve::ftp

cli default = clap, ftp, http, tracing-subscriber

Required by the sfs binary

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.

clap cli

Enables clap

cli

tracing-subscriber cli
http-body-util http?

Enables http-body-util

http

hyper http?
hyper-util http?
mime_guess http?
tokio-stream http?
tokio-util http?
libunftp ftp?

Enables libunftp ^0.19.1

ftp

unftp-sbe-fs ftp?
async-tftp ftp?