fix: got everything to compile

This commit is contained in:
Andrew Rioux
2025-02-15 19:01:37 -05:00
parent 4e0944e4c1
commit 118d56fc36
13 changed files with 123 additions and 70 deletions

View File

@@ -14,8 +14,9 @@ tracing = "0.1.41"
rand = "0.9.0"
pin-project = "1.1.9"
hyper-util = { version = "0.1.10", features = ["client", "client-legacy", "http1", "http2", "service", "tokio"] }
hyper-rustls = { version = "0.27.5", default-features = false, features = ["http1", "http2", "native-tokio", "ring"] }
rustls = { version = "0.23.23", default-features = false, features = ["ring", "std"] }
hyper-rustls = { version = "0.27.5", default-features = false, features = ["http1", "http2", "native-tokio"] }
rustls = { version = "0.23.23", default-features = false, features = ["std"] }
rustls-openssl = { version = "0.2", optional = true, default-features = false }
tower-service = "0.3.3"
futures = "0.3.31"
simple_logger = "5.0.0"
@@ -26,3 +27,7 @@ http-body-util = "0.1.2"
pcap-sys = { version = "0.1.0", path = "../pcap-sys" }
sparse-actions = { version = "2.0.0", path = "../sparse-actions" }
packets = { version = "0.1.0", path = "../packets" }
[features]
openssl = ["dep:rustls-openssl"]
ring = ["rustls/ring", "hyper-rustls/ring"]

View File

@@ -11,6 +11,10 @@ pub mod adapter;
pub mod error;
pub use error::BeaconError;
pub fn install_rustls() {
}
pub async fn run_beacon_step<A>(
host_adapter: A,
params: Parameters,