Cargo Features

[dependencies]
hvcg_example_openapi_entity = { version = "1.0.0", default-features = false, features = ["client", "server", "conversion"] }
default = client, server

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

client default = hyper, hyper-openssl, hyper-tls, mime_0_2, multipart, native-tls, openssl, serde_urlencoded, url

Enables client of multipart ^0.16, multipart_form of swagger ^5.0.2

Affects hvcg_example_openapi_entity::client

server default = hyper, lazy_static, mime_0_2, multipart, percent-encoding, regex, serde_ignored, url

Enables server of multipart ^0.16

Affects hvcg_example_openapi_entity::server, hvcg_example_openapi_entity::context

conversion = frunk, frunk-enum-core, frunk-enum-derive, frunk_core, frunk_derives

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.

mime_0_2 client server

Enables mime ^0.2.6

Crates included if required by the API definition

multipart client server

Enables multipart ^0.16

hyper client server

Enables hyper ^0.13

Common between server and client features

serde_ignored server
url client server
serde_urlencoded client

Enables serde_urlencoded ^0.6.1

Client-specific

lazy_static server

Enables lazy_static

Server, and client callback-specific

percent-encoding server
regex server
frunk conversion?

Enables frunk ^0.3.0

Conversion

frunk_derives conversion?

Enables frunk_derives ^0.3.0

frunk_core conversion?

Enables frunk_core ^0.3.0

frunk-enum-derive conversion?

Enables frunk-enum-derive ^0.2.0

frunk-enum-core conversion?

Enables frunk-enum-core ^0.2.0

native-tls mac win ios client
hyper-openssl not mac win ios client

Enables hyper-openssl ^0.8

hyper-tls mac win ios client

Enables hyper-tls ^0.4

openssl not mac win ios client