Cargo Features
[dependencies]
hyper_api_service = { version = "0.2.2", default-features = false, features = ["pure", "for_hyper", "multipart", "for_serde", "test_runtime"] }
- default = for_hyper, for_serde, multipart
-
These default features are set whenever
hyper_api_service
is added without
somewhere in the dependency tree.default-features = false - pure
- for_hyper default test_runtime? = hyper, tokio
-
Affects
hyper_api_service::bind_hyper
… - multipart default test_runtime? = formdata, mime, multer
-
Affects
bind_hyper::body_from_multipart
,bind_hyper::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, fp_rust, multipart
-
Enables 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
- 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 test_runtime?
-
Enables fp_rust ^0.2.4
test_runtime