From 3d575ec2a4440e7e4597761eab907d63ef91175e Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Sat, 12 Apr 2025 09:24:19 +0100 Subject: feat: move tokio features to dev-dependencies to allow wasm support --- src/main.rs | 95 ------------------------------------------------------------- 1 file changed, 95 deletions(-) delete mode 100644 src/main.rs (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs deleted file mode 100644 index 580652e..0000000 --- a/src/main.rs +++ /dev/null @@ -1,95 +0,0 @@ -use peanuts::xml::composers::Composer; -use peanuts::xml::parsers::Parser; -use peanuts::xml::Document; - -#[tokio::main] -async fn main() { - let (rest, document) = Document::parse( - " - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - asdf -", - ) - .unwrap(); - println!("{:#?}{}", document, rest); - let mut stdout = tokio::io::stdout(); - document.write(&mut stdout).await.unwrap(); -} -- cgit