{"id":31730852,"url":"https://github.com/dioxuslabs/anyrender","last_synced_at":"2025-10-09T07:43:01.551Z","repository":{"id":318242340,"uuid":"1070356894","full_name":"DioxusLabs/anyrender","owner":"DioxusLabs","description":"2D Canvas abstraction","archived":false,"fork":false,"pushed_at":"2025-10-06T01:01:05.000Z","size":255,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-06T03:09:33.138Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/DioxusLabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-05T19:02:37.000Z","updated_at":"2025-10-06T01:01:08.000Z","dependencies_parsed_at":"2025-10-06T03:09:41.875Z","dependency_job_id":"ee4cdc13-82fd-42ec-9071-4bd308ef79df","html_url":"https://github.com/DioxusLabs/anyrender","commit_stats":null,"previous_names":["dioxuslabs/anyrender"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/DioxusLabs/anyrender","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DioxusLabs%2Fanyrender","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DioxusLabs%2Fanyrender/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DioxusLabs%2Fanyrender/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DioxusLabs%2Fanyrender/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DioxusLabs","download_url":"https://codeload.github.com/DioxusLabs/anyrender/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DioxusLabs%2Fanyrender/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278671749,"owners_count":26025743,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-10-09T07:42:58.923Z","updated_at":"2025-10-09T07:43:01.546Z","avatar_url":"https://github.com/DioxusLabs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AnyRender\n\n**A Rust 2D drawing abstraction.**\n\n[![Linebender Zulip, #kurbo channel](https://img.shields.io/badge/Linebender-grey?logo=Zulip)](https://xi.zulipchat.com)\n[![dependency status](https://deps.rs/repo/github/dioxuslabs/anyrender/status.svg)](https://deps.rs/repo/github/dioxuslabs/anyrender)\n[![Apache 2.0 or MIT license.](https://img.shields.io/badge/license-Apache--2.0_OR_MIT-blue.svg)](#license)\n[![Crates.io](https://img.shields.io/crates/v/anyrender.svg)](https://crates.io/crates/anyrender)\n[![Docs](https://docs.rs/anyrender/badge.svg)](https://docs.rs/anyrender)\n\nAnyRender is a 2D drawing abstaction that allows applications/frameworks to support many rendering backends through a unified API.\n\nDiscussion of AnyRender development happens in the Linebender Zulip at \u003chttps://xi.zulipchat.com/\u003e.\n\n## Crates\n\n### `anyrender`\n\nThe core [anyrender](https://docs.rs/anyrender) crate is a lightweight type/trait-only crate that defines three abstractions:\n\n- **The [PaintScene](https://docs.rs/anyrender/latest/anyrender/trait.PaintScene.html) trait accepts drawing commands.**\n  Applications and libraries draw by pushing commands into a `PaintScene`. Backends generally execute those commands to\n  produce an output (although they may do other things like store them for later use).\n- **The [WindowRenderer](https://docs.rs/anyrender/latest/anyrender/trait.WindowRenderer.html) trait abstracts over types that can render to a window**\n- **The [ImageRenderer](https://docs.rs/anyrender/latest/anyrender/trait.ImageRenderer.html) trait abstracts over types that can render to a `Vec\u003cu8\u003e` image buffer**\n\n### Backends\n\nCurrently existing backends are:\n\n- [anyrender_vello](https://docs.rs/anyrender_vello) which draws using [vello](https://docs.rs/vello)\n- [anyrender_vello_cpu](https://docs.rs/anyrender_vello_cpu) which draws using [vello_cpu](https://docs.rs/vello_cpu)\n\nContributions for other backends (Skia, FemtoVG, etc) would be very welcome.\n\n### Content renderers\n\nThese crates sit on top of the the AnyRender abstraction, and allow you render content through it:\n\n- [anyrender_svg](https://docs.rs/anyrender_svg) allows you to render SVGs with AnyRender. [usvg](https://docs.rs/usvg) is used to parse the SVGs.\n\n### Utility crates\n\n- [wgpu_context](https://docs.rs/wgpu_context) is a utility for managing `Device`s and other WGPU types\n- [pixels_window_renderer](https://docs.rs/pixels_window_renderer) implements an AnyRender `WindowRenderer` for any AnyRenderer `ImageRenderer` using the [pixels](https://docs.rs/pixels) crate.\n- [softbuffer_window_renderer](https://docs.rs/softbuffer_window_renderer) implements an AnyRender `WindowRenderer` for any AnyRenderer `ImageRenderer` using the [softbuffer](https://docs.rs/softbuffer) crate.\n\n\n## Minimum supported Rust Version (MSRV)\n\nThis version of AnyRender has been verified to compile with **Rust 1.86** and later.\n\nFuture versions of AnyRender might increase the Rust version requirement.\nIt will not be treated as a breaking change and as such can even happen with small patch releases.\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or \u003chttp://opensource.org/licenses/MIT\u003e)\n\nat your option.\n\n## Contribution\n\nContributions are welcome by pull request. The [Rust code of conduct] applies.\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.\n\n[color]: https://crates.io/crates/color\n[kurbo]: https://crates.io/crates/kurbo\n[Rust Code of Conduct]: https://www.rust-lang.org/policies/code-of-conduct\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdioxuslabs%2Fanyrender","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdioxuslabs%2Fanyrender","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdioxuslabs%2Fanyrender/lists"}