2018-04-21 12:51:43 +02:00
|
|
|
[package]
|
|
|
|
authors = ["David Peter <mail@david-peter.de>"]
|
|
|
|
categories = ["command-line-utilities"]
|
2018-04-22 13:45:40 +02:00
|
|
|
description="A cat(1) clone with wings."
|
2018-04-21 12:51:43 +02:00
|
|
|
homepage = "https://github.com/sharkdp/bat"
|
|
|
|
license = "MIT/Apache-2.0"
|
|
|
|
name = "bat"
|
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://github.com/sharkdp/bat"
|
2018-05-08 23:49:07 +02:00
|
|
|
version = "0.3.0"
|
2018-04-21 12:51:43 +02:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
atty = "0.2.2"
|
2018-05-08 23:49:07 +02:00
|
|
|
ansi_term = "0.10"
|
2018-04-21 12:51:43 +02:00
|
|
|
console = "0.6"
|
Make `--style` parameter more flexible
The `--style` parameter now accepts a comma-separated list of strings,
where every element defines either a single output component (`changes`,
`grid`, `header`, `numbers`) or a predefined style (`full`,
`line-numbers`, `plain`).
If available, bat picks the first predefined style in the user-supplied
style-list and ignores everything else. If no predefined style was
requested, the other parameters that are simple output components will
be used.
Examples:
--style changes,full,numbers
Will internally be reduced to only the predefined style `full`.
--style plain,full
Will internally be reduced to only the predefined style `plain`.
--style changes,numbers
Will not be reduced, because the list does not contain any predefined
styles.
(Note: if `grid` is requested but no other parameters, bat still creates
the left-most column with a width of `PANEL_WIDTH`. I didn't want to
introduce further logic in this PR that drops or adapts the width of the
left column.)
2018-05-06 20:15:46 +02:00
|
|
|
either = "1.4"
|
2018-04-30 11:09:24 +02:00
|
|
|
error-chain = "0.11"
|
2018-05-08 23:49:07 +02:00
|
|
|
directories = "0.10"
|
2018-04-30 15:08:04 +02:00
|
|
|
lazy_static = "1.0"
|
2018-04-21 12:51:43 +02:00
|
|
|
|
2018-05-02 20:01:43 +02:00
|
|
|
[dependencies.git2]
|
2018-05-08 23:49:07 +02:00
|
|
|
version = "0.7"
|
2018-05-02 20:01:43 +02:00
|
|
|
default-features = false
|
|
|
|
features = []
|
|
|
|
|
2018-04-30 13:01:29 +02:00
|
|
|
[dependencies.syntect]
|
|
|
|
version = "2"
|
|
|
|
default-features = false
|
2018-04-30 15:20:00 +02:00
|
|
|
features = ["parsing", "yaml-load", "dump-load", "dump-create"]
|
2018-04-30 13:01:29 +02:00
|
|
|
|
2018-04-21 12:51:43 +02:00
|
|
|
[dependencies.clap]
|
|
|
|
version = "2"
|
|
|
|
default-features = false
|
|
|
|
features = ["suggestions", "color", "wrap_help"]
|