From f4b360158d420d496a94e2f3c52d9a56c4ea8475 Mon Sep 17 00:00:00 2001 From: gennyble Date: Sun, 16 Mar 2025 05:11:03 -0500 Subject: move corgi to subdir --- src/main.rs | 396 ------------------------------------------------------------ 1 file changed, 396 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 9831331..0000000 --- a/src/main.rs +++ /dev/null @@ -1,396 +0,0 @@ -use std::{ - net::{IpAddr, SocketAddr}, - pin::Pin, - process::Stdio, - time::Instant, -}; - -use confindent::{Confindent, Value, ValueParseError}; -use http_body_util::{BodyExt, Full}; -use hyper::{ - HeaderMap, Request, Response, StatusCode, - body::{Bytes, Incoming}, - header::{self, HeaderValue}, - server::conn::http1, - service::Service, -}; -use hyper_util::rt::TokioIo; -use regex_lite::Regex; -use tokio::{ - io::{AsyncWriteExt, BufWriter}, - net::TcpListener, - process::Command, - runtime::Runtime, -}; - -#[derive(Clone, Debug)] -pub struct Settings { - port: u16, - scripts: Vec