# 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" name = "bevy_simplenet" version = "0.13.2" authors = ["koe "] description = "Simple server/client channel implemented over websockets with support for Bevy" readme = "README.md" keywords = [ "gamedev", "networking", "wasm", ] license = "MIT OR Apache-2.0" repository = "https://github.com/UkoeHB/bevy_simplenet" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [profile.release] lto = true codegen-units = 1 strip = true [profile.release-small] opt-level = "s" lto = "fat" inherits = "release" [profile.release-small.package."*"] opt-level = "s" strip = true [profile.release-wasm] panic = "abort" inherits = "release-small" [profile.release-wasm.package."*"] opt-level = "s" strip = true [lib] path = "src/lib.rs" test = false doctest = false [[test]] name = "tests" path = "tests/test/mod.rs" doctest = false required-features = [ "client", "server", ] [dependencies.async-trait] version = "0.1" [dependencies.axum] version = "0.6" optional = true [dependencies.axum-server] version = "0.5" optional = true [dependencies.bevy_ecs] version = "0.14" optional = true [dependencies.bincode] version = "1.3" [dependencies.cfg-if] version = "1.0" [dependencies.crossbeam] version = "0.8" [dependencies.ed25519-dalek] version = "2.1.1" features = ["rand_core"] optional = true [dependencies.enfync] version = "0.1" [dependencies.ezsockets] version = "0.6.2" default-features = false [dependencies.form_urlencoded] version = "1.2" [dependencies.rand] version = "0.8" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_with] version = "3.0" [dependencies.tokio] version = "1.29" features = ["sync"] optional = true [dependencies.tracing] version = "0.1" [dependencies.url] version = "2.4" [dependencies.wasm-timer] version = "0.2" [dev-dependencies.tracing-subscriber] version = "0.3" [features] auth = [ "dep:rand", "dep:ed25519-dalek", ] bevy = ["dep:bevy_ecs"] client = [] default = [ "bevy", "client", "server", ] server = [ "auth", "dep:axum", "dep:axum-server", "ezsockets/axum", "ezsockets/server", "dep:tokio", ] tls-openssl = ["axum-server/tls-openssl"] tls-rustls = ["axum-server/tls-rustls"] [target."cfg(not(target_family = \"wasm\"))".dependencies.ezsockets] version = "0.6.2" features = ["native_client"] default-features = false [target."cfg(target_family = \"wasm\")".dependencies.ezsockets] version = "0.6.2" features = ["wasm_client"] default-features = false