[package]
name = "b4s"
version = "0.3.3"
edition.workspace = true
rust-version = "1.64.0"
authors = ["Alex Povel <rust@alexpovel.de>"]
description = "Binary Search Single Sorted String: Perform binary search on a single, delimited string slice of sorted but unevenly sized substrings."
license = "MIT"
repository = "https://github.com/alexpovel/b4s"
readme = "README.md"
documentation = "https://docs.rs/b4s"
keywords = ["search", "string", "str", "uneven"]
categories = ["algorithms"]
include = [
    "README.md",
    "LICENSE",
    "Cargo.toml",
    "Cargo.lock",
    "src",
    # Only include this so the crate compiles; benchmarks won't be runnable because
    # required test data isn't included.
    "benches/main.rs",
]

[workspace.package]
edition = "2021"

[dependencies]
ascii = "1.1.0"
itertools = "0.11.0"

[dev-dependencies]
criterion = { version = "0.5.1", features = ["html_reports"] }
phf = { version = "0.11.1", features = ["macros"] }
rstest = "0.18.1"
trie-rs = "0.1.1"

[workspace]

members = ["fuzz"]

[[bench]]
name = "main"
harness = false
