# 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 = "tbr" version = "2.4.3" authors = ["zang.loo"] description = "Terminal and GUI ebook reader" homepage = "https://github.com/zangloo/tbr" readme = "README.md" keywords = [ "terminal", "gui", "ebook", "epub", ] categories = ["command-line-utilities"] license = "GPL-2.0-only" repository = "https://github.com/zangloo/tbr.git" [dependencies.ab_glyph] version = "0.2" optional = true [dependencies.anyhow] version = "1.0" [dependencies.bitflags] version = "2.5" [dependencies.chardetng] version = "0.1" [dependencies.clap] version = "4.2" features = ["derive"] [dependencies.dirs] version = "5.0" [dependencies.ego-tree] version = "0.6" [dependencies.elsa] version = "1.8" [dependencies.encoding_rs] version = "0.8" [dependencies.fancy-regex] version = "0.13" [dependencies.fluent] version = "0.16" optional = true [dependencies.fontdb] version = "0.16" optional = true [dependencies.gtk4] version = "0.8" features = ["v4_12"] optional = true [dependencies.html-escape] version = "0.2" optional = true [dependencies.indexmap] version = "2.0" [dependencies.lexical-sort] version = "0.3" [dependencies.lightningcss] version = "=1.0.0-alpha.55" [dependencies.markup5ever] version = "0.11" [dependencies.open] version = "5.0" optional = true [dependencies.ouroboros] version = "0.18" optional = true [dependencies.pangocairo] version = "0.19" optional = true [dependencies.rand] version = "0.8" optional = true [dependencies.resvg] version = "0.41" optional = true [dependencies.roxmltree] version = "0.19" [dependencies.rust-embed] version = "8.0" features = ["include-exclude"] [dependencies.scraper] version = "0.19" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_derive] version = "1.0" [dependencies.stardict] version = "0.2" optional = true [dependencies.sys-locale] version = "0.3" optional = true [dependencies.toml] version = "0.8" [dependencies.unic-langid] version = "0.9" optional = true [dependencies.unicode-width] version = "0.1" [dependencies.zip] version = "1.1.1" [build-dependencies.winres] version = "0.1" [features] default = ["gui"] dict = [ "dep:stardict", "dep:html-escape", ] gui = [ "i18n", "dict", "open", "dep:gtk4", "dep:pangocairo", "dep:ab_glyph", "dep:resvg", "dep:fontdb", "dep:ouroboros", ] i18n = [ "dep:fluent", "dep:unic-langid", "dep:sys-locale", ] open = [ "dep:rand", "dep:open", ] [target."cfg(unix)".dependencies.cursive] version = "0.20" features = ["toml"] [target."cfg(unix)".dependencies.rusqlite] version = "0.31" [target."cfg(windows)".dependencies.cursive] version = "0.20" features = [ "crossterm-backend", "toml", ] default-features = false [target."cfg(windows)".dependencies.rusqlite] version = "0.31" features = ["bundled"]