Cargo Features

Overclock has no features set by default.

[dependencies]
overclock = { version = "0.1.13", features = ["hyperserver", "axumserver", "tonicserver", "tungstenite", "websocket_server", "console", "prefabs", "backserver", "config", "ron_config", "json_config", "toml_config", "rocket", "paho-mqtt"] }
hyperserver axumserver? backserver? = http-body, hyper, prefabs
axumserver = axum, hyperserver

Enables headers and ws of axum ^0.6

Affects prefab::axum

tonicserver = bytes, http-body, hyper, tonic, tower

Affects prefab::tonic

tungstenite backserver? websocket_server? = tokio-tungstenite

Enables tokio

Affects prefab::websocket

websocket_server = prefabs, tungstenite
console = console-subscriber, tracing-subscriber

Enables tracing of tokio

prefabs backserver? hyperserver? websocket_server?

Affects overclock::prefab

backserver = hyper-tungstenite, hyperserver, prefabs, tungstenite

Affects prefab::backserver

config json_config? ron_config? toml_config? = glob

Affects overclock::config

ron_config = config, ron

Affects types::RONConfig

json_config = config

Affects types::JSONConfig

toml_config = config, toml

Affects types::TOMLConfig

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.

hyper hyperserver? tonicserver?

Enables hyper ^0.14

Affects prefab::hyper

tokio-tungstenite tungstenite?

Enables tokio-tungstenite ^0.18

hyper-tungstenite backserver?

Enables hyper-tungstenite ^0.9

tracing-subscriber console?
console-subscriber console?

Enables console-subscriber ^0.1.3

ron ron_config?
toml toml_config?

Enables toml ^0.7

glob config?
rocket implicit feature

Enables rocket

rocket:

Web framework with a focus on usability, security, extensibility, and speed

Affects prefab::rocket

paho-mqtt implicit feature

Enables paho-mqtt

paho-mqtt:

The Official Eclipse Paho MQTT Rust Client Library.
This is a wrapper around the Paho C library

tonic tonicserver?

Enables tonic ^0.9

tower tonicserver?
http-body hyperserver? tonicserver?

Enables http-body ^0.4

bytes tonicserver?
axum axumserver?

Enables axum ^0.6