From 69b8342a8d9f97353529f4ef6f9888c2345361da Mon Sep 17 00:00:00 2001 From: EAimTY Date: Sat, 20 May 2023 20:54:36 +0900 Subject: [PATCH] bump versions --- tuic-quinn/Cargo.toml | 6 +++--- tuic-quinn/src/lib.rs | 1 + tuic/Cargo.toml | 8 ++++---- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/tuic-quinn/Cargo.toml b/tuic-quinn/Cargo.toml index 6448aeb..27d08db 100644 --- a/tuic-quinn/Cargo.toml +++ b/tuic-quinn/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tuic-quinn" -version = "0.1.0-pre-alpha3" +version = "0.1.0-pre-alpha5" authors = ["EAimTY "] description = "A thin layer on top of quinn to provide functions for TUIC" categories = ["network-programming"] @@ -14,7 +14,7 @@ repository = "https://github.com/EAimTY/tuic" [dependencies] bytes = { version = "1.4.0", default-features = false, features = ["std"] } futures-util = { version = "0.3.28", default-features = false, features = ["io", "std"] } -quinn = { version = "0.10.0", default-features = false, features = ["futures-io"] } +quinn = { version = "0.10.1", default-features = false, features = ["futures-io"] } thiserror = { version = "1.0.40", default-features = false } tuic = { path = "../tuic", default-features = false, features = ["async_marshal", "marshal", "model"] } -uuid = { version = "1.3.2", default-features = false, features = ["std"] } +uuid = { version = "1.3.3", default-features = false, features = ["std"] } diff --git a/tuic-quinn/src/lib.rs b/tuic-quinn/src/lib.rs index a507eaa..15f8c86 100644 --- a/tuic-quinn/src/lib.rs +++ b/tuic-quinn/src/lib.rs @@ -413,6 +413,7 @@ impl Connect { } } + /// Immediately closes the `Connect` streams with the given error code. Returns the result of closing the send and receive streams, respectively. pub fn reset( &mut self, error_code: VarInt, diff --git a/tuic/Cargo.toml b/tuic/Cargo.toml index 10e05e8..ba5e9c3 100644 --- a/tuic/Cargo.toml +++ b/tuic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tuic" -version = "5.0.0-pre-alpha7" +version = "5.0.0-pre-alpha9" authors = ["EAimTY "] description = "Delicately-TUICed 0-RTT proxy protocol" categories = ["network-programming"] @@ -12,8 +12,8 @@ license = "GPL-3.0-or-later" repository = "https://github.com/EAimTY/tuic" [features] -async_marshal = ["bytes", "futures-util"] -marshal = ["bytes"] +async_marshal = ["bytes", "futures-util", "thiserror"] +marshal = ["bytes", "thiserror"] model = ["parking_lot", "register-count", "thiserror"] [dependencies] @@ -22,7 +22,7 @@ futures-util = { version = "0.3.28", default-features = false, features = ["io", parking_lot = { version = "0.12.1", default-features = false, optional = true } register-count = { version = "0.1.0", default-features = false, features = ["std"], optional = true } thiserror = { version = "1.0.40", default-features = false, optional = true } -uuid = { version = "1.3.2", default-features = false, features = ["std"] } +uuid = { version = "1.3.3", default-features = false, features = ["std"] } [dev-dependencies] tuic = { path = ".", features = ["async_marshal", "marshal", "model"] }