wez / xcb-imdkit-rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

License:GNU Lesser General Public License v2.1


Languages

Language:Rust 99.1%Language:C 0.5%Language:Shell 0.5%