Cargo Features
near-paperclip-core has no features set by default.
[dependencies]
near-paperclip-core = { version = "0.3.0", features = ["actix", "actix2", "actix3", "actix4", "actix-base", "nightly", "v2", "codegen", "actix-multipart", "actix-session", "actix-files", "chrono", "rust_decimal", "uuid", "serde_qs"] }
- actix = actix4
-
actix-web support
- actix2 = actix-base, actix-web2
- actix3 = actix-base, actix-web3
- actix4 actix? = actix-base, actix-web4
- actix-base actix2? actix3? actix4? = pin-project, v2
- nightly
-
Enable nightly if nightly compiler can be allowed
Enables nightly of near-paperclip-macros
- v2 actix-base? codegen?
-
OpenAPI support (v2 and codegen)
Enables v2 of near-paperclip-macros
Affects
near-paperclip-core::v2
… - codegen = heck, log, v2
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
actix-multipart:
Multipart form support for Actix Web
- actix-session implicit feature
-
Enables actix-session
actix-session:
Session management for Actix Web
- actix-files implicit feature
-
Enables actix-files
actix-files:
Static file serving for Actix Web
- chrono implicit feature
-
Enables chrono
chrono:
Date and time library for Rust
- heck codegen?
-
Enables heck ^0.3
- log codegen?
- pin-project actix-base?
- rust_decimal implicit feature
- uuid implicit feature
-
Enables uuid ^0
uuid:
A library to generate and parse UUIDs
- serde_qs implicit feature
-
Enables serde_qs
serde_qs:
Querystrings for Serde