fast_rust 0.1.0
fast_rust: ^0.1.0 copied to clipboard
Rust-powered image and data kernels for Flutter and Dart over zero-copy dart:ffi: photo recoloring, flood fill, blur, SHA-256 and sorting.
0.1.0 #
- Initial release. Rust kernels called through zero-copy
dart:ffi@Nativefunctions; a native-assets build hook runscargofor the target platform (Android, iOS, macOS, Linux, Windows). - Photo recoloring:
FastRust.recolorRegionRgbaselects a connected region of a real image by color tolerance (magic wand) and tints it while keeping each pixel's brightness, so texture survives. - Pixel-art coloring:
floodFillRgba(scanline bucket fill with tolerance) andcoloringPageRgba(generated coloring pages). - Image processing: multi-threaded
boxBlurRgba(O(pixels) for any radius) andgrayscaleRgba. sha256,sortFloat64(IEEE-754 total order),countPrimes,dot, and a multi-threadedmandelbrotRgba....Asyncvariants run on a background isolate with non-leaf calls.DartReference: pure-Dart versions of every kernel, used by the tests to check that Rust output matches bit for bit.