netbat 0.9.0

Thin sync-first server/network boundary exposure layer for syncbat.
# 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 = "2021"
rust-version = "1.92"
name = "netbat"
version = "0.9.0"
build = false
exclude = ["tests/"]
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/freebatteryfactory/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/freebatteryfactory/batpak"

[features]
default = []
tls = ["dep:rustls"]

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

[[bench]]
name = "boundary"
path = "benches/boundary.rs"
harness = false

[dependencies.flume]
version = "0.12"

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
    "tls12",
    "logging",
]
optional = true
default-features = false

[dependencies.syncbat]
version = "0.9.0"

[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"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(gauntlet_red_fixture)"]