Cargo Features
[dependencies]
steady_state = { version = "0.0.29", default-features = false, features = ["proactor_nuclei", "proactor_tokio", "prometheus_metrics", "telemetry_server_builtin", "telemetry_server_cdn", "telemetry_history", "telemetry_on_telemetry", "core_affinity", "core_display", "restart_actors_when_debugging"] }
- default = core_affinity, core_display, proactor_nuclei, prometheus_metrics, telemetry_server_builtin
-
These default features are set whenever
steady_state
is added without
somewhere in the dependency tree.default-features = false - proactor_nuclei default
-
Use the nuclei async runtime (proactor_? exclusive one or the other) (default)
Enables async-exec and iouring of nuclei
foundational proactive runtime
- proactor_tokio
-
Use the tokio async runtime (proactor_? exclusive one or the other)
- prometheus_metrics default
-
provide prometheus compatible pullable metrics
(default)Affects
steady_config::TELEMETRY_SERVER
… - telemetry_server_builtin default
-
default telemetry_server_bultin is used for telemetry This includes the entire telemetry server site in the binary. It will works even offline without intenet. This is the default because it is the most reliable.
(telemetry_server_? exclusive one or the other) (default)Affects
steady_config::TELEMETRY_SERVER
… - telemetry_server_cdn
-
only use telemetry_server_cdn if
1. you really need to make the build smaller
2. where you run your app the browser user will have internet access
(telemetry_server_? exclusive one or the other)Affects
steady_config::TELEMETRY_SERVER
… - telemetry_history
-
records history files usefull for replay of the telemetry offline after the fact
Affects
steady_config::TELEMETRY_HISTORY
… - telemetry_on_telemetry
-
no need to enable unless you want to see the performance of the telemetry server
- core_affinity default = libc
-
lock teams and actors to specific cores
- core_display default = libc
-
desplay which core the actor is running on
- restart_actors_when_debugging
-
only set true if you want supervisors to restart actors while debug_assertions is on no need to enable unless you want to see how supervisors work while testing
Affects
steady_config::DISABLE_DEBUG_FAIL_FAST
…
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.