Cargo Features

[dependencies]
bhttp = { version = "0.5.3", default-features = false, features = ["bhttp", "http", "read-bhttp", "write-bhttp", "read-http", "write-http"] }
default = bhttp

The bhttp feature is set by default whenever bhttp is added without default-features = false somewhere in the dependency tree.

bhttp default = read-bhttp, write-bhttp
http = read-http, write-http
read-bhttp bhttp

Affects rw::read_varint, rw::read_vec, bhttp::Mode, err::Res

write-bhttp bhttp

Affects rw::write_varint, rw::write_len, rw::write_vec, bhttp::Mode, err::Res

read-http http? = url

Affects parse::NL, parse::CR, parse::SLASH, parse::COLON, parse::SEMICOLON, parse::downcase, parse::split_at, parse::read_line, err::Res

write-http http?

Affects err::Res

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.

url read-http?