[[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]
features = ["bcp47"]
version = "0.1.1"
[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"
[package]
authors = ["Petr Alexandrovich Sabanov pasabanov@murena.io"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = 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."
edition = "2021"
exclude = ["/.forgejo/", "/.github/", "/.gitlab/", "/.idea/", "/.vscode/", "/doc/", "/docs/", "/example/", "/examples/", "/test/", "/tests/", "/.editorconfig", "/.gitignore", "/.rustfmt.toml", "/rustfmt.toml"]
license = "AGPL-3.0-or-later"
name = "svgc"
readme = "README.md"
repository = "https://github.com/pasabanov/svgc"
version = "0.1.9"
[package.metadata.i18n]
available-locales = ["en", "ru"]
default-locale = "en"
load-path = "i18n"
[profile.dev]
codegen-units = 256
debug = 2
incremental = true
lto = false
opt-level = 0
overflow-checks = true
panic = "unwind"
strip = "none"
[profile.fastcompile]
codegen-units = 8192
debug = 0
incremental = true
inherits = "dev"
lto = false
opt-level = 0
overflow-checks = false
panic = "abort"
strip = "none"
[profile.minsize]
codegen-units = 1
debug = 0
incremental = false
inherits = "release"
lto = true
opt-level = "z"
overflow-checks = false
panic = "abort"
strip = "symbols"
[profile.release]
codegen-units = 1
debug = 0
incremental = false
lto = true
opt-level = 3
overflow-checks = false
panic = "abort"
strip = "symbols"
[profile.relwithdebinfo]
codegen-units = 1
debug = 2
incremental = false
inherits = "release"
lto = true
opt-level = 2
overflow-checks = false
panic = "unwind"
strip = "none"