{"id":23042581,"url":"https://github.com/alphamodder/svg-path","last_synced_at":"2025-04-03T01:18:07.187Z","repository":{"id":137984139,"uuid":"301900116","full_name":"AlphaModder/svg-path","owner":"AlphaModder","description":"A simple, dependencyless Rust library for composing SVG path data strings","archived":false,"fork":false,"pushed_at":"2020-10-13T01:24:18.000Z","size":5,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-08T15:28:47.929Z","etag":null,"topics":["rust","svg"],"latest_commit_sha":null,"homepage":"https://github.com/AlphaModder/svg-path","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlphaModder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2020-10-07T01:48:20.000Z","updated_at":"2020-10-13T01:24:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"f090c89a-5a29-4252-a9f8-fc776a191a4c","html_url":"https://github.com/AlphaModder/svg-path","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlphaModder%2Fsvg-path","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlphaModder%2Fsvg-path/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlphaModder%2Fsvg-path/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlphaModder%2Fsvg-path/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlphaModder","download_url":"https://codeload.github.com/AlphaModder/svg-path/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246916763,"owners_count":20854514,"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":["rust","svg"],"created_at":"2024-12-15T20:33:15.185Z","updated_at":"2025-04-03T01:18:07.163Z","avatar_url":"https://github.com/AlphaModder.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `svg-path`\n`svg-path` is a simple, dependencyless library for composing [SVG path data strings](https://www.w3.org/TR/SVG/paths.html), intended for use in Rust-based frontend frameworks and tools that output SVG. It consists of a single type, `Path`, which supports a simple and type-safe builder-like syntax for appending path commands, and implements `Display` for conversion into the SVG syntax.\n\n`Path` also includes helper methods for producing certain common path shapes that can be nontrivial to express directly (currently just `Path::partial_circle`).\n\n## Future plans\nConsiderations for the future of this library, depending on demand, include:\n- Support for concatenation of `Path` objects\n- Support for passing data types other than `f32` for command values\n- First-class treatment of commands with a `PathCommand` enum of some sort.\n- Support for parsing `Path` objects from strings (likely behind a feature, since this would probably mean introducing dependencies.)\n\n## Alternatives and related projects\n- [`svgtypes`](https://github.com/bodoni/svg), a library with parsers and composers for many SVG data types (but not the XML syntax itself).\n- [`svg_minimal`](https://github.com/36den/svg_minimal-rs), a similarly minimal path-focused SVG library \n- [`svg`](https://github.com/bodoni/svg), a full SVG composer and parser\n- [`nsvg`](https://github.com/nickbrowne/nsvg), a Rust wrapper for the NanoSVG C library.\n- [`rsvg`](https://crates.io/crates/rsvg), Rust bindings to the `rsvg` library\n- [`resvg`](https://github.com/RazrFalcon/resvg), a Rust SVG renderer\n- [`lyon_path`](https://github.com/nical/lyon/tree/master/path), a library with an SVG-inspired path data structure","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphamodder%2Fsvg-path","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falphamodder%2Fsvg-path","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphamodder%2Fsvg-path/lists"}