slate-rs

Crates.ioslate-rs
lib.rsslate-rs
version0.1.1
created_at2025-07-16 00:41:52.1167+00
updated_at2025-08-11 12:55:47.342807+00
descriptiontranslate file formats + goodies
homepage
repository
max_upload_size
id1754474
size116,665
(Squirreljetpack)

documentation

README

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

Commit count: 0

cargo fmt