babelfish

Crates.iobabelfish
lib.rsbabelfish
version0.2.1
sourcesrc
created_at2018-12-08 07:09:48.212019
updated_at2021-02-18 02:47:36.613243
descriptionUniversal translater for encodings
homepage
repositoryhttps://github.com/pickfire/babelfish
max_upload_size
id100778
size28,853
maintainers (github:rust-bus:maintainers)

documentation

README

Babelfish

The universal translater for encodings.

Install

Installing with different features provides different binaries. By default all features are selected.

$ cargo install babelfish

To install babelfish with only support for cbor and json which provides json2cbor and cbor2json.

$ cargo install babelfish --features="cbor json"  # cbor2json, json2cbor

Supported encodings

  • cbor
  • json
  • toml
  • yaml

Usage

Currently, conversion can only be done with input output.

$ cbor2json < file.cbor
$ cat file.json | jq ... | json2cbor > file.cbor

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 22

cargo fmt