Skip to content

Commit

Permalink
Revert "Reapply "Tokio""
Browse files Browse the repository at this point in the history
This reverts commit f1b7d64.
  • Loading branch information
lukas0008 committed Aug 7, 2024
1 parent 33df6b0 commit fc4c9b3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 19 deletions.
13 changes: 0 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,3 @@ edition = "2021"

[profile.release]
lto = true

[workspace.dependencies]
tokio = { version = "1.39.2", features = ["net", "macros", "rt-multi-thread", "fs", "io-util"] }
3 changes: 2 additions & 1 deletion pumpkin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ crossbeam-channel = "0.5.13"

uuid = { version = "1.10", features = ["serde"]}

tokio.workspace = true


3 changes: 1 addition & 2 deletions pumpkin/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ pub mod server;
pub mod util;

#[cfg(not(target_os = "wasi"))]
#[tokio::main]
async fn main() -> io::Result<()> {
fn main() -> io::Result<()> {
use std::{cell::RefCell, time::Instant};

let time = Instant::now();
Expand Down

0 comments on commit fc4c9b3

Please sign in to comment.