[package]
edition = "2021"
rust-version = "1.90.0"
name = "bitfold-peer"
version = "0.1.5"
authors = ["Russell Wong"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Peer state machine for the Bitfold networking library"
homepage = "https://github.com/russellwmy/bitfold"
readme = false
license = "MIT"
repository = "https://github.com/russellwmy/bitfold"
[lib]
name = "bitfold_peer"
path = "src/lib.rs"
[dependencies.bitfold-core]
version = "0.1.5"
[dependencies.bitfold-protocol]
version = "0.1.5"
[dependencies.rand]
version = "0.9.2"
[dependencies.tracing]
version = "0.1.43"
[lints.clippy]
clone_on_copy = "deny"
derivable_impls = "deny"
len_zero = "deny"
or_fun_call = "deny"
redundant_clone = "deny"
single_char_pattern = "allow"
unnecessary_lazy_evaluations = "deny"
[lints.clippy.all]
level = "allow"
priority = -100
[lints.clippy.correctness]
level = "deny"
priority = -50
[lints.clippy.perf]
level = "deny"
priority = -50
[lints.clippy.suspicious]
level = "deny"
priority = -50
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = ["cfg(enable_const_type_id)"]