summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorradhitya <alif@radhitya.org>2026-06-25 22:54:44 +0700
committerradhitya <alif@radhitya.org>2026-06-25 22:54:44 +0700
commit59c35ef54ca3c967cb3607d3e2d4d6a144d30f60 (patch)
tree477c8eb5dabd9b4af87e9b03b6959d65f2140d43 /src/main.rs
parente2ef625c779dffd6a580c0aa8d1d57dcf7abd7eb (diff)
goodbye rustHEADmaster
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/main.rs b/src/main.rs
deleted file mode 100644
index b93d80f..0000000
--- a/src/main.rs
+++ /dev/null
@@ -1,18 +0,0 @@
-mod config;
-mod page;
-use std::env;
-use std::path::PathBuf;
-
-fn main() {
-
- config::parse_file("ahsi.toml");
- let args: Vec<String> = env::args().collect();
- if args.len() > 1 {
- let first_arg = &args[1];
- let path = PathBuf::from(first_arg);
- match page::parse_page(&path) {
- Ok(p) => println!("{}", p.html),
- Err(e) => eprintln!("error: {e:#}"),
- }
- }
-}