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

#16 in #ime

Download history 20/week @ 2024-08-26 16/week @ 2024-09-02 20/week @ 2024-09-09 29/week @ 2024-09-16 45/week @ 2024-09-23 37/week @ 2024-09-30 35/week @ 2024-10-07 17/week @ 2024-10-14 19/week @ 2024-10-21 23/week @ 2024-10-28 17/week @ 2024-11-04 23/week @ 2024-11-11 16/week @ 2024-11-18 19/week @ 2024-11-25 13/week @ 2024-12-02 28/week @ 2024-12-09

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