on bf87f37 help sign in
bat/Cargo.toml
85 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"
8readme = "README.md"
9repository = "https://github.com/sharkdp/bat"
10version = "0.16.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 "paging",
29 "wild",
30 "regex-onig",
32git = ["git2"] # Support indicating git modifications
33paging = ["shell-words"] # Support applying a pager on the output
34regex-onig = ["syntect/regex-onig"] # Use the "oniguruma" regex engine
35regex-fancy = ["syntect/regex-fancy"] # Use the rust-only "fancy-regex" engine
37[dependencies]
38atty = { version = "0.2.14", optional = true }
39ansi_term = "^0.12.1"
40ansi_colours = "^1.0"
41console = "0.12.0"
42dirs = { version = "3.0", optional = true }
43lazy_static = { version = "1.4", optional = true }
44wild = { version = "2.0", optional = true }
45content_inspector = "0.2.4"
46encoding = "0.2"
47shell-words = { version = "1.0.0", optional = true }
48unicode-width = "0.1.8"
49globset = "0.4"
50serde = { version = "1.0", features = ["derive"] }
51serde_yaml = "0.8"
52semver = "0.11"
53path_abs = { version = "0.5", default-features = false }
55[dependencies.git2]
56version = "0.13"
57optional = true
58default-features = false
60[dependencies.syntect]
61version = "4.4.0"
62default-features = false
63features = ["parsing", "yaml-load", "dump-load", "dump-create"]
65[dependencies.clap]
66version = "2.33"
67optional = true
68default-features = false
69features = ["suggestions", "color", "wrap_help"]
71[dependencies.error-chain]
72version = "0.12"
73default-features = false
75[dev-dependencies]
76tempdir = "0.3"
77assert_cmd = "1.0.1"
78predicates = "1.0.5"
80[build-dependencies]
81clap = { version = "2.33", optional = true }
83[profile.release]
84lto = true
85codegen-units = 1