mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
Initial version of the `firezone-connection` crate. To begin with, we only establish a connection in a LAN, i.e. no hole-punching, no STUN or TURN servers, just host candidates. As such, a lot of this PR is just scaffolding for setting up the test environment and the actual `ConnectionPool` implementation. For the curious, I've left some TODOs where I am going to attempt extending the implementation once we start dealing with STUN and TURN servers. I also extended CI to run these tests.
54 lines
1.8 KiB
TOML
54 lines
1.8 KiB
TOML
[workspace]
|
|
members = [
|
|
"connlib/clients/android",
|
|
"connlib/clients/apple",
|
|
"connlib/clients/shared",
|
|
"connlib/shared",
|
|
"connlib/tunnel",
|
|
"connlib/connection",
|
|
"gateway",
|
|
"linux-client",
|
|
"firezone-cli-utils",
|
|
"connection-tests",
|
|
"phoenix-channel",
|
|
"relay",
|
|
"windows-client/src-tauri",
|
|
]
|
|
|
|
resolver = "2"
|
|
|
|
[workspace.dependencies]
|
|
boringtun = { version = "0.6", default-features = false }
|
|
chrono = { version = "0.4", default-features = false, features = ["std", "clock", "oldtime", "serde"] }
|
|
swift-bridge = "0.1.52"
|
|
backoff = { version = "0.4", features = ["tokio"] }
|
|
tracing = { version = "0.1.40" }
|
|
tracing-subscriber = { version = "0.3.17", features = ["parking_lot"] }
|
|
secrecy = "0.8"
|
|
hickory-resolver = { version = "0.24", features = ["tokio-runtime"] }
|
|
webrtc = "0.9"
|
|
str0m = "0.4"
|
|
futures-bounded = "0.2.1"
|
|
domain = { version = "0.9", features = ["serde"] }
|
|
|
|
connlib-client-android = { path = "connlib/clients/android"}
|
|
connlib-client-apple = { path = "connlib/clients/apple"}
|
|
connlib-client-shared = { path = "connlib/clients/shared"}
|
|
firezone-gateway = { path = "gateway"}
|
|
firezone-linux-client = { path = "linux-client"}
|
|
firezone-windows-client = { path = "windows-client/src-tauri"}
|
|
firezone-cli-utils = { path = "firezone-cli-utils"}
|
|
firezone-connection = { path = "connlib/connection"}
|
|
firezone-relay = { path = "relay"}
|
|
connlib-shared = { path = "connlib/shared"}
|
|
firezone-tunnel = { path = "connlib/tunnel"}
|
|
phoenix-channel = { path = "phoenix-channel"}
|
|
|
|
[patch.crates-io]
|
|
boringtun = { git = "https://github.com/cloudflare/boringtun", branch = "master" } # Contains unreleased patches we need (bump of x25519-dalek)
|
|
webrtc = { git = "https://github.com/firezone/webrtc", branch = "expose-new-endpoint" }
|
|
str0m = { git = "https://github.com/thomaseizinger/str0m", branch = "main" }
|
|
|
|
[profile.release]
|
|
strip = true
|