# 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 = "trnovel"
version = "0.4.9"
authors = ["yexiyue <yexiyue666@qq.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "trnovel"
description = "Terminal reader for novel"
readme = "README.md"
keywords = [
    "CLI",
    "Terminal",
    "Novel",
    "Reader",
]
license = "MIT"
repository = "https://github.com/yexiyue/TRNovel"

[profile.release]
opt-level = 3
lto = true
panic = "abort"

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

[[bin]]
name = "trn"
path = "src/bin/trn.rs"

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

[dependencies.anyhow]
version = "1.0.93"

[dependencies.async-trait]
version = "0.1.83"

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

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

[dependencies.crossterm]
version = "0.28.1"
features = ["event-stream"]

[dependencies.encoding_rs]
version = "0.8.35"
features = ["serde"]

[dependencies.futures]
version = "0.3.31"

[dependencies.md5]
version = "0.7.0"

[dependencies.parse-book-source]
version = "0.1.5"

[dependencies.ratatui]
version = "0.29.0"
features = [
    "unstable",
    "serde",
]

[dependencies.regex]
version = "1.11.1"

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

[dependencies.serde_json]
version = "1.0.133"

[dependencies.thiserror]
version = "2.0.3"

[dependencies.throbber-widgets-tui]
version = "0.8.0"

[dependencies.tokio]
version = "1.41.1"
features = [
    "fs",
    "macros",
    "rt",
    "rt-multi-thread",
    "sync",
    "time",
]

[dependencies.tokio-util]
version = "0.7.12"

[dependencies.tui-big-text]
version = "0.7.0"

[dependencies.tui-scrollview]
version = "0.5.1"

[dependencies.tui-textarea]
version = "0.7.0"

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

[dependencies.tui-widget-list]
version = "0.13.0"

[dependencies.walkdir]
version = "2.5.0"
