Cargo Features
[dependencies]
actix = { version = "0.13.5", default-features = false, features = ["macros", "mailbox_assert"] }
- default = macros
-
The
macros
feature is set by default wheneveractix
is added without
somewhere in the dependency tree.default-features = false - macros default = actix-macros, actix_derive
-
Re-exports derive macros from actix-derive and enables
#[actix::main]
. - mailbox_assert
-
Adds assertion to prevent processing too many messages on event loop
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.