Cargo Features

restson = { version = "1.4.0", default-features = false, features = ["blocking", "lib-serde-json", "lib-simd-json", "native-tls", "rustls"] }
default = blocking, lib-serde-json, native-tls

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

blocking default

Affects restson::blocking

lib-serde-json default = serde, serde_json
lib-simd-json = serde, serde_json, simd-json
native-tls default = hyper-tls
rustls = hyper-rustls

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-tls native-tls

Enables hyper-tls ^0.5

hyper-rustls rustls?

Enables hyper-rustls ^0.24

serde lib-serde-json lib-simd-json?
serde_json lib-serde-json lib-simd-json?
simd-json lib-simd-json?

Enables simd-json ^0.1