[package]
edition = "2024"
rust-version = "1.88"
name = "actr-hyper"
version = "0.3.1"
authors = ["Actor-RTC Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hyper — Actor platform infrastructure: sandbox, transport, scheduler, WASM engine, signing, AIS bootstrap, persistence & crypto primitives"
readme = false
keywords = [
"actor",
"sandbox",
"webassembly",
"transport",
"platform",
]
categories = [
"asynchronous",
"cryptography",
"network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/actor-rtc/actr"
resolver = "2"
[features]
default = []
dynclib-engine = ["dep:libloading"]
opentelemetry = [
"actr-config/opentelemetry",
"dep:opentelemetry",
"dep:opentelemetry-otlp",
"dep:opentelemetry_sdk",
"dep:tracing-opentelemetry",
]
test-utils = [
"dep:actr-mock-actrix",
"dep:webrtc-util",
]
wasm-engine = [
"dep:wasmtime",
"dep:wasmtime-wasi",
]
[lib]
name = "actr_hyper"
path = "src/lib.rs"
[[test]]
name = "cleanup_during_request"
path = "tests/cleanup_during_request.rs"
[[test]]
name = "component_model_dispatch"
path = "tests/component_model_dispatch.rs"
[[test]]
name = "dynclib_actor_e2e"
path = "tests/dynclib_actor_e2e.rs"
[[test]]
name = "dynclib_cache"
path = "tests/dynclib_cache.rs"
[[test]]
name = "dynclib_host"
path = "tests/dynclib_host.rs"
[[test]]
name = "ice_restart"
path = "tests/ice_restart.rs"
[[test]]
name = "ice_restart_with_signaling_disruption"
path = "tests/ice_restart_with_signaling_disruption.rs"
[[test]]
name = "mobile_full_disconnect_recovery"
path = "tests/mobile_full_disconnect_recovery.rs"
[[test]]
name = "mobile_network_event_scenarios"
path = "tests/mobile_network_event_scenarios.rs"
[[test]]
name = "mock_actrix_integration"
path = "tests/mock_actrix_integration.rs"
[[test]]
name = "network_event_debounce"
path = "tests/network_event_debounce.rs"
[[test]]
name = "network_event_handling"
path = "tests/network_event_handling.rs"
[[test]]
name = "outproc_connection_rebuild"
path = "tests/outproc_connection_rebuild.rs"
[[test]]
name = "outproc_disconnect_reconnect"
path = "tests/outproc_disconnect_reconnect.rs"
[[test]]
name = "outproc_stale_transport_stream"
path = "tests/outproc_stale_transport_stream.rs"
[[test]]
name = "outproc_stale_webrtc_ready_state"
path = "tests/outproc_stale_webrtc_ready_state.rs"
[[test]]
name = "package_hooks"
path = "tests/package_hooks.rs"
[[test]]
name = "package_lifecycle"
path = "tests/package_lifecycle.rs"
[[test]]
name = "prod_cert_cache"
path = "tests/prod_cert_cache.rs"
[[test]]
name = "psk_flow"
path = "tests/psk_flow.rs"
[[test]]
name = "reproduce_sctp_race_condition"
path = "tests/reproduce_sctp_race_condition.rs"
[[test]]
name = "retry_behavior"
path = "tests/retry_behavior.rs"
[[test]]
name = "retry_core_mechanics"
path = "tests/retry_core_mechanics.rs"
[[test]]
name = "retry_dedup"
path = "tests/retry_dedup.rs"
[[test]]
name = "sign_and_verify"
path = "tests/sign_and_verify.rs"
[[test]]
name = "signaling_pending_replies"
path = "tests/signaling_pending_replies.rs"
[[test]]
name = "signaling_reconnect"
path = "tests/signaling_reconnect.rs"
[[test]]
name = "source_actor_inproc"
path = "tests/source_actor_inproc.rs"
[[test]]
name = "stale_callback_guard"
path = "tests/stale_callback_guard.rs"
[[test]]
name = "wasm_actor_fixture"
path = "tests/wasm_actor_fixture.rs"
[[test]]
name = "wasm_host"
path = "tests/wasm_host.rs"
[[test]]
name = "webrtc_large_data_transfer"
path = "tests/webrtc_large_data_transfer.rs"
[[test]]
name = "webrtc_large_mobile_recovery"
path = "tests/webrtc_large_mobile_recovery.rs"
[dependencies.actr-config]
version = "0.3.1"
optional = true
[dependencies.actr-framework]
version = "0.3.1"
[dependencies.actr-platform-traits]
version = "0.3.1"
[dependencies.actr-protocol]
version = "0.3.1"
[dependencies.actr-runtime]
version = "0.3.1"
[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1.10"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.futures-util]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.opentelemetry]
version = "0.30.0"
features = ["trace"]
optional = true
[dependencies.opentelemetry-otlp]
version = "0.30.0"
features = ["grpc-tonic"]
optional = true
[dependencies.opentelemetry_sdk]
version = "0.30.0"
features = ["rt-tokio"]
optional = true
[dependencies.prost]
version = "0.14"
[dependencies.prost-types]
version = "0.14"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.48"
features = [
"sync",
"macros",
]
default-features = false
[dependencies.toml]
version = "1.0.6"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-opentelemetry]
version = "0.31"
optional = true
[dependencies.uuid]
version = "1.18"
features = [
"v4",
"serde",
]
[dev-dependencies.actr-framework]
version = "0.3.1"
features = ["test-utils"]
[dev-dependencies.actr-pack]
version = "0.3.1"
[dev-dependencies.mockito]
version = "1.4"
[dev-dependencies.prost]
version = "0.14"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.tempfile]
version = "3.23"
[dev-dependencies.tokio]
version = "1.48"
features = ["full"]
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.wat]
version = "1"
[dev-dependencies.webrtc-ice]
version = "0.14"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.actr-config]
version = "0.3.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.actr-mock-actrix]
version = "0.3.1"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.actr-pack]
version = "0.3.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.actr-runtime-mailbox]
version = "0.3.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.actr-service-compat]
version = "0.3.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.crossbeam]
version = "0.8"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.dashmap]
version = "5.5"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.dotenvy]
version = "0.15"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.either]
version = "1.15"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.libloading]
version = "0.8"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.num_cpus]
version = "1.17"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.pwrzv]
version = "0.6.2"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rand]
version = "0.8"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
version = "0.12"
features = [
"rustls-tls-native-roots",
"json",
]
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rusqlite]
version = "0.32"
features = [
"bundled",
"serde_json",
]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.sha2]
version = "0.10"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tempfile]
version = "3.23"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.48"
features = ["full"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-stream]
version = "0.1"
features = ["sync"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-tungstenite]
version = "0.28.0"
features = ["rustls-tls-native-roots"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-util]
version = "0.7"
features = ["full"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.url]
version = "2.5"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmtime]
version = "=43.0.1"
features = [
"runtime",
"cranelift",
"component-model",
"component-model-async",
"async",
]
optional = true
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmtime-wasi]
version = "=43.0.1"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.webrtc]
version = "0.14"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.webrtc-util]
version = "0.12"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.zip]
version = "2"
features = ["deflate"]
default-features = false
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]
[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
version = "1.18"
features = [
"v4",
"serde",
"js",
]
[lints.clippy]
collapsible_else_if = "allow"
collapsible_if = "allow"