| Crates.io | cbd |
| lib.rs | cbd |
| version | 0.1.1 |
| created_at | 2025-01-25 00:33:04.140271+00 |
| updated_at | 2025-01-25 01:36:42.731406+00 |
| description | Command-line CBOR decoder and encoder |
| homepage | https://github.com/fotoetienne/cbd |
| repository | https://github.com/fotoetienne/cbd |
| max_upload_size | |
| id | 1530134 |
| size | 28,679 |
Library for decoding and encoding Concise Binary (cbor) Data
Help:
$ cbd --help
Usage: cbd [OPTIONS]
Options:
-e, --encode
-b, --base64
-h, --help Print help
Decode CBOR from stdin and output JSON:
$ cat file.cbor | cbd
{"key": "value"}
Encode JSON from stdin and output CBOR:
$ cat file.json | cbd -e
?ckeyevalue%
$ cargo install cbd