# file: crates/common/game-realtime-webtransport-lib/Cargo.toml # version: 4 [package] name = "game-realtime-webtransport-lib" version.workspace = true edition.workspace = true license.workspace = true repository.workspace = true authors.workspace = true publish.workspace = true [dependencies] game-realtime-transport-lib = { path = "../game-realtime-transport-lib" } tracing.workspace = true url.workspace = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies] rcgen = { workspace = true, features = ["ring"] } tokio = { workspace = true, features = ["time"] } web-transport-quinn = { workspace = true, features = ["ring"] } [target.'cfg(target_arch = "wasm32")'.dependencies] futures-util = { workspace = true, features = ["std"] } gloo-timers = { workspace = true, features = ["futures"] } web-transport-wasm.workspace = true [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] tokio = { workspace = true, features = ["macros", "rt", "time"] } [lints] workspace = true