# 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 = "2024"
rust-version = "1.94.1"
name = "geiserx_ts_bart_packetfilter"
version = "0.38.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "fast tailscale packet filter implemented using ts_bart"
readme = "README.md"
keywords = [
    "tailscale",
    "network",
    "packet",
    "filter",
    "bart",
]
categories = [
    "data-structures",
    "no-std",
    "network-programming",
]
license = "BSD-3-Clause"
repository = "https://github.com/GeiserX/tailscale-rs"

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

[dependencies.hashbrown]
version = "0.17"

[dependencies.smallvec]
version = "1.15"

[dependencies.ts_array256]
version = "0.38.0"
features = ["smallvec"]
package = "geiserx_ts_array256"

[dependencies.ts_bart]
version = "0.38.0"
package = "geiserx_ts_bart"

[dependencies.ts_bitset]
version = "0.38.0"
default-features = false
package = "geiserx_ts_bitset"

[dependencies.ts_dynbitset]
version = "0.38.0"
package = "geiserx_ts_dynbitset"

[dependencies.ts_packetfilter]
version = "0.38.0"
package = "geiserx_ts_packetfilter"

[dev-dependencies.ipnet]
version = "2.12"
default-features = false

[dev-dependencies.proptest]
version = "1"

[lints.clippy]
multiple_crate_versions = "allow"
too_many_arguments = "allow"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.rust]
closure_returning_async_block = "warn"
let-underscore = "warn"
missing_docs = "warn"

[lints.rustdoc]
bare_urls = "deny"
broken_intra_doc_links = "deny"
invalid_html_tags = "deny"
private_intra_doc_links = "deny"
