# 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 = "sb"
version = "0.2.1"
authors = ["David Irvine <david.irvine@maidsafe.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal Markdown Browser/Editor with Vim-like features and media support"
homepage = "https://github.com/dirvine/sb"
documentation = "https://github.com/dirvine/sb"
readme = "README.md"
keywords = [
    "markdown",
    "terminal",
    "tui",
    "editor",
    "browser",
]
categories = [
    "command-line-utilities",
    "text-editors",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dirvine/sb"

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

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

[dependencies.anyhow]
version = "1"

[dependencies.crossterm]
version = "0.28"

[dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
]
default-features = false

[dependencies.notify]
version = "6"

[dependencies.once_cell]
version = "1"

[dependencies.opener]
version = "0.6"

[dependencies.pathdiff]
version = "0.2"

[dependencies.ratatui]
version = "0.29"

[dependencies.ratatui-image]
version = "8"
features = ["crossterm"]
default-features = false

[dependencies.regex]
version = "1"

[dependencies.similar]
version = "2"

[dependencies.syntect]
version = "5"
features = ["default-fancy"]
default-features = false

[dependencies.thiserror]
version = "1"

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

[dependencies.tui-markdown]
version = "0.3"

[dependencies.tui-textarea]
version = "0.7"
features = ["ratatui"]

[dependencies.tui-tree-widget]
version = "0.23"

[dependencies.walkdir]
version = "2"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.serde_json]
version = "1.0"

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

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
strip = true
