html terminal
remove map shadow
| -rw-r--r-- | Cargo.toml | 4 | ||||
| -rw-r--r-- | src/main.rs | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -16,7 +16,7 @@ tokio = { version = "1.28.2", features = [ "macros", "net", "sync", - "rt-multi-thread", + "rt", "parking_lot", "time", ], default-features = false } @@ -40,7 +40,7 @@ parse_duration = "2.1.1" serde = "1.0" serde_json = "1.0" btparse = "0.1.1" -mindus = "1" +mindus = { version = "1", features = ["schem_shadow"], default-features = false } image = { version = "0.24.6", features = ["png"], default-features = false } oxipng = { version = "8.0.0", features = ["parallel", "zopfli"], default-features = false } zopfli = { version = "0.7.4", features = ["nightly"] } diff --git a/src/main.rs b/src/main.rs index 3f002ee..34ee551 100644 --- a/src/main.rs +++ b/src/main.rs @@ -11,7 +11,7 @@ mod webhook; use server::*; use std::net::SocketAddr; -#[tokio::main] +#[tokio::main(flavor = "current_thread")] async fn main() { Server::spawn(SocketAddr::from(( [0, 0, 0, 0], |