Cargo Features

[dependencies]
http_api_service = { version = "0.3.2", default-features = false, features = ["pure", "for_hyper", "for_ureq", "multipart", "for_serde", "test_runtime"] }
default = for_hyper, for_serde, multipart

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

pure
for_hyper default test_runtime? = http, hyper, tokio

Affects http_api_service::bind_hyper

for_ureq test_runtime? = fp_rust, ureq

Affects http_api_service::bind_ureq

multipart default test_runtime? = formdata, mime, multer

Affects bind_hyper::MultipartSerializerForStream, bind_hyper::body_from_multipart, bind_hyper::body_to_multipart, bind_ureq::MultipartSerializerForStream, bind_ureq::body_from_multipart, bind_ureq::body_to_multipart, simple_api::MultipartSerializerForBytes, simple_api::DEFAULT_MULTIPART_SERIALIZER_FOR_BYTES, simple_api::MultipartSerializer, simple_api::DEFAULT_MULTIPART_SERIALIZER, simple_http::get_content_type_from_multipart_boundary, simple_http::data_and_boundary_from_multipart, simple_http::FormDataParseError, simple_http::multer_multipart_to_hash_map

for_serde default test_runtime? = serde, serde_json

Affects simple_api::SerdeJsonSerializer, simple_api::SerdeJsonSerializerForBytes, simple_api::DEFAULT_SERDE_JSON_SERIALIZER_FOR_BYTES, simple_api::DEFAULT_SERDE_JSON_SERIALIZER, simple_api::SerdeJsonDeserializer, simple_api::DEFAULT_SERDE_JSON_DESERIALIZER

test_runtime = for_hyper, for_serde, for_ureq, multipart

Enables sync of fp_rust and full of hyper ^0.14.0

for_hyper

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 for_hyper test_runtime?

Enables hyper ^0.14.0

tokio for_hyper
http for_hyper

Enables http ^0.2.4

ureq for_ureq?

Enables ureq

for_ureq

formdata multipart

Enables formdata

multipart

multer multipart

Enables multer ^2.0.0

mime multipart
serde for_serde

Enables serde

for_serde

serde_json for_serde
fp_rust for_ureq? test_runtime?

Enables fp_rust

test_runtime