Cargo Features

manas_http has no features set by default.

[dependencies]
manas_http = { version = "0.1.1", features = ["serde", "typed-headers", "representation", "impl-representation", "service", "conditional_req", "test-utils"] }
serde

Enables iri-string and serde

serde:

feature: serde

typed-headers representation? service?

Enables chrono and either

either:

feature: impl-representation

and headers ^0.3.8, http ^0.2.9, itertools ^0.11.0, mime, mime_guess, rust_decimal, smallvec, and vec1

headers:

feature: typed-headers

Affects manas_http::field, manas_http::header

representation impl-representation? = typed-headers

Enables hyper ^0.14.27 and typed_record

typed_record:

feature: representation

Affects manas_http::representation

impl-representation = representation

Enables anyhow, async-once-cell, async-stream, bytes, capped_stream, dyn-clone, dyn_problem, either, and futures, sophia of http_uri and tower ^0.4.13

feature: service

and if_chain, rdf_dynsyn, rdf_utils, sophia_api, tokio, and tokio-util

if_chain:

feature: conditional-req

Affects representation::impl_

service = typed-headers

Enables dyn-clone, futures, http ^0.2.9, http-api-problem ^0.57.0, hyper ^0.14.27, and tower ^0.4.13

Affects manas_http::service

conditional_req

Enables headers ^0.3.8, http ^0.2.9, and if_chain

Affects manas_http::conditional_req

test-utils

Enables claims and rstest ^0.18.1

claims:

feature: test-utils

Affects metadata::mock