# 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 = "2021"
name = "bibox"
version = "0.2.28"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal-based bibliography manager with three-panel TUI and AI-agent-friendly Markdown notes"
homepage = "https://github.com/namil-k/bibox"
readme = "README.md"
keywords = [
    "bibliography",
    "bibtex",
    "tui",
    "reference-manager",
    "academic",
]
categories = [
    "command-line-utilities",
    "science",
]
license = "MIT"
repository = "https://github.com/namil-k/bibox"

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.arboard]
version = "3"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

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

[dependencies.crossterm]
version = "0.28"

[dependencies.dirs]
version = "5"

[dependencies.pulldown-cmark]
version = "0.13.3"
optional = true

[dependencies.ratatree]
version = "0.1"
optional = true

[dependencies.ratatui]
version = "0.29"
optional = true

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "blocking",
    "rustls-tls",
]
default-features = false

[dependencies.scraper]
version = "0.22"

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

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.toml]
version = "0.8"

[dependencies.urlencoding]
version = "2"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dependencies.zip]
version = "2"
