GithubHelp home page GithubHelp logo

rust-windowing / xkbcommon-dl Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 9.0 13.07 MB

Dynamically loaded xkbcommon and xkbcommon-x11 Rust bindings.

Home Page: https://docs.rs/xkbcommon-dl

License: MIT License

Rust 96.66% Shell 3.34%

xkbcommon-dl's People

Contributors

arturkovacs avatar b-r-u avatar francesca64 avatar fredizzimo avatar kchibisov avatar mahkoh avatar maroider avatar notgull avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

xkbcommon-dl's Issues

Support libxkbcommon 0.4.3

Debian 8.10 still uses libxkbcommon 0.4.3. Accessing an XKBCOMMON_HANDLE results in a panic because the symbols concerning compose tables and compose states (from libxkbcommon 0.5) are missing:

https://github.com/francesca64/xkbcommon-dl/blob/9d35ac837821dcdc4f937242f83bae7460a99146/src/lib.rs#L261-L276

It would be nice if this library could handle different versions at runtime. There is a similar issue for x11-rs (AltF02/x11-rs#35). They chose to add different structs for different versions, but it would also be possible to detect the version in a build script and to enable features accordingly.

Remove x11_dl dependency

This dependency is only used for its definition of the xcb_connection_t type. This can easily be defined in this crate and users can perform a pointer cast.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.