[package]
edition = "2024"
rust-version = "1.85"
name = "netcode-official"
version = "1.0.0"
authors = ["Más Bandwidth LLC"]
build = false
exclude = [
".github/",
"fuzz/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The official Rust implementation of the netcode network protocol"
documentation = "https://docs.rs/netcode-official"
readme = "README.md"
keywords = [
"gamedev",
"networking",
"udp",
"protocol",
"netcode",
]
categories = [
"game-development",
"network-programming",
]
license = "BSD-3-Clause"
repository = "https://github.com/mas-bandwidth/netcode.rs"
[lib]
name = "netcode"
path = "src/lib.rs"
[[example]]
name = "client"
path = "examples/client.rs"
[[example]]
name = "client_server"
path = "examples/client_server.rs"
[[example]]
name = "server"
path = "examples/server.rs"
[[test]]
name = "c_interop"
path = "tests/c_interop.rs"
[[test]]
name = "client_server"
path = "tests/client_server.rs"
[dependencies.chacha20poly1305]
version = "0.11"
[dependencies.getrandom]
version = "0.4"
[dependencies.log]
version = "0.4"
[dependencies.socket2]
version = "0.6"
[dev-dependencies.env_logger]
version = "0.11"
[lints.rust]
missing_docs = "warn"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]