on 47a3721 help sign in
bat/Cargo.toml
82 lines 2.0 kB history raw
1[package]
2authors = ["David Peter <mail@david-peter.de>"]
3categories = ["command-line-utilities"]
4description="A cat(1) clone with wings."
5homepage = "https://github.com/sharkdp/bat"
6license = "MIT/Apache-2.0"
7name = "bat"
8readme = "README.md"
9repository = "https://github.com/sharkdp/bat"
10version = "0.13.0"
11exclude = [
12 "assets/syntaxes/*",
13 "assets/themes/*",
15build = "build.rs"
16edition = '2018'
18[features]
19default = ["application"]
20# Feature required for bat the application. Should be disabled when depending on
21# bat as a library.
22application = [
23 "atty",
24 "clap",
25 "dirs",
26 "git",
27 "lazy_static",
28 "liquid",
29 "paging",
30 "wild",
31 "regex-onig",
33git = ["git2"] # Support indicating git modifications
34paging = ["shell-words"] # Support applying a pager on the output
35regex-onig = ["syntect/regex-onig"] # Use the "oniguruma" regex engine
36regex-fancy = ["syntect/regex-fancy"] # Use the rust-only "fancy-regex" engine
38[dependencies]
39atty = { version = "0.2.14", optional = true }
40ansi_term = "^0.12.1"
41ansi_colours = "^1.0"
42console = "0.10"
43dirs = { version = "2.0", optional = true }
44lazy_static = { version = "1.4", optional = true }
45wild = { version = "2.0", optional = true }
46content_inspector = "0.2.4"
47encoding = "0.2"
48shell-words = { version = "0.1.0", optional = true }
49unicode-width = "0.1.7"
50globset = "0.4"
52[dependencies.git2]
53version = "0.13"
54optional = true
55default-features = false
57[dependencies.syntect]
58version = "4.1.0"
59default-features = false
60features = ["parsing", "yaml-load", "dump-load", "dump-create"]
62[dependencies.clap]
63version = "2.33"
64optional = true
65default-features = false
66features = ["suggestions", "color", "wrap_help"]
68[dependencies.error-chain]
69version = "0.12"
70default-features = false
72[dev-dependencies]
73tempdir = "0.3"
74assert_cmd = "1.0.1"
76[build-dependencies]
77clap = { version = "2.33", optional = true }
78liquid = { version = "0.20", optional = true }
79lazy_static = { version = "1.4", optional = true }
81[profile.release]
82lto = true