Cargo Features

[dependencies]
kbvm = { version = "0.1.2", default-features = false, features = ["log", "registry", "compose", "x11"] }
default = log

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

log default

Enables the WriteToLog diagnostic handler.

Enables log

for log feature:

registry

Enables loading the RMLVO registry.

Enables error_reporter, quick-xml, and serde

serde:

for registry feature:

Affects xkb::registry

compose

Enables parsing of XCompose files.

Affects xkb::compose

x11

Enables loading keymaps from X11 connections.

Enables x11rb

for x11 feature:

Affects xkb::x11