# 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 = "svgc" version = "0.1.9" authors = ["Petr Alexandrovich Sabanov pasabanov@murena.io"] build = false exclude = [ "/.forgejo/", "/.github/", "/.gitlab/", "/.idea/", "/.vscode/", "/doc/", "/docs/", "/example/", "/examples/", "/test/", "/tests/", "/.editorconfig", "/.gitignore", "/.rustfmt.toml", "/rustfmt.toml", ] autobins = false autoexamples = false autotests = false autobenches = false description = "`svgc` (previously SvgCompress) is a tool for compressing SVG files by removing unnecessary whitespace, comments, metadata and some other data. It also supports optimization with SVGO and compression into SVGZ." readme = "README.md" license = "AGPL-3.0-or-later" repository = "https://github.com/pasabanov/svgc" [package.metadata.i18n] available-locales = [ "en", "ru", ] default-locale = "en" load-path = "i18n" [profile.dev] opt-level = 0 lto = false codegen-units = 256 debug = 2 panic = "unwind" overflow-checks = true incremental = true strip = "none" [profile.fastcompile] opt-level = 0 lto = false codegen-units = 8192 debug = 0 panic = "abort" overflow-checks = false incremental = true inherits = "dev" strip = "none" [profile.minsize] opt-level = "z" lto = true codegen-units = 1 debug = 0 panic = "abort" overflow-checks = false incremental = false inherits = "release" strip = "symbols" [profile.release] opt-level = 3 lto = true codegen-units = 1 debug = 0 panic = "abort" overflow-checks = false incremental = false strip = "symbols" [profile.relwithdebinfo] opt-level = 2 lto = true codegen-units = 1 debug = 2 panic = "unwind" overflow-checks = false incremental = false inherits = "release" strip = "none" [[bin]] name = "svgc" path = "src/main.rs" [dependencies.chrono] version = "0.4.38" [dependencies.clap] version = "4.5.16" [dependencies.directories] version = "5.0.1" [dependencies.dirs] version = "5.0.1" [dependencies.flate2] version = "1.0.31" [dependencies.lazy_static] version = "1.5.0" [dependencies.locale-match] version = "0.1.1" features = ["bcp47"] [dependencies.regex] version = "1.10.6" [dependencies.rust-i18n] version = "3.1.2" [dependencies.sys-locale] version = "0.3.1" [dependencies.which] version = "6.0.3"