mirror of
https://git.proxmox.com/git/rustc
synced 2026-01-14 01:15:52 +00:00
| .. | ||
| src | ||
| tests | ||
| .cargo-checksum.json | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
minifier-rs
Minifier tool/lib for JS/CSS/JSON files.
This crate provides both a library and binary, depending on your needs.
Usage
To use the binary, just run like this:
> cargo run test.js
To use the library, add it into your Cargo.toml file like this:
[dependencies]
minifier = "^0.0.1"
Then import it into your code like this:
extern crate minifier;
WARNING!!
Please be aware that this is still at a very early stage of development so you shouldn't rely on it too much!