Cargo Features

Sputnik has no features set by default.

[dependencies]
sputnik = { version = "0.4.2", features = ["hyper_body", "hyper_body_json"] }
hyper_body hyper_body_json? = hyper

Affects sputnik::hyper_body

hyper_body_json = hyper_body, serde_json

Affects hyper_body::SputnikBody.into_json, hyper_body::JsonError

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.

hyper hyper_body?

Enables hyper ^0.14

serde_json hyper_body_json?