[package]
name = "bibox"
version = "0.2.28"
edition = "2021"
description = "Terminal-based bibliography manager with three-panel TUI and AI-agent-friendly Markdown notes"
license = "MIT"
repository = "https://github.com/namil-k/bibox"
homepage = "https://github.com/namil-k/bibox"
readme = "README.md"
keywords = ["bibliography", "bibtex", "tui", "reference-manager", "academic"]
categories = ["command-line-utilities", "science"]

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

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

[features]
default = ["tui"]
tui = ["dep:ratatui", "dep:pulldown-cmark", "dep:ratatree"]

[dependencies]
clap = { version = "4", features = ["derive"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
reqwest = { version = "0.12", features = ["json", "blocking", "rustls-tls"], default-features = false }
tokio = { version = "1", features = ["full"] }
uuid = { version = "1", features = ["v4"] }
chrono = { version = "0.4", features = ["serde"] }
anyhow = "1"
dirs = "5"
toml = "0.8"
crossterm = "0.28"
ratatui = { version = "0.29", optional = true }
ratatree = { version = "0.1", optional = true }
arboard = "3"
regex = "1"
scraper = "0.22"
urlencoding = "2"
zip = "2"
pulldown-cmark = { version = "0.13.3", optional = true }
