Parsing the metadata of the Tampermonkey script
let mut us = try_from
.unwrap;
us.set;
assert_eq!
Parsing the metadata of the Tampermonkey script
let mut us = UserScript::try_from(
r#"// ==UserScript==
// @author You
// ==/UserScript=="#,
)
.unwrap();
us.set("author", "Me");
assert_eq!(us.get("author"), Some(&"Me".to_string()))