Lints are declared once under [workspace.lints] and every crate opts in: clippy's default set, plus dbg!, todo! and unimplemented!, and unsafe code is forbidden. Every crate now inherits its version, licence, authors and repository from the workspace, so they no longer disagree (four were at 0.0.0). The poptrie module is unfinished and unused; it says so and expects the dead-code lint instead of warning on every build. Its construction method is renamed from new, which took &mut self, to build. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
23 lines
492 B
TOML
23 lines
492 B
TOML
[package]
|
|
name = "bgp-primitives"
|
|
description = "Primitive types for working with routing information"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
homepage.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
version.workspace = true
|
|
|
|
[dependencies]
|
|
bitfield.workspace = true
|
|
bytes.workspace = true
|
|
eyre.workspace = true
|
|
nom.workspace = true
|
|
serde.workspace = true
|
|
serde_repr.workspace = true
|
|
thiserror.workspace = true
|
|
strum.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|