Crates.io | vsp |
lib.rs | vsp |
version | 0.1.0 |
source | src |
created_at | 2021-09-10 01:42:31.245203 |
updated_at | 2021-09-10 01:42:31.245203 |
description | vsp is a command line utility that translates file formats |
homepage | |
repository | |
max_upload_size | |
id | 449078 |
size | 30,199 |
# transpiles Cargo.toml to json and writes it under cargo.json
# the file formats are inferred, but they can be overriden.
vsp Cargo.toml cargo.json
# the f stands for `from` and t stands for `to`
vsp Cargo.toml cargo.yaml -f json -t yaml
# vsp can also be piped if no input and output is provided
# file formats need to be specified since they cannot be inferred.
cat Cargo.toml | vsp -f toml -t yaml | cargo.yaml
The current input options and their inferred extensions are:
The current output options are: