Crates.io | alpha-blend |
lib.rs | alpha-blend |
version | 0.1.2 |
created_at | 2025-07-19 01:56:34.931345+00 |
updated_at | 2025-07-19 15:47:16.717694+00 |
description | Alpha blending and compositing |
homepage | |
repository | https://github.com/crates-lurey-io/alpha-blend |
max_upload_size | |
id | 1759859 |
size | 60,331 |
Alpha blending and compositing in (optionally) zero-dependency Rust.
cargo run --example porter-duff --features bytemuck
BlendMode::Clear
BlendMode::Source
BlendMode::Destination
BlendMode::SourceOver
BlendMode::DestinationOver
BlendMode::SourceIn
BlendMode::DestinationIn
BlendMode::SourceOut
BlendMode::DestinationOut
BlendMode::SourceAtop
BlendMode::DestinationAtop
BlendMode::Xor
BlendMode::Plus
This project uses just
to run commands the same way as the CI:
cargo just check
to check formatting and lints.cargo just coverage
to generate and preview code coverage.cargo just doc
to generate and preview docs.cargo just test
to run tests.For a full list of commands, see the Justfile
.