[package] name = "bevy_simplenet_events" description = "Event-based networking API built on bevy_simplenet" authors = ["koe "] version = "0.4.0" edition = "2021" keywords = ["gamedev", "networking", "wasm", "events"] license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/UkoeHB/bevy_simplenet_events" [workspace] members = [ "bevy_simplenet_events_derive", ] [lib] path = "src/lib.rs" doctest = false test = false [[test]] name = "tests" path = "tests/test/mod.rs" doctest = false [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [features] default = ["client", "server"] # Enable clients. client = ["bevy_simplenet/client"] # Enable servers. server = ["bevy_simplenet/server"] [dependencies] bevy_app = { version = "0.14", default-features = false } bevy_ecs = { version = "0.14", default-features = false } bevy_cobweb = { version = "0.8" } bevy_simplenet = { version = "0.12", default-features = false } bincode = { version = "1.3" } crossbeam = { version = "0.8" } serde = { version = "1.0" } serde_with = { version = "3.0" } tracing = { version = "0.1" } bevy_simplenet_events_derive = { path = "bevy_simplenet_events_derive", version = "0.1.0" } [dev-dependencies] enfync = { version = "0.1" } tracing-subscriber = { version = "0.3" } url = { version = "2.4" } [profile.release] lto = true strip = true codegen-units = 1 [profile.release-small] inherits = "release" opt-level = "s" lto = "fat" [profile.release-small.package."*"] opt-level = "s" strip = true [profile.release-wasm] inherits = "release-small" panic = "abort" [profile.release-wasm.package."*"] opt-level = "s" strip = true