# 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_octopus" version = "0.3.0" authors = ["ZoOL "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "ECS based networking library for Bevy" homepage = "https://github.com/foxzool/bevy_octopus" documentation = "https://docs.rs/bevy_octopus" readme = "README.md" keywords = [ "bevy", "networking", "ecs", ] categories = [ "game-development", "network-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/foxzool/bevy_octopus" [profile.release] opt-level = "z" lto = true codegen-units = 1 panic = "abort" strip = true [lib] name = "bevy_octopus" path = "src/lib.rs" [[example]] name = "tcp_client" path = "examples/tcp/client.rs" required-features = [ "serde_json", "bincode", ] [[example]] name = "tcp_server" path = "examples/tcp/server.rs" required-features = [ "serde_json", "bincode", ] [[example]] name = "udp-complex" path = "examples/udp/udp_complex.rs" required-features = [ "serde_json", "bincode", ] [[example]] name = "udp_client" path = "examples/udp/client.rs" required-features = [ "serde_json", "bincode", ] [[example]] name = "udp_client_raw" path = "examples/udp/client_raw.rs" [[example]] name = "udp_server" path = "examples/udp/server.rs" required-features = [ "serde_json", "bincode", ] [dependencies.anyhow] version = "1.0.42" [dependencies.async-std] version = "1.10.0" [dependencies.bevy] version = "0.14.0" features = [] default-features = false [dependencies.bevy-inspector-egui] version = "0.25.0" optional = true [dependencies.bincode] version = "1.3.3" optional = true [dependencies.bytes] version = "1.6.0" [dependencies.futures] version = "0.3.30" [dependencies.kanal] version = "0.1.0-pre8" [dependencies.serde] version = "1.0.198" features = ["derive"] [dependencies.serde_json] version = "1.0.68" optional = true [dependencies.thiserror] version = "1.0.59" [dependencies.url] version = "2.5.1" [dev-dependencies.bevy] version = "0.14.0" features = [ "bevy_asset", "bevy_audio", "vorbis", "bevy_winit", "bevy_render", "bevy_sprite", "bevy_ui", "bevy_text", "bevy_core_pipeline", "multi_threaded", "x11", ] default-features = false [features] default = [] inspect = ["bevy-inspector-egui"]