Cargo Features

[dependencies]
trillium-http-types = { version = "0.0.3", default-features = false, features = ["unstable", "hyperium_http", "async_std", "cookies", "cookie-secure", "fs", "serde", "docs"] }
default = cookie-secure, fs, serde

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

unstable docs?
hyperium_http = http
async_std = fs
cookies cookie-secure = cookie

Affects trillium-http-types::cookies

Enables secure of cookie ^0.14.0

features: cookies

fs default async_std? = async-std
serde default = serde_crate, serde_json, serde_qs, serde_urlencoded

Enables serde of url

Affects trillium-http-types::convert, csp::ReportTo, csp::ReportToEndpoint

docs = unstable

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.

async-std fs

Enables async-std

features: async_std

http hyperium_http?

Enables http ^0.2.0

features: hyperium/http

Enables cookie ^0.14.0

serde_json serde

Enables serde_json

features: serde

serde_crate serde

Enables serde

serde_urlencoded serde
serde_qs serde

Enables serde_qs ^0.7.0