aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2024-06-25 23:14:21 +0100
committerLibravatar cel 🌸 <cel@blos.sm>2024-06-25 23:14:21 +0100
commit1fb575b5ca646581d715c169b24515b51c724b70 (patch)
tree4bdbb65f97559a09b41a7a261a0fb65f8f2e2c01 /src/main.rs
parentb9d88e5c6f81fadcb4bcceb3326383fc2fb13eb5 (diff)
downloadpeanuts-1fb575b5ca646581d715c169b24515b51c724b70.tar.gz
peanuts-1fb575b5ca646581d715c169b24515b51c724b70.tar.bz2
peanuts-1fb575b5ca646581d715c169b24515b51c724b70.zip
change privacy
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
new file mode 100644
index 0000000..625c486
--- /dev/null
+++ b/src/main.rs
@@ -0,0 +1,14 @@
+use peanuts::parser::document;
+
+fn main() {
+ let document = document(
+ "<?xml version=\"1.0\"?>
+<TEST>
+ <block1>Background Mark 1</block1>
+ <block2>Background Mark 2</block2>
+ <block3>Background Mark 3</block3>
+</TEST>
+",
+ );
+ println!("{:?}", document);
+}