swon

Crates.ioswon
lib.rsswon
version0.1.0
created_at2025-05-06 15:29:42.115167+00
updated_at2025-05-06 15:29:42.115167+00
descriptionSWON - SWan Object Notation core library
homepagehttps://swon.dev
repositoryhttps://github.com/Hihaheho/swon
max_upload_size
id1662547
size3,139
Ryo Hirayama (ryo33)

documentation

README

swon

SWON (SWan Object Notation) is a minimalist, schema-friendly format with an algebraic data model that's compatible with JSON.

This is the core library for working with SWON format.

This crate is still under development and published for name reservation purpose.

Features

  • Minimalist syntax
  • Schema-friendly design
  • Algebraic data model
  • JSON data model compatible
  • Rich editor experience
  • Human friendly
  • Programmatically editable

Example

$swon.version: https://swon.dev/versions/v0.1.0
title: test
language: en
target_window: Main

@ actions[]
$variant: use-script
script-id: title

@ actions[]
$variant: sleep
seconds = 2.0

@ actions[]
$variant: set-base-background-image
image: images/backgrounds/blank.png

Visit swon.dev for more information.

Commit count: 73

cargo fmt