delta/Cargo.toml
nickelc 12fd54e7a8
Downgrade and pin the bytelines crate (#1378)
The versions 2.3+ added support for Tokio's `AsyncBufRead` trait and
futures' `Stream` trait without making the new dependencies optional.

 By downgrading `bytelines`, the compilation time can be reduced.

```
$ cargo up -p bytelines --precise 2.2.2
    Updating bytelines v2.4.0 -> v2.2.2
    Removing bytes v1.4.0
    Removing futures v0.3.26
    Removing futures-channel v0.3.26
    Removing futures-core v0.3.26
    Removing futures-executor v0.3.26
    Removing futures-io v0.3.26
    Removing futures-macro v0.3.26
    Removing futures-sink v0.3.26
    Removing futures-task v0.3.26
    Removing futures-util v0.3.26
    Removing pin-project-lite v0.2.9
    Removing pin-utils v0.1.0
    Removing slab v0.4.8
    Removing tokio v1.26.0
```
2023-04-26 11:04:15 -04:00

65 lines
1.6 KiB
TOML

[package]
name = "git-delta"
authors = ["Dan Davison <dandavison7@gmail.com>"]
categories = ["command-line-utilities", "development-tools"]
description = "A syntax-highlighting pager for git"
documentation = "https://github.com/dandavison/delta"
edition = "2018"
homepage = "https://github.com/dandavison/delta"
license = "MIT"
repository = "https://github.com/dandavison/delta"
version = "0.15.1"
[[bin]]
name = "delta"
path = "src/main.rs"
[dependencies]
bat = { version = "0.22.1", default-features = false, features = ["regex-onig"] }
chrono = "0.4.23"
chrono-humanize = "0.2.2"
ansi_colours = "1.2.1"
ansi_term = "0.12.1"
atty = "0.2.14"
bitflags = "2.2.1"
box_drawing = "0.1.2"
bytelines = "=2.2.2" # Pin version until its tokio and futures dependencies are optional.
clap = { version = "4.1.8", features = ["derive", "help", "usage", "error-context", "wrap_help"] }
console = "0.15.0"
ctrlc = "3.2.5"
dirs = "4.0.0"
grep-cli = "0.1.7"
itertools = "0.10.5"
lazy_static = "1.4"
palette = "0.6.1"
pathdiff = "0.2.1"
regex = "1.7.1"
serde = { version = "1.0.152", features = ["derive"] }
serde_json = "1.0.93"
shell-words = "1.0.0"
smol_str = "0.1.24"
syntect = "5.0.0"
unicode-segmentation = "1.10.1"
unicode-width = "0.1.10"
vte = "0.11.0"
xdg = "2.4.1"
[dependencies.git2]
version = "0.16.1"
default-features = false
features = []
[dependencies.sysinfo]
version = "0.28.2"
# no default features to disable the use of threads
default-features = false
features = []
[dependencies.error-chain]
version = "0.12.4"
default-features = false
features = []
[profile.test]
opt-level = 2