PackageTrack
Sign in Get early access

svgtypes

SVG types parser.

0.16.1 26M downloads/mo #1831 most downloaded on crates.io linebender/svgtypes

What this package is like to depend on

Last release 7 months ago

09 Jan 2026

Release timing varies

gaps range from 5 weeks to 9 months

Nearly every release is documented

notes for 26 of 27 stable releases

Nothing withdrawn

no release was ever pulled

8 years old

27 releases · first in 2018

2 releases in the last 12 months

see the full history below

Release timeline

27 releases · Apr 2018 to Jan 2026
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 27
  1. 0.16.1 09 Jan 2026
    Release notes

    Crates.io | Docs

    This release has an MSRV of 1.85.

    Changed

    Open source →
    Release notes

    This release has an [MSRV][] of 1.85.

    Changed

    • Update Kurbo to v0.13. ([#60][] by [@nicoburns][])
    Open source →
  2. 0.16.0 26 Oct 2025
    Release notes

    Crates.io | Docs

    This release has an MSRV of 1.82.

    Added

    Changed

    Open source →
    Release notes

    This release has an [MSRV][] of 1.82.

    Added

    • Add helper functions to PathSegment ([#37][] by [@LaurenzV][])

    Changed

    • Update Kurbo to v0.12. ([#56][] by [@HaHa421][])
    Open source →
  3. 0.15.3 20 Jan 2025
    Release notes

    Crates.io | Docs

    This release has an MSRV of 1.65.

    This is the first release under the stewardship of Linebender, who is now responsible for maintenance of this crate.
    Many thanks to Yevhenii Reizner for the years of hard work that he has poured into this and other crates.

    Added

    • Support floating point hue in hsl() and hsla(). (#31 by @erxclau)

    Fixed

    Changed

    • Set the MSRV in Cargo.toml and updated the edition to 2021. (#40 by @tomcur)
    • Simplify color component rounding and bounds checking. (#43 , #44 by @tomcur)

    New Contributors

    Full Changelog: v0.15.2...v0.15.3

    Open source →
    Release notes

    This release has an [MSRV][] of 1.65.

    This is the first release under the stewardship of [Linebender][], who is now responsible for maintenance of this crate. Many thanks to Yevhenii Reizner for the years of hard work that he has poured into this and other crates.

    Added

    • Support floating point hue in hsl() and hsla(). ([#31][] by [@erxclau][])

    Fixed

    • Round hues in HSL to RGB conversion. ([#34][] by [@erxclau][])
    • Correct rounding of alpha. ([#35][] by [@waywardmonkeys][])

    Changed

    • Set the MSRV in Cargo.toml and updated the edition to 2021. ([#40][] by [@tomcur][])
    • Simplify color component rounding and bounds checking. ([#43][] , [#44][] by [@tomcur][])
    Open source →
  4. 0.15.2 20 Aug 2024
    Release notes

    Fixed

    • Path parsing with S or T segments after A. Was broken since v0.12
    Open source →
  5. 0.15.1 07 May 2024
    Release notes

    Fixed

    • Allow double quotes in FuncIRI.
    Open source →
  6. 0.15.0 03 Apr 2024
    Release notes

    Changed

    • Bump kurbo and siphasher
    Open source →
  7. 0.14.0 05 Feb 2024
    Release notes

    Added

    • font-family parsing. ([#20][] by [@LaurenzV][])
    • font shorthand parsing. ([#21][] by [@LaurenzV][])
    Open source →
  8. 0.13.0 03 Dec 2023
    Release notes

    Added

    • Paint::ContextFill and Paint::ContextStroke. ([#17][] by [@LaurenzV][])
    • transform-origin parsing. ([#18][] by [@LaurenzV][])
    Open source →
  9. 0.12.0 01 Oct 2023
    Release notes

    Added

    • Allow parsing of float RGB values from CSS Color 4 draft like rgb(3.14, 110, 201). The values itself would still be stored as u8. ([#14][] by [@yisibl][])
    • Allow quotes in FuncIRI. ([#15][] by [@romanzes][])
    Open source →
  10. 0.11.0 25 Mar 2023
    Release notes

    Added

    • SimplifyingPathParser handles implicit MoveTo commands after ClosePath now. Previously, M 10 20 L 30 40 Z L 50 60 would have been parsed as is, but now it will be parsed as M 10 20 L 30 40 Z M 10 20 L 50 60.
    Open source →
  11. 0.10.0 04 Feb 2023
    Release notes

    Changed

    • Bump kurbo
    • Bump MSRV to 1.65 (because of kurbo)
    Open source →
  12. 0.9.0 25 Dec 2022
    Release notes

    Added

    • SimplifyingPathParser that allows parsing an already simplified Path Data.
    Open source →
  13. 0.8.2 22 Oct 2022
    Release notes

    Added

    • paint-order
    Open source →
  14. 0.8.1 11 Jun 2022
    Release notes

    Added

    • Support #RRGGBBAA and #RGBA color notation as per CSS Color 4. ([#13][] by [@demurgos]]
    Open source →
  15. 0.8.0 12 Sep 2021
    Release notes

    Added

    • EnableBackground
    • Number. Previously accessible via Steam::parse_number.
    • IRI. Previously accessible via Steam::parse_iri.
    • FuncIRI. Previously accessible via Steam::parse_func_iri.

    Changed

    • Stream is now private.
    Open source →
  16. 0.7.0 04 Sep 2021
    Release notes

    Breaking: Almost a complete rewrite. This crate is strictly a parser from now.

    Added

    Removed

    • Writing support.
    • Container types. Only stack allocated types and pull-based parsers are available.
    • FuzzyEq and FuzzyZero.
    Open source →
  17. 0.6.0 22 Aug 2021
    Release notes

    Added

    • CSS3 colors support (rgba, hsl, hsla, transparent).
    • turn angle unit.
    • Angle::to_degrees.

    Changed

    • Move to Rust 2018 edition.
    • Rename Stream::skip_string into Stream::consume_string.
    • Rename Color::new into Color::new_rgb.
    • Color struct gained an alpha field.
    • Rename Angle::num into Angle::number.
    • Rename Length::num into Length::number.
    Open source →
  18. 0.5.0 12 Aug 2019
    Release notes

    Added

    • Implement Default for Length, LengthList, NumberList, Points and Path.

    Changed

    • The minimum Rust version is 1.31

    Removed

    • PathBuilder. Use Path::push_* instead.
    • Style parser. Use an external CSS parser instead, like simplecss.
    • ElementId and AttributeId.
    • phf dependency. Only siphasher is used now.
    Open source →
  19. 0.4.4 11 Jun 2019
    Release notes
    • Update float-cmp.
    Open source →
  20. 0.4.3 10 Jun 2019
    Release notes

    Added

    • Transform::prepend.
    • Implement FuzzyEq and FuzzyZero for f32.
    • Parsing of Color, Paint, ElementId and AttributeId can be disabled now.
    Open source →
  21. 0.4.2 15 Mar 2019
    Release notes

    Changed

    • The XmlByteExt trait is private now.
    Open source →
  22. 0.4.1 06 Jan 2019
    Release notes

    Fixed

    • Style with comments parsing.
    Open source →
  23. 0.4.0 02 Jan 2019
    Release notes

    Added

    Changed

    • Length::from_str will return an error if an input string has trailing data. So length like 1mmx was previously parsed without errors.
    Open source →
  24. 0.3.0 13 Dec 2018
    Release notes

    Changed

    • PathParser will return Result<PathSegment> instead of PathSegment from now.
    • Error was rewritten.

    Removed

    • FromSpan trait. Use FromStr.
    • StrSpan. All strings are &str now.
    • TextPos. All errors have position in characters now.
    • xmlparser dependency.
    • log dependency.
    Open source →
  25. 0.2.0 12 Sep 2018
    Release notes

    Added

    • black, white, gray, red, green and blue constructors to the Color struct.

    Changed

    • StyleParser will return (StrSpan, StrSpan) and not StyleToken from now.
    • StyleParser requires entity references to be resolved before parsing from now.

    Removed

    • failure dependency.
    • StyleToken.
    • Error::InvalidEntityRef.
    Open source →
  26. 0.1.1 23 May 2018
    Release notes

    Added

    • encoding and standalone to AttributeId.
    • new_translate, new_scale, new_rotate, new_rotate_at, new_skew_x, new_skew_y and rotate_at methods to the Transform.

    Changed

    • StreamExt::parse_iri and StreamExt::parse_func_iri will parse not only well-formed data now.

    Fixed

    • Paint::from_span poor performance.
    Open source →
  27. 0.1.0 21 Apr 2018

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive