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.
24 lines
649 B
TOML
24 lines
649 B
TOML
[package]
|
|
name = "firezone-connection-tests"
|
|
# mark:automatic-version
|
|
version = "1.0.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
boringtun = { workspace = true }
|
|
firezone-connection = { workspace = true }
|
|
futures = "0.3"
|
|
hex = "0.4"
|
|
pnet_packet = { version = "0.34" }
|
|
rand = "0.8"
|
|
redis = { version = "0.23.3", default-features = false, features = ["tokio-comp"] }
|
|
redis-macros = "0.2.1"
|
|
secrecy = { workspace = true }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
serde-hex = "0.1.0"
|
|
tokio = { version = "1", features = ["full"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
|