Cargo Features

[dependencies]
xim = { version = "0.4.0", default-features = false, features = ["std", "bootstrap-parser", "x11rb-client", "xlib-client", "x11rb-server", "x11rb-xcb", "client", "server"] }
default = std

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

std default x11rb-client? x11rb-server? x11rb-xcb? xlib-client?

Enables std of ahash, xim-ctext, and xim-parser

ahash:

Enabling this will enable AHashMap and AHashSet.

bootstrap-parser

Enables bootstrap of xim-parser

x11rb-client = client, std, x11rb

Affects x11rb::X11rbClient, xim::x11rb

xlib-client = client, std, x11-dl

Affects xim::xlib

x11rb-server = server, std, x11rb

Affects x11rb::X11rbServer, xim::x11rb

x11rb-xcb = std

Enables allow-unsafe-code of x11rb

x11rb:

Without this feature, all uses of unsafe in the crate are forbidden via #![deny(unsafe_code)]. This has the effect of disabling the XCB FFI bindings.

client x11rb-client? xlib-client?

only for internal usage

server x11rb-server?

Affects xim::ALL_LOCALES

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.

x11rb x11rb-client? x11rb-server? x11rb-xcb?
x11-dl xlib-client?