Cargo Features
[dependencies]
kanata = { version = "1.7.0-prerelease-2", default-features = false, features = ["perf_logging", "tcp_server", "win_sendinput_send_scancodes", "win_llhook_read_scancodes", "win_manifest", "cmd", "interception_driver", "simulated_input", "passthru_ahk", "wasm", "gui"] }
- default = tcp_server, win_sendinput_send_scancodes
-
These default features are set whenever
kanata
is added without
somewhere in the dependency tree.default-features = false - 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 default gui?
-
Enables win_sendinput_send_scancodes of kanata-parser
- win_llhook_read_scancodes gui?
-
Enables win_llhook_read_scancodes of kanata-parser
- win_manifest gui? = embed-resource, indoc, regex
- cmd
-
Enables cmd of kanata-parser
- interception_driver = kanata-interception
-
Enables interception_driver of kanata-parser
- simulated_output simulated_input passthru_ahk? = indoc
- passthru_ahk = simulated_input, simulated_output
-
Affects
kanata::clean_state
… - wasm
-
Enables wasm-bindgen of instant
- gui = muldiv, open, strip-ansi-escapes, win_llhook_read_scancodes, win_manifest, win_sendinput_send_scancodes
-
Enables windows-sys ^0.52.0, gui of kanata-parser, animation-timer, cursor, embed-resource, high-dpi, image-decoder, menu, message-window, notice and tray-notification of native-windows-gui, processthreadsapi of winapi
Affects
win_dbg_logger::windbg_simple_combo
,kanata::Kanata.gui_opts
,kanata::gui
…
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_input? simulated_output? win_manifest?
- serde_json tcp_server
- embed-resource build win win_manifest?
-
Enables embed-resource ^2.4.2
- kanata-interception win interception_driver?
- muldiv win gui?
- open win mac linux gui?
- regex win win_manifest?
- strip-ansi-escapes win gui?