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.

Documentation

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.2"

Roadmap

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

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

License

libsvgparser is licensed under the MPLv2.0.