Cargo Features

[dependencies]
multipart-2021 = { version = "0.19.0", default-features = false, features = ["client", "server", "bench", "mock", "lazy_static", "clippy", "hyper", "iron", "tiny_http", "nickel", "rocket"] }
default = client, hyper, iron, mock, nickel, server, tiny_http

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

client default

Affects multipart-2021::client

server default = buf_redux, httparse, quick-error, safemem, twoway

Affects multipart-2021::server

Required by the form_test binary

nightly bench
mock default

Required by the form_test 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.

lazy_static implicit feature

Enables lazy_static

lazy_static:

A macro for declaring lazily evaluated statics in Rust

safemem server
clippy implicit feature

Enables clippy

clippy:

A bunch of helpful lints to avoid common pitfalls in Rust

buf_redux server

Enables buf_redux

Server Dependencies

httparse server
twoway server

Enables twoway ^0.1

quick-error server

Enables quick-error ^1.2

hyper default

Enables hyper >=0.9, <0.11

Optional Integrations

Affects client::hyper, server::hyper

Required by the form_test binary

iron default

Affects server::iron

tiny_http default

Enables tiny_http ^0.6

Affects server::tiny_http

nickel default

Affects server::nickel

rocket implicit feature

Enables rocket ^0.4

Only for Rocket example but dev-dependencies can't be optional