100-update-monoio.patch 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. --- a/Cargo.lock
  2. +++ b/Cargo.lock
  3. @@ -1,6 +1,6 @@
  4. # This file is automatically @generated by Cargo.
  5. # It is not intended for manual editing.
  6. -version = 3
  7. +version = 4
  8. [[package]]
  9. name = "aho-corasick"
  10. @@ -224,14 +224,13 @@ dependencies = [
  11. [[package]]
  12. name = "flume"
  13. -version = "0.10.14"
  14. +version = "0.11.1"
  15. source = "registry+https://github.com/rust-lang/crates.io-index"
  16. -checksum = "1657b4441c3403d9f7b3409e47575237dac27b1b5726df654a6ecbf92f0f7577"
  17. +checksum = "da0e4dd2a88388a1f4ccc7c9ce104604dab68d9f408dc34cd45823d5a9069095"
  18. dependencies = [
  19. "futures-core",
  20. "futures-sink",
  21. "nanorand",
  22. - "pin-project",
  23. "spin 0.9.8",
  24. ]
  25. @@ -393,9 +392,9 @@ dependencies = [
  26. [[package]]
  27. name = "memchr"
  28. -version = "2.6.4"
  29. +version = "2.7.5"
  30. source = "registry+https://github.com/rust-lang/crates.io-index"
  31. -checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167"
  32. +checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
  33. [[package]]
  34. name = "memoffset"
  35. @@ -420,9 +419,9 @@ dependencies = [
  36. [[package]]
  37. name = "monoio"
  38. -version = "0.2.0"
  39. +version = "0.2.2"
  40. source = "registry+https://github.com/rust-lang/crates.io-index"
  41. -checksum = "c91a9bcc2622991bc92f3b6d7dc495329c4863e4dc530d1748529b009bb2170a"
  42. +checksum = "fd5be7ef0eea41e4e5b30fe55aa6fd15288c415118bcdceadd52fd3656816cc7"
  43. dependencies = [
  44. "auto-const-array",
  45. "bytes",
  46. @@ -430,9 +429,11 @@ dependencies = [
  47. "fxhash",
  48. "io-uring",
  49. "libc",
  50. + "memchr",
  51. "mio",
  52. "monoio-macros",
  53. "nix 0.26.4",
  54. + "once_cell",
  55. "pin-project-lite",
  56. "socket2",
  57. "threadpool",
  58. @@ -538,26 +539,6 @@ source = "registry+https://github.com/ru
  59. checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"
  60. [[package]]
  61. -name = "pin-project"
  62. -version = "1.1.3"
  63. -source = "registry+https://github.com/rust-lang/crates.io-index"
  64. -checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422"
  65. -dependencies = [
  66. - "pin-project-internal",
  67. -]
  68. -
  69. -[[package]]
  70. -name = "pin-project-internal"
  71. -version = "1.1.3"
  72. -source = "registry+https://github.com/rust-lang/crates.io-index"
  73. -checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405"
  74. -dependencies = [
  75. - "proc-macro2",
  76. - "quote",
  77. - "syn",
  78. -]
  79. -
  80. -[[package]]
  81. name = "pin-project-lite"
  82. version = "0.2.13"
  83. source = "registry+https://github.com/rust-lang/crates.io-index"
  84. --- a/Cargo.toml
  85. +++ b/Cargo.toml
  86. @@ -10,7 +10,7 @@ repository = "https://github.com/ihciah/
  87. version = "0.2.25"
  88. [dependencies]
  89. -monoio = { version = "0.2.0", features = ["sync"] }
  90. +monoio = { version = "=0.2.2", features = ["sync"] }
  91. monoio-rustls-fork-shadow-tls = { version = "0.3.0-mod.2" }
  92. rustls-fork-shadow-tls = { version = "0.20.9-mod.2", default-features = false }
  93. --- a/src/lib.rs
  94. +++ b/src/lib.rs
  95. @@ -1,5 +1,3 @@
  96. -#![feature(impl_trait_in_assoc_type)]
  97. -
  98. mod client;
  99. mod helper_v2;
  100. mod server;
  101. --- a/src/main.rs
  102. +++ b/src/main.rs
  103. @@ -1,5 +1,3 @@
  104. -#![feature(type_alias_impl_trait)]
  105. -
  106. use std::{collections::HashMap, path::PathBuf, process::exit};
  107. use clap::{Parser, Subcommand, ValueEnum};