README.md
Rendering markdown...
[package]
name = "id-validation-poc"
version = "0.1.0"
authors = ["Cole Leavitt <[email protected]>"]
edition = "2021" # Using 2021 instead of 2024 as 2024 isn't stable yet
description = "Security research tool demonstrating PDF417 barcode validation vulnerabilities"
readme = "README.md"
license-file = "LICENSE.md"
keywords = ["security", "research", "pdf417", "vulnerability", "barcode"]
categories = ["command-line-utilities", "authentication"]
publish = false # Prevent accidental publishing to crates.io
[badges]
maintenance = { status = "experimental" }
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true # Strip symbols from binary
[profile.dev]
opt-level = 0
debug = true
[dependencies]
# Encoding/decoding
base64 = "0.22.1"
pdf417 = "0.2.1"
image = "0.25.5"
# Error handling
thiserror = "2.0.9"
# Serialization
serde = { version = "1.0.216", features = ["derive"] }
serde_json = "1.0.134"
# Performance optimizations
memchr = "2.7.4"
# Code generation
derive_builder = "0.20.2"
# CLI interface
clap = { version = "4.5.32", features = ["derive", "cargo", "wrap_help"] }
[features]
default = ["all-states"]
all-states = ["california", "georgia", "new-jersey", "south-carolina", "texas", "florida"]
california = []
georgia = []
new-jersey = []
south-carolina = []
texas = []
florida = []
[[bin]]
name = "id-validation-poc"
path = "src/main.rs"
# Don't include test resources and documentation in the published crate
[package.metadata]
exclude = [
"/.github/",
"/scan_proof/",
"/scripts/",
"*.patch",
]
# Lint configuration - good practice for security code
[lints.rust]
unsafe_code = "forbid"
missing_docs = "warn"
[lints.clippy]
pedantic = "warn"