[package]
edition = "2021"
rust-version = "1.95"
name = "net_backend_protocol"
version = "0.1.0"
build = false
exclude = [
"NOTES.md",
"docs/",
"/target",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared message types for net_backend_server: plain Rust + serde, usable from any Rust client."
homepage = "https://net-backend.com"
readme = "README.md"
keywords = [
"gamedev",
"protocol",
"serde",
"websocket",
"backend",
]
categories = [
"game-development",
"network-programming",
"encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/warmar94/net_backend"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
bevy_net_backend = ["dep:bevy_net_backend"]
default = []
[lib]
name = "net_backend_protocol"
path = "src/lib.rs"
[[example]]
name = "print_frames"
path = "examples/print_frames.rs"
[[test]]
name = "client_compat"
path = "tests/client_compat.rs"
required-features = ["bevy_net_backend"]
[[test]]
name = "forward_compat"
path = "tests/forward_compat.rs"
[[test]]
name = "golden"
path = "tests/golden.rs"
[[test]]
name = "http_calls"
path = "tests/http_calls.rs"
[[test]]
name = "redaction"
path = "tests/redaction.rs"
[[test]]
name = "round_trip"
path = "tests/round_trip.rs"
[[test]]
name = "validation"
path = "tests/validation.rs"
[dependencies.bevy_net_backend]
version = "0.1.0"
features = [
"ws",
"json",
]
optional = true
default-features = false
[dependencies.serde]
version = "1.0.219"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.140"