# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "mzsvg" version = "0.2.0" description = "A library to draw mass spectra" documentation = "https://docs.rs/mzsvg" readme = "README.md" keywords = [ "mass-spectrometry", "svg", ] categories = [ "science::bioinformatics", "visualization", ] license = "Apache-2.0" repository = "https://github.com/mobiusklein/mzsvg" [lib] [dependencies.fontdb] version = "0.18.0" optional = true [dependencies.mzdata] version = ">= 0.26.0" features = [ "mzsignal", "nalgebra", ] [dependencies.mzpeaks] version = ">=0.19.0" [dependencies.num-traits] version = ">=0.2" [dependencies.resvg] version = "0.42.0" features = [ "text", "system-fonts", "memmap-fonts", ] optional = true [dependencies.svg] version = "0.17.0" [dependencies.svg2pdf] version = "0.11.0" optional = true [dev-dependencies.clap] version = "4.5.4" features = ["derive"] [features] pdf = [ "svg2pdf", "fontdb", ] png = [ "resvg", "fontdb", ]