#xcb #x11 #ffi #ime #xim

xcb-imdkit

Wrapper around xcb-imdkit, providing an IME client for the XIM protocol using XCB

3 releases

0.1.2 Aug 26, 2021
0.1.1 Aug 23, 2021
0.1.0 Aug 23, 2021

#925 in GUI

26 downloads per month

LGPL-2.1-only

675KB
15K SLoC

C 11K SLoC // 0.1% comments Rust 3.5K SLoC // 0.0% comments Python 335 SLoC // 0.0% comments Shell 23 SLoC // 0.1% comments

xcb-imdkit-rs

Build status crates.io Released API docs

This library is a wrapper around xcb-imdkit, providing an IME client.

xcb-imdkit provides a partial implementation of the X11 Input Method Protocol using XCB. This wrapper library provides the most essential functionality of said library as simply as possible.

To get started quickly, consult the examples folder.

Dependencies

This crate depends on xcb and xcb-util. xcb-imdkit is built from source, which requires a C compiler and git if the xcb-imdkit submodule has not been initialized. It is statically linked by default. If you prefer to use the system version of xcb-imdkit (make sure you have at least version 1.0.3 installed), you can specify use-system-lib as feature flag, pkg-config is required in both cases to let Rust know where to find the libraries.

Using xcb-imdkit-rs

[dependencies]
xcb-imdkit = "0.1"
# xcb-imdkit = { version = "0.1", features = ["use-system-lib"] }

License

Just as the original library this is licensed under the LGPLv2.1, see LICENSE for the full text.

Dependencies