Cargo Features

ruci has no features set by default.

[dependencies]
ruci = { version = "2.1.0", features = ["serde", "io", "engine-sync", "engine-async", "tokio-process", "gui-sync", "gui-async"] }
default

No features are turned on by default.

serde

Enables serde support for most types. All implementations are derived with no parameters.

Enables alloc of serde, alloc and serde of shakmaty ^0.27.3

io engine-sync? gui-sync?

Adds types shared by engine-sync and gui-sync. Requires std. Don't enable this yourself.

Affects errors::ReadError, errors::ReadWriteError, errors::FromProcessError

engine-sync engine-async? = io

Adds the Engine struct for communicating with an engine.

engine-async tokio-process? = engine-sync

Adds async versions of Engine functions.

Enables tokio

tokio-process = engine-async

Adds a tokio version of Engine::from_process.

Enables process of tokio

gui-sync gui-async? = io

Adds the Gui struct for communicating with a GUI.

gui-async = gui-sync

Adds async versions of Gui functions.

Enables tokio