html terminal
remove map shadow
bendn 2023-07-27
parent 25d3588 · commit 2a1b946
-rw-r--r--Cargo.toml4
-rw-r--r--src/main.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index c79aa63..c0dde38 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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],