[package]
edition = "2024"
rust-version = "1.85"
name = "iscrawl"
version = "1.0.0"
authors = ["tn3w <tn3w@protonmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tiny, allocation-free crawler/bot detection from User-Agent strings. Sub-140ns per call."
homepage = "https://github.com/tn3w/iscrawl"
documentation = "https://docs.rs/iscrawl"
readme = "README.md"
keywords = [
"crawler",
"bot",
"user-agent",
"detection",
"spider",
]
categories = [
"web-programming",
"parser-implementations",
"no-std",
]
license = "Apache-2.0"
repository = "https://github.com/tn3w/iscrawl"
[package.metadata.funding]
buy_me_a_coffee = "tn3w"
url = "https://www.buymeacoffee.com/tn3w"
[lib]
name = "iscrawl"
path = "src/lib.rs"
[[test]]
name = "browsers"
path = "tests/browsers.rs"
[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"
[[test]]
name = "fixtures_browsers"
path = "tests/fixtures_browsers.rs"
[[test]]
name = "fixtures_crawlers"
path = "tests/fixtures_crawlers.rs"
[[test]]
name = "keywords"
path = "tests/keywords.rs"
[[test]]
name = "mozilla_rule"
path = "tests/mozilla_rule.rs"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"