///|
fn main {
let text = "User-agent: ExampleBot\nAllow: /public/\nDisallow: /private/\nSitemap: https://example.test/sitemap.xml\n"
match @robots.parse_robots(text) {
Ok(file) => println(@robots.serialize_robots(file))
Err(e) => println(e.to_display())
}
}