hesp-manifest 2.0.2

Rust library for serialization and deserialization the HESP manifest
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use hesp_manifest::Manifest;
use std::fs;
use url::Url;

fn main() -> anyhow::Result<()> {
    let location = Url::parse("http://localhost")?;
    let input = fs::read_to_string("tests/empty-manifest.json")?;
    let err = Manifest::from_json(location, &input).err().unwrap();

    println!("{err}");
    Ok(())
}