bevy_replicon 0.40.0

A server-authoritative replication crate for Bevy
Documentation
# 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"
name = "bevy_replicon"
version = "0.40.0"
authors = [
    "Hennadii Chernyshchyk <genaloner@gmail.com>",
    "koe <ukoe@protonmail.com>",
]
build = false
include = [
    "/src",
    "/LICENSE*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A server-authoritative replication crate for Bevy"
readme = "README.md"
keywords = [
    "bevy",
    "multiplayer",
    "netcode",
    "replication",
    "server-authoritative",
]
categories = [
    "game-development",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/simgine/bevy_replicon"

[package.metadata.docs.rs]
rustdoc-args = [
    "-Zunstable-options",
    "--cfg",
    "docsrs",
]
all-features = true

[features]
client = []
client_diagnostics = ["client"]
default = [
    "scene",
    "client",
    "server",
]
scene = ["bevy/bevy_scene"]
server = []

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

[dependencies.bevy]
version = "0.18"
features = ["bevy_state"]
default-features = false

[dependencies.bitflags]
version = "2.6"
features = ["serde"]

[dependencies.bumpalo]
version = "3.20"

[dependencies.bytes]
version = "1.10"
default-features = false

[dependencies.deterministic-hash]
version = "1.0.2"

[dependencies.log]
version = "0.4"

[dependencies.petgraph]
version = "0.8"
features = ["stable_graph"]
default-features = false

[dependencies.postcard]
version = "1.1"
features = ["experimental-derive"]
default-features = false

[dependencies.serde]
version = "1.0"
default-features = false

[dependencies.smallbitvec]
version = "2.6"

[dependencies.typeid]
version = "1.0"

[dependencies.variadics_please]
version = "2.0"

[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]

[dev-dependencies.bevy]
version = "0.18"
features = [
    "debug",
    "serialize",
]
default-features = false

[dev-dependencies.ron]
version = "0.12"
default-features = false

[dev-dependencies.test-log]
version = "0.2"

[target.'cfg(not(all(target_has_atomic = "8", target_has_atomic = "16", target_has_atomic = "32", target_has_atomic = "64", target_has_atomic = "ptr")))'.dependencies.bytes]
version = "1.10"
features = ["extra-platforms"]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.bevy]
version = "0.18"
features = [
    "bevy_log",
    "bevy_sprite_render",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
version = "0.8"
features = ["cargo_bench_support"]
default-features = false

[lints.clippy]
alloc_instead_of_core = "warn"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"
too_many_arguments = "allow"
type_complexity = "allow"