Cargo Features
[dependencies]
ractor = { version = "0.13.0", default-features = false, features = ["cluster", "tokio_runtime", "blanket_serde", "async-std", "async-trait"] }
- cluster blanket_serde?
-
Other features
Affects
actor::Actor.handle_serialized
,job::JobKey
,ractor::serialization
,message::SerializedMessage
,message::BoxedMessage.serialized_msg
,message::Message.from_boxed
,message::Message.box_message
,message::Message.serializable
,message::Message.serialize
,message::Message.deserialize
,registry::pid_registry
,actor::Actor.handle_serialized
… - default = async-trait, tokio_runtime
-
These default features are set whenever
ractor
is added without
somewhere in the dependency tree.default-features = false - tokio_runtime default
- blanket_serde = cluster, pot, serde
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.
- async-std implicit feature
-
Enables async-std
Configurable dependencies
Tracing feature requires --cfg=tokio_unstableAffects
concurrency::async_std_primitives
… - async-trait default
-
Affects
actor::Actor.pre_start
,actor::Actor.post_start
,actor::Actor.post_stop
,actor::Actor.handle
,actor::Actor.handle_supervisor_evt
,actor::Actor.spawn
,actor::Actor.spawn_linked
,discard::DynamicDiscardController.compute
,lifecycle::FactoryLifecycleHooks.on_factory_started
,lifecycle::FactoryLifecycleHooks.on_factory_stopped
,lifecycle::FactoryLifecycleHooks.on_factory_draining
,worker::WorkerCapacityController.get_pool_size
,actor::Actor.handle_serialized
… - serde blanket_serde?
-
Enables serde
Blanket Serde
- pot blanket_serde?