]> git.proxmox.com Git - rustc.git/blame - vendor/minifier/README.md
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / vendor / minifier / README.md
CommitLineData
94b46f34
XL
1# minifier-rs
2
b7449926 3Minifier tool/lib for JS/CSS/JSON files.
94b46f34
XL
4
5This crate provides both a library and binary, depending on your needs.
6
7## Usage
8
9To use the binary, just run like this:
10
11```
12> cargo run test.js
13```
14
15To use the library, add it into your `Cargo.toml` file like this:
16
17```toml
18[dependencies]
b7449926 19minifier = "^0.0.1"
94b46f34
XL
20```
21
22Then import it into your code like this:
23
24```rust
25extern crate minifier;
26```
27
28## WARNING!!
29
30Please be aware that this is still at a very early stage of development so you shouldn't rely on it too much!