# 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_websocket" version = "0.11.0" authors = ["aecsocket "] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "WebSocket 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 targets = [ "x86_64-unknown-linux-gnu", "wasm32-unknown-unknown", ] [lib] name = "aeronet_websocket" path = "src/lib.rs" [[example]] name = "websocket_client" path = "examples/websocket_client.rs" required-features = ["client"] [[example]] name = "websocket_echo_server" path = "examples/websocket_echo_server.rs" required-features = ["server"] [dependencies.aeronet_io] version = "0.11.0" [dependencies.anyhow] version = "1.0.89" default-features = false [dependencies.bevy_app] version = "0.15.0" default-features = false [dependencies.bevy_ecs] version = "0.15.0" default-features = false [dependencies.bevy_hierarchy] version = "0.15.0" 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" [dev-dependencies.bevy] version = "0.15.0" [dev-dependencies.bevy_egui] version = "0.31.1" [features] client = [] default = ["self-signed"] document-features = ["dep:document-features"] self-signed = ["dep:rcgen"] server = ["dep:tokio-rustls"] [target.'cfg(not(target_family = "wasm"))'.dependencies.rcgen] version = "0.13.1" optional = true [target.'cfg(not(target_family = "wasm"))'.dependencies.rustls] version = "0.23.13" [target.'cfg(not(target_family = "wasm"))'.dependencies.rustls-native-certs] version = "0.8.0" [target.'cfg(not(target_family = "wasm"))'.dependencies.tokio] version = "1.39.2" features = ["rt-multi-thread"] [target.'cfg(not(target_family = "wasm"))'.dependencies.tokio-rustls] version = "0.26.0" optional = true [target.'cfg(not(target_family = "wasm"))'.dependencies.tokio-tungstenite] version = "0.24.0" features = ["rustls-tls-native-roots"] [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.web-sys] version = "0.3.70" features = [ "WebSocket", "BinaryType", "MessageEvent", "CloseEvent", "ErrorEvent", ] [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)"]