Cargo Features

[dependencies]
threescalers = { version = "0.8.0", default-features = false, features = ["std", "http-types", "reqwest-async", "reqwest-sync", "reqwest-all", "curl-easy", "curl-easy2", "curl-all", "all-types", "xml-response", "rest-mappings", "rest-mappings-serde"] }
default = rest-mappings, std, xml-response

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

std default

Use std library

Enables std of anyhow, no-std-compat, and regex

http-types all-types? reqwest-async? reqwest-sync? = http_types

Add in conversions for http's crate types

reqwest-async reqwest-all? = http-types, reqwest

Add in conversions for reqwest's crate types

reqwest-sync reqwest-all? = http-types, reqwest

Enables blocking of reqwest >=0.10, <0.12

reqwest-all all-types? = reqwest-async, reqwest-sync
curl-easy curl-all? = curl

Add in conversions for curl's crate types

Affects request::curl

curl-easy2 curl-all? = curl

Affects request::curl

curl-all all-types? = curl-easy, curl-easy2
all-types = curl-all, http-types, reqwest-all

Include all supported clients types

xml-response default = chrono, serde, serde-xml-rs

Response parsing

Affects threescalers::response

rest-mappings default = lazy_static, regex

HTTP mapping rules

Affects http::mapping_rule

rest-mappings-serde = serde

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.

http_types http-types?

Enables http ^0.2

reqwest reqwest-async? reqwest-sync?

Enables reqwest >=0.10, <0.12

curl curl-easy? curl-easy2?
serde rest-mappings-serde? xml-response
serde-xml-rs xml-response

Enables serde-xml-rs ^0.4

chrono xml-response
regex rest-mappings std
lazy_static rest-mappings

Enables lazy_static

lazy_static has a "negative" no_std flag rather than an additive "std" flag :/