ecb3d40c59
This patch replaces the crossterm dependency with ansi_term, atty and terminal_size. This allows us for an easier integration with the text_style crate in an upcoming patch, and it reduces the total number of dependencies from 166 to 160. This means that we drop support for non-ANSI terminals, but as this only affects old versions of cmd.exe/PowerShell, we don’t care about it.
57 lines
1.3 KiB
TOML
57 lines
1.3 KiB
TOML
# SPDX-FileCopyrightText: 2020 Robin Krahl <robin.krahl@ireas.org>
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
[package]
|
|
name = "rusty-man"
|
|
version = "0.3.0"
|
|
authors = ["Robin Krahl <robin.krahl@ireas.org>"]
|
|
edition = "2018"
|
|
description = "Command-line viewer for rustdoc documentation"
|
|
homepage = "https://sr.ht/~ireas/rusty-man"
|
|
repository = "https://git.sr.ht/~ireas/rusty-man"
|
|
keywords = ["doc", "cli", "rustdoc"]
|
|
categories = ["command-line-utilities", "development-tools"]
|
|
readme = "README.md"
|
|
license = "MIT"
|
|
exclude = [".builds/*", "tests/html/*", "tests/snapshots/*"]
|
|
|
|
[dependencies]
|
|
ansi_term = "0.12.1"
|
|
anyhow = "1.0.31"
|
|
atty = "0.2.14"
|
|
html2text = "0.1.12"
|
|
kuchiki = "0.8.0"
|
|
log = "0.4.11"
|
|
markup5ever = "0.10.0"
|
|
merge = "0.1.0"
|
|
pager = "0.15.0"
|
|
serde_json = "1.0.56"
|
|
serde_tuple = "0.5.0"
|
|
terminal_size = "0.1.13"
|
|
toml = "0.5.6"
|
|
xdg = "2.2.0"
|
|
|
|
[dependencies.env_logger]
|
|
version = "0.7.1"
|
|
default-features = false
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.114"
|
|
features = ["derive"]
|
|
|
|
[dependencies.structopt]
|
|
version = "0.3.15"
|
|
default-features = false
|
|
|
|
[dependencies.syntect]
|
|
version = "4.3.0"
|
|
default-features = false
|
|
features = ["parsing", "regex-onig", "assets", "dump-load"]
|
|
|
|
[dev-dependencies]
|
|
assert_cmd = "1.0.1"
|
|
insta = "0.16.1"
|
|
rustc_version = "0.2.3"
|
|
semver = "0.9.0"
|
|
tempfile = "3.1.0"
|