1
0

bump versions

This commit is contained in:
EAimTY 2023-05-20 20:54:36 +09:00
parent 1278cd7398
commit 69b8342a8d
3 changed files with 8 additions and 7 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "tuic-quinn" name = "tuic-quinn"
version = "0.1.0-pre-alpha3" version = "0.1.0-pre-alpha5"
authors = ["EAimTY <ea.imty@gmail.com>"] authors = ["EAimTY <ea.imty@gmail.com>"]
description = "A thin layer on top of quinn to provide functions for TUIC" description = "A thin layer on top of quinn to provide functions for TUIC"
categories = ["network-programming"] categories = ["network-programming"]
@ -14,7 +14,7 @@ repository = "https://github.com/EAimTY/tuic"
[dependencies] [dependencies]
bytes = { version = "1.4.0", default-features = false, features = ["std"] } bytes = { version = "1.4.0", default-features = false, features = ["std"] }
futures-util = { version = "0.3.28", default-features = false, features = ["io", "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 } thiserror = { version = "1.0.40", default-features = false }
tuic = { path = "../tuic", default-features = false, features = ["async_marshal", "marshal", "model"] } 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"] }

View File

@ -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( pub fn reset(
&mut self, &mut self,
error_code: VarInt, error_code: VarInt,

View File

@ -1,6 +1,6 @@
[package] [package]
name = "tuic" name = "tuic"
version = "5.0.0-pre-alpha7" version = "5.0.0-pre-alpha9"
authors = ["EAimTY <ea.imty@gmail.com>"] authors = ["EAimTY <ea.imty@gmail.com>"]
description = "Delicately-TUICed 0-RTT proxy protocol" description = "Delicately-TUICed 0-RTT proxy protocol"
categories = ["network-programming"] categories = ["network-programming"]
@ -12,8 +12,8 @@ license = "GPL-3.0-or-later"
repository = "https://github.com/EAimTY/tuic" repository = "https://github.com/EAimTY/tuic"
[features] [features]
async_marshal = ["bytes", "futures-util"] async_marshal = ["bytes", "futures-util", "thiserror"]
marshal = ["bytes"] marshal = ["bytes", "thiserror"]
model = ["parking_lot", "register-count", "thiserror"] model = ["parking_lot", "register-count", "thiserror"]
[dependencies] [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 } parking_lot = { version = "0.12.1", default-features = false, optional = true }
register-count = { version = "0.1.0", default-features = false, features = ["std"], 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 } 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] [dev-dependencies]
tuic = { path = ".", features = ["async_marshal", "marshal", "model"] } tuic = { path = ".", features = ["async_marshal", "marshal", "model"] }