#ffi #xcb #x11 #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

#182 in GUI

Download history 403/week @ 2022-01-20 511/week @ 2022-01-27 396/week @ 2022-02-03 440/week @ 2022-02-10 374/week @ 2022-02-17 365/week @ 2022-02-24 412/week @ 2022-03-03 576/week @ 2022-03-10 579/week @ 2022-03-17 750/week @ 2022-03-24 753/week @ 2022-03-31 773/week @ 2022-04-07 733/week @ 2022-04-14 995/week @ 2022-04-21 1004/week @ 2022-04-28 568/week @ 2022-05-05

3,383 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