compacto

Crates.iocompacto
lib.rscompacto
version1.0.2
sourcesrc
created_at2021-12-01 17:06:16.651713
updated_at2021-12-02 17:54:08.637582
descriptionA fast way to compress & decompress JSON
homepagehttps://github.com/eduardostuart/compacto
repositoryhttps://github.com/eduardostuart/compacto.git
max_upload_size
id490340
size20,379
Eduardo Stuart (eduardostuart)

documentation

https://docs.rs/compacto

README

COMPACTO

ci Documentation

A fast way to compress & decompress JSON

Lib

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.

Examples

There are a few examples in the /examples folder if you want to run it locally:

cargo run --release --example example-filename

CLI

Usage

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

License

COMPACTO is made available under the terms of MIT License.

See the LICENSE-MIT for license details.

Commit count: 16

cargo fmt