on 505ff10 help sign in
bat/Cargo.toml
87 lines 2.1 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"
8repository = "https://github.com/sharkdp/bat"
9version = "0.17.1"
10exclude = [
11 "assets/syntaxes/*",
12 "assets/themes/*",
14build = "build.rs"
15edition = '2018'
17[features]
18default = ["application"]
19# Feature required for bat the application. Should be disabled when depending on
20# bat as a library.
21application = [
22 "atty",
23 "clap",
24 "dirs",
25 "git",
26 "lazy_static",
27 "paging",
28 "wild",
29 "regex-onig",
31git = ["git2"] # Support indicating git modifications
32paging = ["shell-words"] # Support applying a pager on the output
33regex-onig = ["syntect/regex-onig"] # Use the "oniguruma" regex engine
34regex-fancy = ["syntect/regex-fancy"] # Use the rust-only "fancy-regex" engine
36[dependencies]
37atty = { version = "0.2.14", optional = true }
38ansi_term = "^0.12.1"
39ansi_colours = "^1.0"
40console = "0.14.0"
41dirs = { version = "3.0", optional = true }
42lazy_static = { version = "1.4", optional = true }
43wild = { version = "2.0", optional = true }
44content_inspector = "0.2.4"
45encoding = "0.2"
46shell-words = { version = "1.0.0", optional = true }
47unicode-width = "0.1.8"
48globset = "0.4"
49serde = { version = "1.0", features = ["derive"] }
50serde_yaml = "0.8"
51semver = "0.11"
52path_abs = { version = "0.5", default-features = false }
53clircle = "0.2.0"
54bugreport = "0.3"
56[dependencies.git2]
57version = "0.13"
58optional = true
59default-features = false
61[dependencies.syntect]
62version = "4.5.0"
63default-features = false
64features = ["parsing", "yaml-load", "dump-load", "dump-create"]
66[dependencies.clap]
67version = "2.33"
68optional = true
69default-features = false
70features = ["suggestions", "color", "wrap_help"]
72[dependencies.error-chain]
73version = "0.12"
74default-features = false
76[dev-dependencies]
77tempdir = "0.3"
78assert_cmd = "1.0.2"
79predicates = "1.0.6"
80wait-timeout = "0.2.0"
82[build-dependencies]
83clap = { version = "2.33", optional = true }
85[profile.release]
86lto = true
87codegen-units = 1