Cargo Features

miku-http-util has no features set by default.

[dependencies]
miku-http-util = { version = "0.5.2", features = ["dev", "feat-request-builder", "feat-request-header", "feat-request-parser", "feat-response", "feat-response-ext-json", "feat-integrate-http", "feat-integrate-rquest", "feat-integrate-tower", "feat-tracing"] }
dev = feat-integrate-http, feat-integrate-rquest, feat-integrate-tower, feat-request-builder, feat-request-header, feat-request-parser, feat-response, feat-response-ext-json, feat-tracing

For development purposes, enable all features.

feat-request-builder dev?

Request related features.

Enables md-5, feat-hash and feat-string-ext-urlencoding of macro-toolset

Affects request::builder

feat-request-header dev?

Enables prost, bytes and http, feat-base64, feat-string-ext-base64 and feat-string-ext-http of macro-toolset

Affects request::header

feat-request-parser dev?

Enables fluent-uri, foldhash, and macro-toolset

Affects request::parser

feat-response dev?

Response related features.

Enables bytes and http

Affects miku-http-util::response

feat-response-ext-json dev?

Enable JSON support for response.

Enables serde and serde_json

feat-integrate-http dev?

Integrate with the http crate.

Enables http

feat-integrate-rquest dev?

Enables http-body-util and rquest

feat-integrate-tower dev?

Enables tower-layer and tower-service

Affects parser::tower_service

feat-tracing dev?

Enable tracing support.

Enables tracing