Cargo Features

paperclip-core has no features set by default.

paperclip-core = { version = "0.6.2", features = ["actix4", "actix3", "actix2", "actix-base", "actix3-validator", "actix4-validator", "nightly", "v2", "v3", "codegen", "uuid", "uuid0", "uuid1", "actix-multipart", "actix-session", "actix-identity", "actix-files", "chrono", "rust_decimal", "url", "serde_qs"] }
actix4 = actix-base, actix-web4

actix-web support

Affects actix::HttpResponseWrapper

actix3 = actix-base, actix-web3
actix2 = actix-base, actix-web2
actix-base actix2? actix3? actix4? = pin-project-lite, v2
actix3-validator = actix-web-validator2, validator12
actix4-validator = actix-web-validator3, validator14

Enable nightly if nightly compiler can be allowed

Enables nightly of paperclip-macros

v2 actix-base? codegen? v3?

OpenAPI support (v2 and codegen)

Enables v2 of paperclip-macros

Affects paperclip-core::v2

v3 = indexmap, openapiv3, v2

Affects paperclip-core::v3

codegen = heck, log, v2
uuid = uuid0
uuid0 uuid? = uuid0_dep
uuid1 = uuid1_dep

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.

actix-web2 actix2?

Enables actix-web ^2

actix-web3 actix3?

Enables actix-web ^3

actix-web4 actix4?

Enables actix-web

actix-multipart implicit feature

Enables actix-multipart


Multipart form support for Actix Web

actix-session implicit feature

Enables actix-session


Session management for Actix Web

actix-identity implicit feature

Enables actix-identity


Identity management for Actix Web

actix-files implicit feature

Enables actix-files


Static file serving for Actix Web

chrono implicit feature

Enables chrono


Date and time library for Rust

heck codegen?

Enables heck ^0.4

log codegen?
pin-project-lite actix-base?
rust_decimal implicit feature
url implicit feature

Enables url


URL library for Rust, based on the WHATWG URL Standard

uuid0_dep uuid0?

Enables uuid ^0

uuid1_dep uuid1?

Enables uuid

serde_qs implicit feature

Enables serde_qs


Querystrings for Serde

actix-web-validator2 actix3-validator?

Enables actix-web-validator ^2.2

actix-web-validator3 actix4-validator?

Enables actix-web-validator ^3.0

validator12 actix3-validator?

Enables validator ^0.12

validator14 actix4-validator?

Enables validator ^0.14

openapiv3 v3?

Enables openapiv3 =1.0.2

indexmap v3?

Enables indexmap ^1.0