libsvgparser

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

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

Documentation

Supported SVG types

See the documentation for details.

Benefits

Limitations

Differences between libsvgparser and SVG spec

Usage

Add this to your Cargo.toml:

toml [dependencies] svgparser = "0.0.3"

Roadmap

V0.1.0 - [ ] Parsing f64 from a string is pretty slow (Stream::parse_number). - [ ] Add an font attribute parsing support. - [ ] Add an enable-background attribute parsing support.

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

License

libsvgparser is licensed under the MPLv2.0.