[package]
edition = "2024"
name = "markbase"
version = "0.9.5"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance CLI tool for indexing and querying Markdown files for AI agent. Obsidian-compatible."
readme = "README.md"
license = "MIT"
repository = "https://github.com/flyisland/markbase"
[lib]
name = "markbase"
path = "src/lib.rs"
[[bin]]
name = "markbase"
path = "src/main.rs"
[[test]]
name = "cli_docsify"
path = "tests/cli_docsify.rs"
[[test]]
name = "cli_incremental"
path = "tests/cli_incremental.rs"
[[test]]
name = "cli_index"
path = "tests/cli_index.rs"
[[test]]
name = "cli_note"
path = "tests/cli_note.rs"
[[test]]
name = "cli_query"
path = "tests/cli_query.rs"
[[test]]
name = "cli_web"
path = "tests/cli_web.rs"
[[test]]
name = "common"
path = "tests/common.rs"
[[test]]
name = "e2e_complete"
path = "tests/e2e_complete.rs"
[dependencies.chrono]
version = "0.4"
[dependencies.clap]
version = "4.5"
features = [
"derive",
"env",
]
[dependencies.duckdb]
version = "1.4"
features = [
"bundled",
"chrono",
]
[dependencies.gray_matter]
version = "0.3"
[dependencies.ignore]
version = "0.4.25"
[dependencies.regex]
version = "1.10"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.walkdir]
version = "2.5"
[dev-dependencies.regex]
version = "1.10"
[dev-dependencies.tempfile]
version = "3.10"
[build-dependencies.chrono]
version = "0.4"
[profile.release]
opt-level = 2
strip = true