3 unstable releases

0.2.1 Nov 20, 2022
0.2.0 Nov 20, 2022
0.1.1 Sep 3, 2021
0.1.0 Mar 9, 2021

#13 in #ime

Download history 24/week @ 2024-03-11 24/week @ 2024-03-18 7/week @ 2024-03-25 33/week @ 2024-04-01 75/week @ 2024-04-08 64/week @ 2024-04-15 50/week @ 2024-04-22 23/week @ 2024-04-29 54/week @ 2024-05-06 21/week @ 2024-05-13 16/week @ 2024-05-27 18/week @ 2024-06-03 16/week @ 2024-06-10 9/week @ 2024-06-17 77/week @ 2024-06-24

122 downloads per month
Used in xim

MIT license

125KB
3.5K SLoC

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

~145KB