mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-04-20 13:59:10 +00:00
Bump version 0.6.4
This commit is contained in:
parent
8c98d1dc74
commit
28d54be638
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "tun2proxy"
|
name = "tun2proxy"
|
||||||
version = "0.6.3"
|
version = "0.6.4"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
repository = "https://github.com/tun2proxy/tun2proxy"
|
repository = "https://github.com/tun2proxy/tun2proxy"
|
||||||
|
|
|
@ -218,7 +218,7 @@ impl StreamOperation for Packet {
|
||||||
impl AsyncStreamOperation for Packet {
|
impl AsyncStreamOperation for Packet {
|
||||||
async fn retrieve_from_async_stream<R>(r: &mut R) -> std::io::Result<Self>
|
async fn retrieve_from_async_stream<R>(r: &mut R) -> std::io::Result<Self>
|
||||||
where
|
where
|
||||||
R: tokio::io::AsyncRead + Unpin + Send,
|
R: tokio::io::AsyncRead + Unpin + Send + ?Sized,
|
||||||
Self: Sized,
|
Self: Sized,
|
||||||
{
|
{
|
||||||
let mut buf = [0; UDPGW_LENGTH_FIELD_SIZE];
|
let mut buf = [0; UDPGW_LENGTH_FIELD_SIZE];
|
||||||
|
@ -277,7 +277,7 @@ impl StreamOperation for UdpgwHeader {
|
||||||
impl AsyncStreamOperation for UdpgwHeader {
|
impl AsyncStreamOperation for UdpgwHeader {
|
||||||
async fn retrieve_from_async_stream<R>(r: &mut R) -> std::io::Result<Self>
|
async fn retrieve_from_async_stream<R>(r: &mut R) -> std::io::Result<Self>
|
||||||
where
|
where
|
||||||
R: tokio::io::AsyncRead + Unpin + Send,
|
R: tokio::io::AsyncRead + Unpin + Send + ?Sized,
|
||||||
Self: Sized,
|
Self: Sized,
|
||||||
{
|
{
|
||||||
let mut buf = [0; UdpgwHeader::static_len()];
|
let mut buf = [0; UdpgwHeader::static_len()];
|
||||||
|
|
Loading…
Add table
Reference in a new issue