- Add 7 registry tests (handler_registry_*) to registry.rs - Add 4 dispatch tests (build_auth_context_*, dispatch_decision_logic_*) to dispatch.rs - Add 6 endpoint tests to endpoint.rs: - debug_for_alknet_endpoint_is_implemented_without_panicking - endpoint_constructs_with_iroh_raw_key_identity (adapted for new API) - iroh_endpoint_runs_accept_loop_and_shutdown (adapted for new API) - with_iroh_sets_field (replaces has_iroh_identity_true_for_raw_key) - without_iroh_field_is_none (replaces has_iroh_identity_false_for_x509) - endpoint_works_without_iroh (replaces has_iroh_identity_false_when_no_identity) - Add async-trait as dev-dependency - All 17 tests pass with iroh feature - All 8 tests pass without features - Workspace tests all pass (no breakage) - Mark tasks 1-7 as completed
31 lines
813 B
TOML
31 lines
813 B
TOML
[package]
|
|
name = "alknet-endpoint"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "Server-side multi-transport accept-loop runner — dispatches incoming connections by ALPN"
|
|
repository.workspace = true
|
|
|
|
[lib]
|
|
name = "alknet_endpoint"
|
|
|
|
[features]
|
|
default = []
|
|
quinn = ["dep:quinn", "alknet-core/quinn"]
|
|
iroh = ["dep:iroh", "alknet-core/iroh"]
|
|
tcp = ["dep:tokio-rustls"]
|
|
acme = []
|
|
|
|
[dependencies]
|
|
alknet-core = { path = "../alknet-core" }
|
|
tokio = { version = "1", features = ["full"] }
|
|
arc-swap = "1"
|
|
tracing = "0.1"
|
|
rustls = "0.23"
|
|
quinn = { version = "0.11", optional = true }
|
|
iroh = { version = "1.0", optional = true, default-features = false, features = ["tls-aws-lc-rs"] }
|
|
tokio-rustls = { version = "0.26", optional = true }
|
|
|
|
[dev-dependencies]
|
|
async-trait = "0.1"
|