| # 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 = "minifier" |
| version = "0.3.1" |
| authors = ["Guillaume Gomez <[email protected]>"] |
| build = false |
| autobins = false |
| autoexamples = false |
| autotests = false |
| autobenches = false |
| description = "Minifier tool/lib for JS/CSS/JSON files" |
| documentation = "https://docs.rs/minifier-rs" |
| readme = "README.md" |
| keywords = [ |
| "minify", |
| "minifier", |
| "JS", |
| "HTML", |
| "CSS", |
| ] |
| license = "MIT" |
| repository = "https://github.com/GuillaumeGomez/minifier-rs" |
| |
| [profile.release] |
| opt-level = 3 |
| lto = true |
| codegen-units = 1 |
| strip = true |
| |
| [profile.release.package."*"] |
| opt-level = 3 |
| codegen-units = 1 |
| |
| [lib] |
| name = "minifier" |
| path = "src/lib.rs" |
| |
| [[bin]] |
| name = "minifier" |
| path = "src/main.rs" |
| doc = false |
| |
| [[test]] |
| name = "js_minify" |
| path = "tests/js_minify.rs" |
| |
| [dependencies.clap] |
| version = "4.5.13" |
| features = ["cargo"] |
| |
| [dependencies.regex] |
| version = "1.5.5" |
| optional = true |
| |
| [features] |
| html = ["regex"] |