| Crates.io | compacto |
| lib.rs | compacto |
| version | 1.0.2 |
| created_at | 2021-12-01 17:06:16.651713+00 |
| updated_at | 2021-12-02 17:54:08.637582+00 |
| description | A fast way to compress & decompress JSON |
| homepage | https://github.com/eduardostuart/compacto |
| repository | https://github.com/eduardostuart/compacto.git |
| max_upload_size | |
| id | 490340 |
| size | 20,379 |
A fast way to compress & decompress JSON
To use this lib in your project, add the following line to your Cargo.toml file:
compacto = { version = "1.0.2" }
You can find the full documentation on Docs.rs.
There are a few examples in the /examples folder if you want to run it locally:
cargo run --release --example example-filename
Compress a JSON file/string:
compacto ./input-file.json ./output.compacto.json -m compress
Decompress a JSON file/string:
compacto ./compacto-file.compacto.json ./output.json -m decompress
COMPACTO is made available under the terms of MIT License.
See the LICENSE-MIT for license details.