# 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 = "2024"
rust-version = "1.85"
name = "ecson"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ECS-driven stateful bidirectional server framework for Rust"
readme = "README.md"
keywords = [
    "gameserver",
    "ecs",
    "websocket",
    "realtime",
    "webtransport",
]
categories = [
    "network-programming",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/hino-rs/ecson"
resolver = "2"

[lib]
name = "ecson"
path = "src/lib.rs"

[[example]]
name = "broadcast_chat"
path = "examples/broadcast_chat.rs"

[[example]]
name = "echo"
path = "examples/echo.rs"

[[example]]
name = "room_chat"
path = "examples/room_chat.rs"

[[example]]
name = "spatial_2d"
path = "examples/spatial_2d.rs"

[[example]]
name = "test"
path = "examples/test.rs"

[dependencies.bevy_ecs]
version = "0.18.1"

[dependencies.ecson_core]
version = "0.1.0"

[dependencies.ecson_ecs]
version = "0.1.0"

[dependencies.ecson_network]
version = "0.1.0"

[dev-dependencies.tracing]
version = "0.1.44"

[dev-dependencies.tracing-subscriber]
version = "0.3.23"
