Cargo Features

[dependencies]
kanata = { version = "1.6.0-prerelease-4", default-features = false, features = ["perf_logging", "tcp_server", "win_sendinput_send_scancodes", "win_llhook_read_scancodes", "cmd", "interception_driver", "simulated_output", "wasm"] }
default = tcp_server

The tcp_server feature is set by default whenever kanata is added without default-features = false somewhere in the dependency tree.

perf_logging
tcp_server default = serde_json

Affects kanata::Kanata.virtual_keys, kanata::ValidatedArgs.tcp_server_address, tcp_server::Connections, tcp_server::TcpServer, tcp_server::simple_sexpr_to_json_array

win_sendinput_send_scancodes
win_llhook_read_scancodes
cmd

Enables cmd of kanata-parser

interception_driver = kanata-interception

Enables interception_driver of kanata-parser

simulated_output = indoc
wasm

Enables wasm-bindgen of instant

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.

indoc simulated_output?
serde_json tcp_server
kanata-interception win interception_driver?