AltF02 / x11-rs

Rust bindings for X11 libraries
https://docs.rs/x11
MIT License
207 stars 66 forks source link

no_std support? #93

Open hadronized opened 6 years ago

hadronized commented 6 years ago

Hey,

I’d be interested in using this library, but I need the no_std support. Do you have anything for this? Would you accept a patch for it (if it’s easy)? Otherwise, I’ll just wrap my own functions in my (very specific) code, but if others are interested…

Kudos for the good work!

notgull commented 4 years ago

I'm interested in this too. Both crates already use the libc crate, which provides primitives like c_int that the x11 library relies on. x11-dl would be harder, since it relies on lazy_static, and spinlocking might not be in the best interest here. I could probably write this PR by the end of the week.