# 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 = "okq"
version = "0.3.0"
authors = ["Mike Valstar <mike@valstar.dev>"]
build = false
exclude = [
    "/docs/tests",
    "/tests",
    "/CLAUDE.md",
    "/.github",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast, deterministic CLI for searching and navigating Open Knowledge Format (OKF) document bundles — for humans and AI agents."
homepage = "https://github.com/mikevalstar/okq"
readme = "README.md"
keywords = [
    "okf",
    "knowledge",
    "search",
    "markdown",
    "cli",
]
categories = [
    "command-line-utilities",
    "text-processing",
]
license = "Apache-2.0"
repository = "https://github.com/mikevalstar/okq"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }{ archive-suffix }"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tgz"

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"

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

[[bin]]
name = "okq"
path = "src/main.rs"

[dependencies.anstream]
version = "1.0.0"

[dependencies.anstyle]
version = "1.0.14"

[dependencies.clap]
version = "4.6.1"
features = ["derive"]

[dependencies.dirs]
version = "6.0.0"

[dependencies.ignore]
version = "0.4.26"

[dependencies.okf]
version = "0.1.0-alpha.1"

[dependencies.pulldown-cmark]
version = "0.13.4"

[dependencies.regex]
version = "1.12.4"

[dependencies.schemars]
version = "1.2.1"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.150"

[dependencies.tantivy]
version = "0.25.0"

[dependencies.ureq]
version = "2.12.1"

[dev-dependencies.assert_cmd]
version = "2.2.2"

[dev-dependencies.insta]
version = "1.48.0"
features = ["json"]

[dev-dependencies.predicates]
version = "3.1.4"

[dev-dependencies.tempfile]
version = "3.27.0"
