Cargo Features

[dependencies]
multipart2 = { version = "0.19.1", default-features = false, features = ["client", "server", "bench", "mock", "lazy_static", "tiny_http"] }
default = client, mock, server, tiny_http

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

client default

Affects multipart2::client

server default = buffer-redux, httparse, quick-error, safemem, twoway

Affects multipart2::server

nightly bench
mock default

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
buffer-redux server

Enables buffer-redux

Server Dependencies

httparse server
twoway server
quick-error server

Enables quick-error ^1.2

tiny_http default

Enables tiny_http

Optional Integrations

Affects server::tiny_http