iscrawl 1.2.0

Fast crawler/bot detection from User-Agent strings.
Documentation
# 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.85"
name = "iscrawl"
version = "1.2.0"
authors = ["tn3w <tn3w@protonmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast crawler/bot detection from User-Agent strings."
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",
]
license = "Apache-2.0"
repository = "https://github.com/tn3w/iscrawl"

[package.metadata.funding]
buy_me_a_coffee = "tn3w"
url = "https://www.buymeacoffee.com/tn3w"

[features]
database = [
    "dep:aho-corasick",
    "dep:regex",
    "dep:serde",
    "dep:serde_json",
]
default = []

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

[[test]]
name = "browsers"
path = "tests/browsers.rs"

[[test]]
name = "cache"
path = "tests/cache.rs"

[[test]]
name = "database"
path = "tests/database.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"

[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false

[[bench]]
name = "database"
path = "benches/database.rs"
harness = false

[dependencies.aho-corasick]
version = "1.1"
optional = true

[dependencies.regex]
version = "1.12"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"