is-svg
is-svg is a Rust library for testing whether a given data is a SVG image.
Usage
Add this to your Cargo.toml:
[]
= "0.1.0"
Example
assert_eq!;
assert_eq!;
// `.svgz` is also supported.
assert_eq!;
Documentation
See the documentation for more details.
Minimum supported Rust version
The minimum supported Rust version (MSRV) of this library is v1.74.0.
Changelog
Please see CHANGELOG.adoc.
Contributing
Please see CONTRIBUTING.adoc.
License
Copyright © 2024 Shun Sakai (see AUTHORS.adoc)
This library is distributed under the terms of either the Apache License 2.0 or the MIT License.
This project is compliant with version 3.2 of the REUSE Specification. See copyright notices of individual files for more details on copyright and licensing information.