x11-rs icon indicating copy to clipboard operation
x11-rs copied to clipboard

no_std support?

Open hadronized opened this issue 6 years ago • 1 comments

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!

hadronized avatar Aug 29 '18 19:08 hadronized

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.

notgull avatar Jul 03 '20 16:07 notgull