mixbox icon indicating copy to clipboard operation
mixbox copied to clipboard

FYI: Rust wrapper

Open virtualritz opened this issue 3 years ago • 2 comments
trafficstars

I made a Rust wrapper for pigment-mixing a while a ago and finally took the time last weekend to write up docs & README and make the repo. public.

It does not use the *_u8 functions because of #1 being unanswered so far.

I can't publish this on crates.io because there is a 10MB limit on crate size.

Generating the lookup table at runtime would solve this. See also my comment on #3.

virtualritz avatar Jan 28 '22 13:01 virtualritz

Thank you so much @virtualritz! I was trying to figure out how to play with this code from Rust but have no experience linking with C++ so was running into some problems. Your wrapper made it effortless!

luca-aurelia avatar Jan 30 '22 21:01 luca-aurelia

@photon-garden Feedback welcome (feel free to open issues in the wrapper repo.).

virtualritz avatar Jan 31 '22 15:01 virtualritz

Thanks for the heads up!

We were also interested in bringing Mixbox to Rust and decided to make a native Rust implementation for Mixbox 2.0.

The Rust version of Mixbox is available on https://crates.io/crates/mixbox

scrtwpns avatar Oct 11 '22 09:10 scrtwpns