dsconv

Crates.iodsconv
lib.rsdsconv
version0.3.0
sourcesrc
created_at2021-09-10 17:57:34.981132
updated_at2021-11-10 22:49:29.612297
descriptionA data-serialization format converter
homepage
repositoryhttps://github.com/sorairolake/dsconv
max_upload_size
id449387
size125,248
Shun Sakai (sorairolake)

documentation

README

dsconv

CI Version License

dsconv is a command-line utility for converting from one data-serialization format to another.

Installation

Via a package manager

OS Method Package Command
Any Cargo dsconv cargo install dsconv

Via pre-built binaries

Pre-built binaries for Linux, macOS and Windows are available on the release page.

How to build and install

Please see BUILD.adoc.

Usage

dsconv 0.3.0
A data-serialization format converter

USAGE:
    dsconv [FLAGS] [OPTIONS] [FILE]

FLAGS:
        --list-input-formats     List supported input formats
        --list-output-formats    List supported output formats
    -h, --help                   Prints help information
    -V, --version                Prints version information

OPTIONS:
    -f, --from <FORMAT>                  Specify input format [possible values: CBOR, Hjson, JSON, JSON5, MessagePack,
                                         RON, TOML, YAML]
    -t, --to <FORMAT>                    Specify output format [possible values: CBOR, JSON, MessagePack, TOML, YAML]
    -o, --output <FILE>                  Output to <FILE> instead of stdout
    -p, --pretty <BOOLEAN>               Output as a pretty-printed string [possible values: true, false]
        --color <WHEN>                   Specify when to use colored output [default: auto]  [possible values: auto,
                                         always, never]
        --generate-completion <SHELL>    Generate shell completion [possible values: zsh, bash, fish, powershell,
                                         elvish]

ARGS:
    <FILE>    Input from <FILE>

See dsconv(1) for more details.

See dsconv(1) for more details.

Changelog

Please see CHANGELOG.adoc.

Configuration

If you want to change the default behavior, you can use the configuration file.

See dsconv-config.toml(5) for more details.

Contributing

Please see CONTRIBUTING.adoc.

License

Copyright © 2021 Shun Sakai (see AUTHORS.adoc)

This program is distributed under the terms of the Apache License 2.0.

See COPYING for more details.

Commit count: 148

cargo fmt