mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-31 08:22:33 +00:00
13
Cargo.lock
generated
13
Cargo.lock
generated
@@ -1177,7 +1177,6 @@ dependencies = [
|
||||
"sha1",
|
||||
"simple_logger",
|
||||
"thiserror",
|
||||
"tokio",
|
||||
"toml",
|
||||
"uuid",
|
||||
]
|
||||
@@ -1789,21 +1788,9 @@ dependencies = [
|
||||
"mio",
|
||||
"pin-project-lite",
|
||||
"socket2",
|
||||
"tokio-macros",
|
||||
"windows-sys 0.52.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "tokio-macros"
|
||||
version = "2.4.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.72",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "tokio-native-tls"
|
||||
version = "0.3.1"
|
||||
|
||||
@@ -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"] }
|
||||
|
||||
@@ -49,4 +49,5 @@ crossbeam-channel = "0.5.13"
|
||||
|
||||
uuid = { version = "1.10", features = ["serde"]}
|
||||
|
||||
tokio.workspace = true
|
||||
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user