Cargo Features
[dependencies]
kompact = { version = "0.11.2", default-features = false, features = ["silent_logging", "low_latency", "ser_id_64", "ser_id_8", "thread_pinning", "serde_support", "type_erasure", "implicit_routes", "protobuf"] }
- default = implicit_routes, ser_id_64, serde_support, use_local_executor
-
These default features are set whenever
kompact
is added without
somewhere in the dependency tree.default-features = false Enables max_level_trace and release_max_level_info of slog
- silent_logging = serde_support
-
Enables max_level_info and release_max_level_error of slog
- low_latency
-
Enables ws-no-park of executors
executors:
Otherwise check the global queues every 100 jobs
In the workstealing executor, never park worker threads - ser_id_64 default
- ser_id_32 ser_id_16 ser_id_8
- thread_pinning = core_affinity
-
Enables numa-aware of executors
- serde_support default silent_logging? = serde
-
Network-specific
Affects
serialisation::serde_serialisers
… - type_erasure
-
Affects
system::SystemHandle.create_erased
,utils::erased
… - use_local_executor implicit_routes default
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.
- protobuf implicit feature
-
Enables protobuf
Optional
Affects
serialisation::protobuf_serialisers
… - serde serde_support
- core_affinity thread_pinning?