Cargo Features
[dependencies]
actix-web-lab = { version = "0.23.0", default-features = false, features = ["derive", "cbor", "msgpack", "spa"] }
- default = derive
-
The
derive
feature is set by default wheneveractix-web-lab
is added without
somewhere in the dependency tree.default-features = false - derive default = actix-web-lab-derive
- cbor = serde_cbor_2
- msgpack = rmp-serde
- spa = actix-files
-
Affects
web::spa
…
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-web-lab-derive derive
- serde_cbor_2 cbor?
-
Enables serde_cbor_2
cbor
- rmp-serde msgpack?
-
Enables rmp-serde
msgpack
- actix-files spa?
-
Enables actix-files
spa