[package]
edition = "2021"
rust-version = "1.92"
name = "netbat"
version = "0.8.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Thin sync-first server/network boundary exposure layer for syncbat."
homepage = "https://github.com/heyoub/batpak"
documentation = "https://docs.rs/netbat"
readme = "README.md"
keywords = [
"event-sourcing",
"network",
"sync",
"server",
]
categories = ["network-programming"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/heyoub/batpak"
[features]
default = []
[lib]
name = "netbat"
path = "src/lib.rs"
[[test]]
name = "boundary"
path = "tests/boundary.rs"
[[test]]
name = "property"
path = "tests/property.rs"
[[test]]
name = "route_validation"
path = "tests/route_validation.rs"
[[test]]
name = "tcp_transport"
path = "tests/tcp_transport.rs"
[[bench]]
name = "boundary"
path = "benches/boundary.rs"
harness = false
[dependencies.syncbat]
version = "0.8.2"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
assertions_on_constants = "deny"
cast_possible_truncation = "deny"
cast_sign_loss = "deny"
clone_on_ref_ptr = "warn"
dbg_macro = "deny"
disallowed_methods = "deny"
large_enum_variant = "warn"
missing_errors_doc = "warn"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "warn"
needless_return = "deny"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
wildcard_enum_match_arm = "warn"
[lints.rust]
deprecated = "deny"