livesplit-core 0.13.0

livesplit-core is a library that provides a lot of functionality for creating a speedrun timer.
Documentation
1
2
3
4
5
6
7
use super::ImageData;

#[test]
fn serializes_to_json_as_data_url() {
    let json = serde_json::to_string(&ImageData(vec![1, 2, 3].into_boxed_slice())).unwrap();
    assert_eq!(r#""data:;base64,AQID""#, json);
}