# 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.1"
name = "fast-robots"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A zero-copy robots.txt parser with SIMD-accelerated byte scanning."
documentation = "https://docs.rs/fast-robots"
readme = "README.md"
keywords = [
    "robots",
    "robots-txt",
    "parser",
    "simd",
    "crawler",
]
categories = [
    "parser-implementations",
    "command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/zeon256/fast-robots"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["extensions"]
extensions = []

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

[[bin]]
name = "fast-robots"
path = "src/main.rs"

[[example]]
name = "profile"
path = "examples/profile.rs"

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

[dependencies.argh]
version = "0.1.19"

[dependencies.memchr]
version = "2.8.0"

[dependencies.thiserror]
version = "2.0.17"

[dev-dependencies.criterion]
version = "0.7.0"

[dev-dependencies.mimalloc]
version = "0.1.48"

[dev-dependencies.robotstxt]
version = "0.3.0"

[profile.bench]
debug = 2
inherits = "release"
strip = "none"

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