Cargo Features
tramex-tools has no features set by default.
[dependencies]
tramex-tools = { version = "0.1.0", features = ["debug", "websocket", "tokio"] }
- debug
- websocket
-
Enables ewebsock ^0.5.0
Affects
websocket::ws_connection
… - tokio
-
Enables tokio of ewebsock ^0.5.0
ewebsock:
Opt-in to the tokio executor.
This adds a lot of dependencies, but may yield lower latency and CPU usage when using
ws_connect
.Will ignore any
ControlFlow::Break
returned from theon_event
callback.