Skip to content

tveness/cfgrs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cfgrs

Crates.io Build status License Release

cfgrs is a small CLI helper tool for converting between different configuration formats. The current formats supported are:

  • hcl
  • json
  • toml
  • yaml

These formats are not completely interchangeable, and as such if they cannot be converted an error is currently raised.

cfgrs may be used in the following way to convert between formats:

~/cfgrs (main ✔) cat Cargo.toml|cfgrs -o yaml
dependencies:
 anyhow: 1.0.86
 hcl-rs: 0.18.0
 pico-args: 0.5.0
 serde_json: 1.0.120
 serde_yaml: 0.9.34
 toml: 0.8.15
 serde:
   features:
   - derive
   version: 1.0.204
package:
 description: CLI helper tool for converting between configuration formats
 edition: '2021'
 license: AGPL-3.0-only
 name: cfgrs
 readme: README.md
 repository: https://github.com/tveness/cfgrs
 version: 0.3.2
profile:
 release:
   codegen-units: 1
   lto: true
   opt-level: z
   panic: abort
   strip: true

An input format may be explicitly specified, and if it isn't cfgrs will attempt to detect it.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages