Sirt
Sirt is a basic data format that is designed to be dead simple to use. At a high level, a Sirt format is made up of "Blocks", and each block is made up of basic data types seen in most programming languages. In Sirt, these types are known as Values.
Libsirt
Libsirt is the core library that, under the hood, parses the contents of the file or input into Blocks. The most crucial part is that it implements Serde's Serialise and Deserialise, allowing users of this library to construct a data structure that represents the defined Sirt format, and also represent the data structure into text.
Example
An example of how a Sirt format is structured can be seen below:
text("Sirt")
bool(true)
list(text("featureOne"), text("featureTwo"), text("featureThree"))
}
in application code:
use ;
use ;
let file = "..."; // loaded from file
let app: = ;
let app = app.unwrap;
assert_eq!;
assert_eq!;
assert_eq!;