1 unstable release

0.1.0 Mar 9, 2021

#149 in #handler


Used in 2 crates (via xim-parser)

MIT license

33KB
931 lines

xim-rs

XIM protocol handler in Rust

Server example

You can see xim server example in my IME

Minimum Safe Rust Version

The current Minimum Safe Rust Version in 1.64. The current tentative policy is that any change in the MSRV will be accompanied by a minor version bump.

project structure

xim

Binding with X client libraries

xim-parser

Read/Write xim message generated from xim-gen

xim-gen

xim protocol parser generator

features

  • Parse messages
  • Basic protocol
  • Extension protocol
  • AttributeBuilder

binding for X client

xlib

  • client
  • server

x11rb

  • client
  • server

limitations

  • Only native endian is supported
  • Only support utf-8 and JIS X0208-1983 of CTEXT
  • Auth, StrConvertion doesn't supported since they are not used in real world

Dependencies

~2–2.6MB
~54K SLoC