# 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 = "nbv"
version = "0.6.0"
build = false
exclude = [
    "/docs",
    "/tests",
    "/assets",
    "/.github",
    "/rust-toolchain.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast terminal-native Jupyter notebook viewer"
readme = "README.md"
license = "MIT"
repository = "https://github.com/phd1000x-ux/nbv"

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

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

[dependencies.base64]
version = "0.22"

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

[dependencies.clap_complete]
version = "4"

[dependencies.clap_mangen]
version = "0.3"
features = ["env"]

[dependencies.crossterm]
version = "0.29"

[dependencies.pulldown-cmark]
version = "0.10"
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.signal-hook]
version = "0.4"

[dependencies.syntect]
version = "5.3"
features = [
    "parsing",
    "default-syntaxes",
    "default-themes",
    "html",
    "yaml-load",
    "dump-load",
    "dump-create",
    "regex-fancy",
]
default-features = false

[dependencies.unicode-width]
version = "0.2"

[dev-dependencies]

[profile.release]
lto = "fat"
codegen-units = 1
strip = true
