{"id":31730852,"url":"https://github.com/dioxuslabs/anyrender","last_synced_at":"2026-07-19T01:36:38.631Z","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":"2026-07-19T01:36:38.618Z","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_hybrid](https://docs.rs/anyrender_vello_hybrid) which draws using [vello_hybrid](https://docs.rs/vello_hybrid)\n- [anyrender_vello_cpu](https://docs.rs/anyrender_vello_cpu) which draws using [vello_cpu](https://docs.rs/vello_cpu)\n- [anyrender_vello](https://docs.rs/anyrender_vello) which draws using [vello](https://docs.rs/vello)\n- [anyrender_skia](https://crates.io/crates/anyrender_skia) which draws using Skia (via the [skia-safe](https://github.com/rust-skia/rust-skia) crate)\n\nContributions for other backends (tiny-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- [blitz-paint](https://docs.rs/blitz-paint) can be used to HTML/CSS (and markdown) that has been parsed, styled, and layouted by [blitz-dom](https://docs.rs/blitz-dom) using AnyRender.\n- [polymorpher](https://github.com/Aiving/polymorpher) implements Material Design 3 shape morphing, and can be used with AnyRender by enabling the `kurbo` feature.\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## Version compatibility\n\nAnyRender crates are released together, so a given `anyrender` core release lines up with a\nspecific set of backend, content-renderer and utility crate versions, as well as the upstream\ndependency versions they were built against. Use the same release line across all AnyRender\ncrates in your project.\n\n\u003ctable\u003e\n  \u003cthead\u003e\n    \u003ctr\u003e\u003cth\u003eAnyRender\u003c/th\u003e\u003cth\u003e0.6\u003c/th\u003e\u003cth\u003e0.7\u003c/th\u003e\u003cth\u003e0.8\u003c/th\u003e\u003cth\u003e0.9\u003c/th\u003e\u003cth\u003e0.10\u003c/th\u003e\u003cth\u003e0.11\u003c/th\u003e\u003c/tr\u003e\n  \u003c/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\u003ctd\u003e\u003ccode\u003ekurbo\u003c/code\u003e\u003c/td\u003e\u003ctd\u003e0.12\u003c/td\u003e\u003ctd\u003e0.13\u003c/td\u003e\u003ctd\u003e0.13\u003c/td\u003e\u003ctd\u003e0.13\u003c/td\u003e\u003ctd\u003e0.13\u003c/td\u003e\u003ctd\u003e0.13\u003c/td\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003ctd\u003e\u003ccode\u003epeniko\u003c/code\u003e\u003c/td\u003e\u003ctd\u003e0.5\u003c/td\u003e\u003ctd\u003e0.6\u003c/td\u003e\u003ctd\u003e0.6\u003c/td\u003e\u003ctd\u003e0.6\u003c/td\u003e\u003ctd\u003e0.6\u003c/td\u003e\u003ctd\u003e0.6\u003c/td\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003cth colspan=\"7\" align=left\u003eWGPU\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003ctd\u003e\u003ccode\u003ewgpu\u003c/code\u003e\u003c/td\u003e\u003ctd\u003e26\u003c/td\u003e\u003ctd\u003e27\u003c/td\u003e\u003ctd\u003e28\u003c/td\u003e\u003ctd\u003e28\u003c/td\u003e\u003ctd\u003e29\u003c/td\u003e\u003ctd\u003e29\u003c/td\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003ctd\u003e\u003ccode\u003ewgpu_context\u003c/code\u003e\u003c/td\u003e\u003ctd\u003e0.1\u003c/td\u003e\u003ctd\u003e0.2\u003c/td\u003e\u003ctd\u003e0.4\u003c/td\u003e\u003ctd\u003e0.5\u003c/td\u003e\u003ctd\u003e0.6\u003c/td\u003e\u003ctd\u003e0.6–0.7\u003c/td\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003cth colspan=\"7\" align=left\u003eVello\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003ctd\u003e\u003ccode\u003eanyrender_vello\u003c/code\u003e\u003c/td\u003e\u003ctd\u003e0.6\u003c/td\u003e\u003ctd\u003e0.7\u003c/td\u003e\u003ctd\u003e0.8\u003c/td\u003e\u003ctd\u003e0.9\u003c/td\u003e\u003ctd\u003e0.10\u003c/td\u003e\u003ctd\u003e0.11–0.12\u003c/td\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003ctd\u003e\u003ccode\u003evello\u003c/code\u003e\u003c/td\u003e\u003ctd\u003e0.6\u003c/td\u003e\u003ctd\u003e0.7 \u003csup\u003e\u003ca href=\"#fn-vello-git\"\u003e1\u003c/a\u003e\u003c/sup\u003e\u003c/td\u003e\u003ctd\u003e0.8\u003c/td\u003e\u003ctd\u003e0.8\u003c/td\u003e\u003ctd\u003e0.9\u003c/td\u003e\u003ctd\u003e0.9\u003c/td\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003cth colspan=\"7\" align=left\u003eVello Hybrid\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003ctd\u003e\u003ccode\u003evello_hybrid\u003c/code\u003e\u003c/td\u003e\u003ctd\u003e0.0.4\u003c/td\u003e\u003ctd\u003e0.0.6\u003c/td\u003e\u003ctd\u003e0.0.7\u003c/td\u003e\u003ctd\u003e0.0.7\u003c/td\u003e\u003ctd\u003e0.0.8\u003c/td\u003e\u003ctd\u003e0.0.9\u003c/td\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003ctd\u003e\u003ccode\u003eanyrender_vello_hybrid\u003c/code\u003e\u003c/td\u003e\u003ctd\u003e0.1\u003c/td\u003e\u003ctd\u003e0.2\u003c/td\u003e\u003ctd\u003e0.3\u003c/td\u003e\u003ctd\u003e0.4\u003c/td\u003e\u003ctd\u003e0.5\u003c/td\u003e\u003ctd\u003e0.7–0.8\u003c/td\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003cth colspan=\"7\" align=left\u003eVello CPU\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003ctd\u003e\u003ccode\u003evello_cpu\u003c/code\u003e\u003c/td\u003e\u003ctd\u003e0.0.4\u003c/td\u003e\u003ctd\u003e0.0.6\u003c/td\u003e\u003ctd\u003e0.0.7\u003c/td\u003e\u003ctd\u003e0.0.7\u003c/td\u003e\u003ctd\u003e0.0.8\u003c/td\u003e\u003ctd\u003e0.0.9\u003c/td\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003ctd\u003e\u003ccode\u003eanyrender_vello_cpu\u003c/code\u003e\u003c/td\u003e\u003ctd\u003e0.8\u003c/td\u003e\u003ctd\u003e0.9\u003c/td\u003e\u003ctd\u003e0.10\u003c/td\u003e\u003ctd\u003e0.11\u003c/td\u003e\u003ctd\u003e0.12\u003c/td\u003e\u003ctd\u003e0.14\u003c/td\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003cth colspan=\"7\" align=left\u003eSkia\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003ctd\u003e\u003ccode\u003eskia-safe\u003c/code\u003e\u003c/td\u003e\u003ctd\u003e0.89\u003c/td\u003e\u003ctd\u003e0.91\u003c/td\u003e\u003ctd\u003e0.93\u003c/td\u003e\u003ctd\u003e0.93\u003c/td\u003e\u003ctd\u003e0.93 \u003csup\u003e\u003ca href=\"#fn-skia-097\"\u003e2\u003c/a\u003e\u003c/sup\u003e\u003c/td\u003e\u003ctd\u003e0.97\u003c/td\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003ctd\u003e\u003ccode\u003eanyrender_skia\u003c/code\u003e\u003c/td\u003e\u003ctd\u003e0.1\u003c/td\u003e\u003ctd\u003e0.4\u003c/td\u003e\u003ctd\u003e0.5\u003c/td\u003e\u003ctd\u003e0.6\u003c/td\u003e\u003ctd\u003e0.7\u003c/td\u003e\u003ctd\u003e0.9\u003c/td\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003cth colspan=\"7\" align=left\u003eContent Libs\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003ctd\u003e\u003ccode\u003eanyrender_svg\u003c/code\u003e\u003c/td\u003e\u003ctd\u003e0.6\u003c/td\u003e\u003ctd\u003e0.8\u003c/td\u003e\u003ctd\u003e0.9\u003c/td\u003e\u003ctd\u003e0.10\u003c/td\u003e\u003ctd\u003e0.11\u003c/td\u003e\u003ctd\u003e0.12\u003c/td\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003ctd\u003e\u003ccode\u003eanyrender_serialize\u003c/code\u003e\u003c/td\u003e\u003ctd\u003e—\u003c/td\u003e\u003ctd\u003e—\u003c/td\u003e\u003ctd\u003e0.1\u003c/td\u003e\u003ctd\u003e0.2\u003c/td\u003e\u003ctd\u003e0.3\u003c/td\u003e\u003ctd\u003e0.5\u003c/td\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003cth colspan=\"7\" align=left\u003eCPU \u003ccode\u003eWindowRenderer\u003c/code\u003es\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003ctd\u003e\u003ccode\u003epixels_window_renderer\u003c/code\u003e\u003c/td\u003e\u003ctd\u003e0.1\u003c/td\u003e\u003ctd\u003e0.2\u003c/td\u003e\u003ctd\u003e0.3\u003c/td\u003e\u003ctd\u003e0.4\u003c/td\u003e\u003ctd\u003e0.5\u003c/td\u003e\u003ctd\u003e0.6\u003c/td\u003e\u003c/tr\u003e\n    \u003ctr\u003e\u003ctd\u003e\u003ccode\u003esoftbuffer_window_renderer\u003c/code\u003e\u003c/td\u003e\u003ctd\u003e0.1\u003c/td\u003e\u003ctd\u003e0.2\u003c/td\u003e\u003ctd\u003e0.3\u003c/td\u003e\u003ctd\u003e0.4\u003c/td\u003e\u003ctd\u003e0.5\u003c/td\u003e\u003ctd\u003e0.6\u003c/td\u003e\u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n1. \u003ca id=\"fn-vello-git\"\u003e\u003c/a\u003eThe 0.7 release line depended on a git revision of Vello, equivalent to Vello 0.7 and sparse strips 0.0.6.\n2. \u003ca id=\"fn-skia-097\"\u003e\u003c/a\u003eWithin the 0.10 line, `anyrender_skia` 0.8.x upgraded `skia-safe` from 0.93 to 0.97.\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[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"}