Skip to content

Squirreljetpack/slate-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slate-rs Crates.ioLicense

Fork of https://github.com/znx3p0/vielsprachig, with extra functionality

Installation

cargo install slate-rs

# Convert yml -> toml
slate $HOME/.config/alacritty.yml -o $HOME/.config/alacritty.toml

Features

  • Convert between different input and output serialized data formats
  • Tera templating
  • Special modes for generating systemd timers and quadlet files (see examples)

Supported formats

The current input options and their inferred extensions are:

Input Output Extensions
Json Json .json
PrettyJson .hjson
Yaml Yaml .yaml, .yml
Cbor Cbor .cb, .cbor
Ron Ron .ron
PrettyRon .hron
Toml Toml .toml
Bson Bson .bson, .bs
Pickle .pickle, .pkl
Bincode .bc, .bincode
Postcard .pc, .postcard
Flexbuffers .fb, .flexbuffers
Systemd (use --to systemd)
Quadlet (use --to quadlet)

See also

About

convert between different serialized data formats

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages