mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-07-28 03:01:54 +08:00
118 lines
3.0 KiB
Diff
118 lines
3.0 KiB
Diff
--- a/Cargo.lock
|
|
+++ b/Cargo.lock
|
|
@@ -1,6 +1,6 @@
|
|
# This file is automatically @generated by Cargo.
|
|
# It is not intended for manual editing.
|
|
-version = 3
|
|
+version = 4
|
|
|
|
[[package]]
|
|
name = "aho-corasick"
|
|
@@ -224,14 +224,13 @@ dependencies = [
|
|
|
|
[[package]]
|
|
name = "flume"
|
|
-version = "0.10.14"
|
|
+version = "0.11.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "1657b4441c3403d9f7b3409e47575237dac27b1b5726df654a6ecbf92f0f7577"
|
|
+checksum = "da0e4dd2a88388a1f4ccc7c9ce104604dab68d9f408dc34cd45823d5a9069095"
|
|
dependencies = [
|
|
"futures-core",
|
|
"futures-sink",
|
|
"nanorand",
|
|
- "pin-project",
|
|
"spin 0.9.8",
|
|
]
|
|
|
|
@@ -393,9 +392,9 @@ dependencies = [
|
|
|
|
[[package]]
|
|
name = "memchr"
|
|
-version = "2.6.4"
|
|
+version = "2.7.5"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167"
|
|
+checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
|
|
|
|
[[package]]
|
|
name = "memoffset"
|
|
@@ -420,9 +419,9 @@ dependencies = [
|
|
|
|
[[package]]
|
|
name = "monoio"
|
|
-version = "0.2.0"
|
|
+version = "0.2.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "c91a9bcc2622991bc92f3b6d7dc495329c4863e4dc530d1748529b009bb2170a"
|
|
+checksum = "fd5be7ef0eea41e4e5b30fe55aa6fd15288c415118bcdceadd52fd3656816cc7"
|
|
dependencies = [
|
|
"auto-const-array",
|
|
"bytes",
|
|
@@ -430,9 +429,11 @@ dependencies = [
|
|
"fxhash",
|
|
"io-uring",
|
|
"libc",
|
|
+ "memchr",
|
|
"mio",
|
|
"monoio-macros",
|
|
"nix 0.26.4",
|
|
+ "once_cell",
|
|
"pin-project-lite",
|
|
"socket2",
|
|
"threadpool",
|
|
@@ -538,26 +539,6 @@ source = "registry+https://github.com/ru
|
|
checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"
|
|
|
|
[[package]]
|
|
-name = "pin-project"
|
|
-version = "1.1.3"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422"
|
|
-dependencies = [
|
|
- "pin-project-internal",
|
|
-]
|
|
-
|
|
-[[package]]
|
|
-name = "pin-project-internal"
|
|
-version = "1.1.3"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405"
|
|
-dependencies = [
|
|
- "proc-macro2",
|
|
- "quote",
|
|
- "syn",
|
|
-]
|
|
-
|
|
-[[package]]
|
|
name = "pin-project-lite"
|
|
version = "0.2.13"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
--- a/Cargo.toml
|
|
+++ b/Cargo.toml
|
|
@@ -10,7 +10,7 @@ repository = "https://github.com/ihciah/
|
|
version = "0.2.25"
|
|
|
|
[dependencies]
|
|
-monoio = { version = "0.2.0", features = ["sync"] }
|
|
+monoio = { version = "=0.2.2", features = ["sync"] }
|
|
monoio-rustls-fork-shadow-tls = { version = "0.3.0-mod.2" }
|
|
rustls-fork-shadow-tls = { version = "0.20.9-mod.2", default-features = false }
|
|
|
|
--- a/src/lib.rs
|
|
+++ b/src/lib.rs
|
|
@@ -1,5 +1,3 @@
|
|
-#![feature(impl_trait_in_assoc_type)]
|
|
-
|
|
mod client;
|
|
mod helper_v2;
|
|
mod server;
|
|
--- a/src/main.rs
|
|
+++ b/src/main.rs
|
|
@@ -1,5 +1,3 @@
|
|
-#![feature(type_alias_impl_trait)]
|
|
-
|
|
use std::{collections::HashMap, path::PathBuf, process::exit};
|
|
|
|
use clap::{Parser, Subcommand, ValueEnum};
|