libsvgparser

libsvgparser is a streaming parser/tokenizer for SVG 1.1 Full data format without heap allocations.

It's not a XML parser, since it's not only splits the content into the XML nodes, but also supports SVG types parsing.

Supported SVG types

See documentation for details.

Benefits

Limitations

Differences between libsvgparser and SVG spec

Usage

Add this to your Cargo.toml:

toml [dependencies] svgparser = "0.0.1"

Roadmap

V0.1.0 - [ ] f64 from string parsing pretty slow (Stream::parse_number).

V0.2.0 - [ ] <angle> type support.

License

libsvgparser is licensed under the MPLv2.0.