{"id":17928847,"url":"https://github.com/veykril/blend2d-rs","last_synced_at":"2025-03-24T03:31:38.257Z","repository":{"id":57517146,"uuid":"179280300","full_name":"Veykril/blend2d-rs","owner":"Veykril","description":"Blend2D Bindings for Rust","archived":false,"fork":false,"pushed_at":"2020-04-23T14:41:08.000Z","size":604,"stargazers_count":23,"open_issues_count":10,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-19T01:44:51.186Z","etag":null,"topics":["2d-graphics","blend2d","jit","rasterization","rust-bindings"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Veykril.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-03T11:56:45.000Z","updated_at":"2024-10-22T23:38:44.000Z","dependencies_parsed_at":"2022-09-15T21:52:15.756Z","dependency_job_id":null,"html_url":"https://github.com/Veykril/blend2d-rs","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Veykril%2Fblend2d-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Veykril%2Fblend2d-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Veykril%2Fblend2d-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Veykril%2Fblend2d-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Veykril","download_url":"https://codeload.github.com/Veykril/blend2d-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245204670,"owners_count":20577387,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2d-graphics","blend2d","jit","rasterization","rust-bindings"],"created_at":"2024-10-28T21:05:35.167Z","updated_at":"2025-03-24T03:31:37.965Z","avatar_url":"https://github.com/Veykril.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blend2d-rs\n\n[![Build Status](https://travis-ci.com/Veykril/blend2d-rs.svg?branch=master)](https://travis-ci.com/Veykril/blend2d-rs)\n[![Crates.io](https://img.shields.io/crates/v/blend2d.svg)](https://crates.io/crates/blend2d)\n[![Docs.rs](https://docs.rs/blend2d/badge.svg)](https://docs.rs/blend2d)\n[![](https://tokei.rs/b1/github/Veykril/blend2d-rs)](https://github.com/Veykril/blend2d-rs)\n\nThis crate provides rust bindings to the \n[blend2d](https://github.com/blend2d/blend2d) lib.\n\n- This project is currently WIP and therefor incomplete, due to this the crate\nwill most likely go through breaking changes until a proper api has been\nfigured out. Bear in mind that blend2d itself is also still in beta,\nmeaning changes in their api will most likely be reflected in this crate\nas well in one way or another. This also means that some functionality\nis currently not correctly(or at all) implemented, for example, filling\na context with an image will currently return an `InvalidValue` error.\n\n- Almost nothing is documented at this point so if confusion arises it\nmight help to check out the C++ \n[docs](https://blend2d.com/api/index.html). \nThis will hopefully change in the near future.\n\n- Not everything has been tested, so bugs might occur.\n\n## Setup\n\nThis crate requires [CMake](https://cmake.org/) to be installed and available on `PATH`.\n\nAlso make sure to initialize the submodules after cloning the repository(`git submodule update --init`).\n\n## Examples\n\nYou can find the examples [here](./examples).\n\n[![rust_bl_logo](./assets/rust_bl_logo.png)](./examples/rust_bl_logo.rs)\n\n## Current Design Decision\n- The [Clone Trait](https://doc.rust-lang.org/std/clone/trait.Clone.html)\nis currently implemented in such a way that it does weak clones by using\nthe underlying ref-counting of blend2d. Deep clones can be achieved by \nusing the corresponding [DeepClone Trait](https://docs.rs/blend2d/*/blend2d/trait.DeepClone.html).\n- OutOfMemory errors returned by blend2d will as of now panic the \nprogram by default.\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\nThe Rust logo is owned by Mozilla and distributed under the terms of the\n[Creative Commons Attribution license (CC-BY)](https://creativecommons.org/licenses/by/4.0/).\n\n### Contribution\n\n\nUnless you explicitly state otherwise, any contribution intentionally\nsubmitted for inclusion in the work by you, as defined in the Apache-2.0\nlicense, shall be dual licensed as above, without any additional terms or\nconditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveykril%2Fblend2d-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fveykril%2Fblend2d-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveykril%2Fblend2d-rs/lists"}