# SPDX-FileCopyrightText: 2024 Shun Sakai # # SPDX-License-Identifier: Apache-2.0 OR MIT [package] name = "is-svg" version = "0.1.4" authors = ["Shun Sakai "] edition = "2021" rust-version = "1.65.0" description = "Test whether a given data is a SVG image" documentation = "https://docs.rs/is-svg" readme = "README.md" repository = "https://github.com/sorairolake/is-svg" license = "Apache-2.0 OR MIT" keywords = ["svg"] categories = ["multimedia::images"] include = ["/LICENSES", "/README.md", "/src"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] usvg = { version = "0.44.0", default-features = false } [dev-dependencies] anyhow = "1.0.93" clap = { version = "4.5.20", features = ["derive"] } [lints.clippy] cargo = "warn" nursery = "warn" pedantic = "warn" [lints.rust] missing_debug_implementations = "deny" rust_2018_idioms = { level = "warn", priority = -1 } unsafe_code = "forbid"