Skip to content

Commit

Permalink
feat: release gm-quic v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eareimu authored and huster-zhangpeng committed Jan 28, 2025
1 parent c12af73 commit b23b689
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 20 deletions.
18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ default-members = [
]

[workspace.package]
version = "0.0.1"
version = "0.1.0"
edition = "2021"
readme = "README.md"
repository = "https://github.com/genmeta/gm-quic"
Expand Down Expand Up @@ -63,14 +63,14 @@ tracing-subscriber = "0.3"
url = "2"

# members
qbase = { path = "./qbase", version = "0.0.1" }
qrecovery = { path = "./qrecovery", version = "0.0.1" }
qconnection = { path = "./qconnection", version = "0.0.1" }
qcongestion = { path = "./qcongestion", version = "0.0.1" }
qudp = { path = "./qudp", version = "0.0.1" }
qinterface = { path = "./qinterface", version = "0.0.1" }
qunreliable = { path = "./qunreliable", version = "0.0.1" }
gm-quic = { path = "./gm-quic", version = "0.0.1" }
qbase = { path = "./qbase", version = "0.1.0" }
qrecovery = { path = "./qrecovery", version = "0.1.0" }
qconnection = { path = "./qconnection", version = "0.1.0" }
qcongestion = { path = "./qcongestion", version = "0.1.0" }
qudp = { path = "./qudp", version = "0.1.0" }
qinterface = { path = "./qinterface", version = "0.1.0" }
qunreliable = { path = "./qunreliable", version = "0.1.0" }
gm-quic = { path = "./gm-quic", version = "0.1.0" }

[profile.bench]
debug = true
2 changes: 1 addition & 1 deletion gm-quic/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gm-quic"
version = "0.0.1"
version = "0.1.0"
edition.workspace = true
description = "An IETF quic transport protocol implemented natively using async Rust"
readme.workspace = true
Expand Down
3 changes: 1 addition & 2 deletions h3-shim/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "h3-shim"
version = "0.0.1"
version = "0.1.0"
edition.workspace = true
description = "Shim libray between gm-quic and h3"
readme.workspace = true
Expand All @@ -17,7 +17,6 @@ gm-quic = { workspace = true }
qbase = { workspace = true }
tokio = { workspace = true }

log = { workspace = true }
[dev-dependencies]
clap = { workspace = true, features = ["derive"] }
http = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion h3-shim/examples/h3-client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ pub async fn run(opt: Opt) -> Result<(), Box<dyn core::error::Error + Send + Syn

let gm_quic_conn = h3_shim::QuicConnection::new(conn).await;
let (mut conn, mut send_request) = h3::client::new(gm_quic_conn).await?;
log::info!("hs done");
info!("handshake done");
let driver = async move {
future::poll_fn(|cx| conn.poll_close(cx)).await?;
// tokio::time::sleep(std::time::Duration::from_secs(1)).await;
Expand Down
2 changes: 1 addition & 1 deletion h3-shim/examples/h3-server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ pub async fn run(opt: Opt) -> Result<(), Box<dyn std::error::Error + Send + Sync
let Ok(mut h3_conn) =
h3::server::Connection::new(h3_shim::QuicConnection::new(new_conn).await)
.await
.inspect_err(|e| log::error!("failed to create h3 connection: {}", e))
.inspect_err(|e| error!("failed to create h3 connection: {}", e))
else {
continue;
};
Expand Down
2 changes: 1 addition & 1 deletion qbase/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "qbase"
version = "0.0.1"
version = "0.1.0"
edition.workspace = true
description = "Core structure of the QUIC protocol, a part of gm-quic"
readme.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion qconnection/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "qconnection"
version = "0.0.1"
version = "0.1.0"
edition.workspace = true
description = "Encapsulation of QUIC connections, a part of gm-quic"
readme.workspace = true
Expand Down
1 change: 1 addition & 0 deletions qconnection/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pub mod prelude {
};
pub use qunreliable::{UnreliableReader, UnreliableWriter};

#[allow(unused_imports)]
pub mod handy {
pub use qinterface::handy::*;
}
Expand Down
3 changes: 2 additions & 1 deletion qinterface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "qinterface"
version.workspace = true
edition.workspace = true
description = "gm-quic's packet routing and definition of the underlying IO interface"
readme.workspace = true
repository.workspace = true
license.workspace = true
Expand All @@ -13,7 +14,7 @@ bytes = { workspace = true }
dashmap = { workspace = true }
deref-derive = { workspace = true }
qbase = { workspace = true }
tokio = { workspace = true, features = ["rt"] }
tokio = { workspace = true, features = ["rt", "sync"] }
thiserror = { workspace = true }
futures = { workspace = true }

Expand Down
2 changes: 1 addition & 1 deletion qrecovery/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "qrecovery"
version = "0.0.1"
version = "0.1.0"
edition.workspace = true
description = "The reliable transport part of QUIC, a part of gm-quic"
readme.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion qudp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "qudp"
version = "0.0.1"
version = "0.1.0"
edition.workspace = true
description = "High-performance UDP encapsulation for QUIC"
readme.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion qunreliable/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "qunreliable"
version = "0.0.1"
version = "0.1.0"
edition.workspace = true
description = "Unreliable transmission of gm-quic"
readme.workspace = true
Expand Down

0 comments on commit b23b689

Please sign in to comment.