# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.82.0" name = "aeronet_webtransport" version = "0.9.0" authors = ["aecsocket "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "WebTransport IO layer implementation for aeronet" readme = "README.md" keywords = [ "gamedev", "network", "bevy", ] categories = [ "game-development", "network-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/aecsocket/aeronet" [package.metadata.docs.rs] all-features = true rustflags = ["--cfg=web_sys_unstable_apis"] targets = [ "x86_64-unknown-linux-gnu", "wasm32-unknown-unknown", ] [lib] name = "aeronet_webtransport" path = "src/lib.rs" [[example]] name = "webtransport_client" path = "examples/webtransport_client.rs" required-features = ["client"] [[example]] name = "webtransport_echo_server" path = "examples/webtransport_echo_server.rs" required-features = ["server"] [dependencies.aeronet_io] version = "0.9.0" [dependencies.anyhow] version = "1.0.89" default-features = false [dependencies.base64] version = "0.22.1" [dependencies.bevy_app] version = "0.14.2" default-features = false [dependencies.bevy_ecs] version = "0.14.2" default-features = false [dependencies.bevy_hierarchy] version = "0.14.2" default-features = false [dependencies.bevy_reflect] version = "0.14.2" default-features = false [dependencies.bytes] version = "1.6.1" default-features = false [dependencies.cfg-if] version = "1.0.0" [dependencies.derive_more] version = "1.0.0" features = [ "display", "error", "from", ] default-features = false [dependencies.document-features] version = "0.2.10" optional = true [dependencies.futures] version = "0.3.30" [dependencies.replace_with] version = "0.1.7" [dependencies.tracing] version = "0.1.40" default-features = false [dependencies.web-time] version = "1.1.0" [dependencies.xwt-core] version = "0.5.0" [dev-dependencies.bevy] version = "0.14.2" features = ["wayland"] [dev-dependencies.bevy_egui] version = "0.29.0" [features] client = [] dangerous-configuration = ["wtransport/dangerous-configuration"] document-features = ["dep:document-features"] server = [] [target.'cfg(not(target_family = "wasm"))'.dependencies.spki] version = "0.7.3" features = ["fingerprint"] [target.'cfg(not(target_family = "wasm"))'.dependencies.tokio] version = "1.39.2" features = ["rt-multi-thread"] [target.'cfg(not(target_family = "wasm"))'.dependencies.wtransport] version = "0.3.1" [target.'cfg(not(target_family = "wasm"))'.dependencies.x509-cert] version = "0.2.5" [target.'cfg(not(target_family = "wasm"))'.dependencies.xwt-wtransport] version = "0.10.0" [target.'cfg(target_family = "wasm")'.dependencies.gloo-timers] version = "0.3.0" features = ["futures"] [target.'cfg(target_family = "wasm")'.dependencies.js-sys] version = "0.3.70" [target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen] version = "0.2.93" [target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen-futures] version = "0.4.43" [target.'cfg(target_family = "wasm")'.dependencies.xwt-web-sys] version = "0.12.0" [lints.clippy] alloc_instead_of_core = "warn" module_name_repetitions = "allow" needless_pass_by_value = "allow" similar_names = "allow" std_instead_of_alloc = "warn" std_instead_of_core = "warn" too_many_arguments = "allow" type_complexity = "allow" unwrap_used = "warn" [lints.clippy.all] level = "warn" priority = -1 [lints.clippy.nursery] level = "warn" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] missing_docs = "warn" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(fuzzing)"]