{"id":19074688,"url":"https://github.com/linebender/vello_svg","last_synced_at":"2025-04-15T06:55:35.750Z","repository":{"id":227177628,"uuid":"768823611","full_name":"linebender/vello_svg","owner":"linebender","description":"An integration to render SVG files with Vello.","archived":false,"fork":false,"pushed_at":"2025-03-26T14:16:31.000Z","size":326,"stargazers_count":33,"open_issues_count":1,"forks_count":15,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-15T06:55:30.669Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://linebender.org/vello_svg/","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/linebender.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,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-07T19:57:23.000Z","updated_at":"2025-04-04T10:33:37.000Z","dependencies_parsed_at":"2024-03-12T02:38:47.852Z","dependency_job_id":"1cba87b6-bbf4-43af-901d-0dc5d769d71f","html_url":"https://github.com/linebender/vello_svg","commit_stats":null,"previous_names":["linebender/vello_svg"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linebender%2Fvello_svg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linebender%2Fvello_svg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linebender%2Fvello_svg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linebender%2Fvello_svg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linebender","download_url":"https://codeload.github.com/linebender/vello_svg/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249023713,"owners_count":21199958,"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":[],"created_at":"2024-11-09T01:52:01.194Z","updated_at":"2025-04-15T06:55:35.743Z","avatar_url":"https://github.com/linebender.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# Vello SVG\n\n**An integration to parse and render SVG with [Vello](https://vello.dev).**\n\n[![Linebender Zulip](https://img.shields.io/badge/Linebender-%23vello-blue?logo=Zulip)](https://xi.zulipchat.com/#narrow/channel/197075-vello)\n[![dependency status](https://deps.rs/repo/github/linebender/vello_svg/status.svg)](https://deps.rs/repo/github/linebender/vello_svg)\n[![MIT/Apache 2.0](https://img.shields.io/badge/license-MIT%2FApache-blue.svg)](#license)\n[![vello version](https://img.shields.io/badge/vello-v0.4.0-purple.svg)](https://crates.io/crates/vello)\\\n[![Crates.io](https://img.shields.io/crates/v/vello_svg.svg)](https://crates.io/crates/vello_svg)\n[![Docs](https://docs.rs/vello_svg/badge.svg)](https://docs.rs/vello_svg)\n[![Build status](https://github.com/linebender/vello_svg/workflows/CI/badge.svg)](https://github.com/linebender/vello_svg/actions)\n\n\u003c/div\u003e\n\n\u003e [!WARNING]\n\u003e The goal of this crate is to provide decent coverage of the (large) SVG spec, up to what vello will support, for use in interactive graphics. If you are looking for a correct SVG renderer, see [resvg](https://github.com/RazrFalcon/resvg). See [vello](https://github.com/linebender/vello) for more information about limitations.\n\n## Version compatibility\n\n| vello_svg | vello | usvg | image |\n| --------- | ----- | ---- | ----- |\n| 0.6       | 0.4   | 0.44 | 0.25  |\n| 0.5       | 0.3   | 0.44 | 0.25  |\n| 0.4       | 0.3   | 0.43 | 0.25  |\n| 0.3       | 0.2   | 0.42 | 0.25  |\n| 0.2       | 0.1   | 0.41 | 0.25  |\n| 0.1       | 0.1   | 0.40 | 0.24  |\n\n## Examples\n\n### Cross platform (Winit)\n\n```shell\ncargo run -p with_winit\n```\n\nYou can also load an entire folder or individual files.\n\n```shell\ncargo run -p with_winit -- examples/assets\n```\n\n### Web platform\n\nBecause Vello relies heavily on compute shaders, we rely on the emerging WebGPU standard to run on the web.\nUntil browser support becomes widespread, it will probably be necessary to use development browser versions (e.g. Chrome Canary) and explicitly enable WebGPU.\n\nThis uses [`cargo-run-wasm`](https://github.com/rukai/cargo-run-wasm) to build the example for web, and host a local server for it\n\n```shell\n# Make sure the Rust toolchain supports the wasm32 target\nrustup target add wasm32-unknown-unknown\n\n# The binary name must also be explicitly provided as it differs from the package name\ncargo run_wasm -p with_winit --bin with_winit_bin\n```\n\nThere is also a web demo [available here](https://linebender.github.io/vello_svg) on supporting web browsers.\n\n\u003e [!WARNING]\n\u003e The web is not currently a primary target for Vello, and WebGPU implementations are incomplete, so you might run into issues running this example.\n\n## Minimum supported Rust Version (MSRV)\n\nThis version of Vello SVG has been verified to compile with **Rust 1.82** and later.\n\nFuture versions of Vello SVG 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\u003cdetails\u003e\n\u003csummary\u003eClick here if compiling fails.\u003c/summary\u003e\n\nAs time has passed, some of Velato's dependencies could have released versions with a higher Rust requirement.\nIf you encounter a compilation issue due to a dependency and don't want to upgrade your Rust toolchain, then you could downgrade the dependency.\n\n```sh\n# Use the problematic dependency's name and version\ncargo update -p package_name --precise 0.1.1\n```\n\n\u003c/details\u003e\n\n## Community\n\nDiscussion of Velato development happens in the [Linebender Zulip](https://xi.zulipchat.com/), specifically the [#vello channel](https://xi.zulipchat.com/#narrow/channel/197075-vello). All public content can be read without logging in.\n\nContributions are welcome by pull request. The [Rust code of conduct](https://www.rust-lang.org/policies/code-of-conduct) applies.\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0\n   ([LICENSE-APACHE](LICENSE-APACHE) or \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e)\n- MIT license\n   ([LICENSE-MIT](LICENSE-MIT) or \u003chttp://opensource.org/licenses/MIT\u003e)\n\nat your option\n\nThe files in subdirectories of the [`examples/assets`](/examples/assets) directory are licensed solely under\ntheir respective licenses, available in the `LICENSE` file in their directories.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinebender%2Fvello_svg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinebender%2Fvello_svg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinebender%2Fvello_svg/lists"}