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

#15 in #ime

Download history 23/week @ 2024-07-21 34/week @ 2024-07-28 20/week @ 2024-08-04 68/week @ 2024-08-11 14/week @ 2024-08-18 20/week @ 2024-08-25 17/week @ 2024-09-01 16/week @ 2024-09-08 31/week @ 2024-09-15 36/week @ 2024-09-22 46/week @ 2024-09-29 36/week @ 2024-10-06 17/week @ 2024-10-13 18/week @ 2024-10-20 24/week @ 2024-10-27 12/week @ 2024-11-03

78 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