Cargo Features

Poem-openapi has no features set by default.

[dependencies]
poem-openapi = { version = "5.0.0", features = ["openapi-explorer", "email", "hostname", "static-files", "websocket", "geo", "chrono", "time", "uuid", "url", "bson", "rust_decimal", "humantime", "ipnet", "prost-wkt-types"] }
swagger-ui rapidoc redoc openapi-explorer
email = email_address
hostname = hostname-validator
static-files

Enables static-files of poem

websocket

Enables websocket of poem

geo

Enables geo-types and geojson

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.

email_address email?

Enables email_address

Non-feature optional dependencies

hostname-validator hostname?
chrono implicit feature

Enables chrono

Feature optional dependencies

time implicit feature
uuid implicit feature

Enables uuid

uuid:

A library to generate and parse UUIDs

url implicit feature

Enables url

url:

URL library for Rust, based on the WHATWG URL Standard

bson implicit feature

Enables bson

bson:

Encoding and decoding support for BSON in Rust

rust_decimal implicit feature
humantime implicit feature

Enables humantime

humantime:

A parser and formatter for std::time::{Duration, SystemTime}

ipnet implicit feature
prost-wkt-types implicit feature

Enables prost-wkt-types

prost-wkt-types:

Helper crate for prost to allow JSON serialization and deserialization of Well Known Types