[package]
name = "purl_validator"
version = "1.16.12"
edition = "2024"
authors = ["Keshav Priyadarshi <git@keshav.space>", "AboutCode <info@aboutcode.org>"]
license = "Apache-2.0"

description = "Offline PackageURL validator using a prebuilt FST of known packages."
readme = "README.md"
documentation = "https://docs.rs/purl_validator"

repository = "https://github.com/aboutcode-org/purl-validator.rs"
keywords = ["packageurl", "package", "purl", "sbom-tool"]
categories = ["development-tools", "security" ]

include = [
    "src/**",
    "Cargo.toml",
    "build.rs",
    "README.md",
    "CHANGELOG.md",
    "LICENSE"
]

[dependencies]
fst = "0.4.7"
packageurl = "0.6.0"
once_cell = "1.21"

[build-dependencies]
reqwest = { version = "0.11", features = ["blocking"] }

[[bin]]
name = "fst_builder"
path = "fst_builder/main.rs"
