-
Notifications
You must be signed in to change notification settings - Fork 0
feat(wind-tuic): add SimpleUdpChannel to replace AbstractUdpSocket #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # Wind CI Build Target Configuration | ||
|
|
||
| [[target]] | ||
| os = "ubuntu-latest" | ||
| target = "x86_64-unknown-linux-gnu" | ||
| release-name = "x86_64-linux" | ||
| skip-test = false | ||
|
|
||
| [[target]] | ||
| os = "macos-latest" | ||
| target = "aarch64-apple-darwin" | ||
| release-name = "aarch64-darwin" | ||
| skip-test = false |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| build: | ||
| uses: rust-proxy/workflows/.github/workflows/rust-build.yml@main | ||
| with: | ||
| packages: "wind" | ||
| run-tests: true | ||
| only-clippy-tests-on-pr: true | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,9 +1,9 @@ | ||||||
| [package] | ||||||
| name = "wind-core" | ||||||
| version.workspace = true | ||||||
| repository.workspace = true | ||||||
| edition.workspace = true | ||||||
| description.workspace = true | ||||||
| version = "0.1.1" | ||||||
| repository = "https://github.com/proxy-rs/wind" | ||||||
| edition = "2024" | ||||||
| description = "Wind core networking abstractions" | ||||||
| license = "MIT OR Apache-2.0" | ||||||
|
|
||||||
| [features] | ||||||
|
|
@@ -15,7 +15,7 @@ pin-project = "1" | |||||
| tokio = { version = "1", default-features = false, features = ["io-util", "macros", "time", "net"] } | ||||||
| tokio-util = { version = "0.7", features = ["rt"] } | ||||||
|
|
||||||
| quinn = { version = "0.11", default-features = false, optional = true } | ||||||
| quinn = { workspace = true, default-features = false, optional = true } | ||||||
|
||||||
| quinn = { workspace = true, default-features = false, optional = true } | |
| quinn = { version = "0.11", default-features = false, optional = true } |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,9 +1,9 @@ | ||||||
| [package] | ||||||
| name = "wind-tuic" | ||||||
| version.workspace = true | ||||||
| repository.workspace = true | ||||||
| edition.workspace = true | ||||||
| description.workspace = true | ||||||
| version = "0.1.1" | ||||||
| repository = "https://github.com/proxy-rs/wind" | ||||||
| edition = "2024" | ||||||
| description = "Wind TUIC protocol implementation" | ||||||
| license = "MIT OR Apache-2.0" | ||||||
|
|
||||||
| [features] | ||||||
|
|
@@ -22,13 +22,13 @@ ring = [ | |||||
| ] | ||||||
|
|
||||||
| [dependencies] | ||||||
| wind-core = { version = "0.1.1", path = "../wind-core", features = ["quic"]} | ||||||
| wind-core = { path = "../wind-core", features = ["quic"]} | ||||||
|
|
||||||
|
|
||||||
| # Async | ||||||
| tokio = { version = "1", default-features = false, features = ["net"] } | ||||||
| tokio-util = { version = "0.7", features = ["codec"] } | ||||||
| quinn = { version = "0.11", default-features = false, features = ["runtime-tokio"]} | ||||||
| quinn = { workspace = true, default-features = false, features = ["runtime-tokio", "qlog"] } | ||||||
|
||||||
| quinn = { workspace = true, default-features = false, features = ["runtime-tokio", "qlog"] } | |
| quinn = { version = "0.11", default-features = false, features = ["runtime-tokio", "qlog"] } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| #![feature(error_generic_member_access)] | ||
|
|
||
| pub mod proto; | ||
| pub mod simple_udp; | ||
| mod task; | ||
| pub mod tls; | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reusable workflow is referenced by a moving ref (
@main). For reproducible CI and to avoid unexpected breakages, pin this to an immutable tag or commit SHA (and update deliberately when needed).