on master help sign in
Cargo.toml: Only build bugreport with the app
commitc83e382eac32edfba49fefefc0eacd4d41445dff authorMartin Nordholts <enselic@gmail.com> dateSun 8 Aug 2021, 06:12 (5 years ago) parentf6975e2
1 file changed+3−2
Cargo.toml+3−2
Cargo.toml+3−2
@@ -17,13 +17,14 @@ default = ["application"]
1717# bat as a library.
1818application = [
1919 "atty",
20+ "bugreport",
2021 "clap",
2122 "dirs-next",
2223 "git",
2324 "lazy_static",
2425 "paging",
25− "wild",
2626 "regex-onig",
27+ "wild",
2728]
2829git = ["git2"] # Support indicating git modifications
2930paging = ["shell-words"] # Support applying a pager on the output
@@ -50,7 +51,7 @@ serde_yaml = "0.8"
5051semver = "1.0"
5152path_abs = { version = "0.5", default-features = false }
5253clircle = "0.3"
53−bugreport = "0.4"
54+bugreport = { version = "0.4", optional = true }
5455dirs-next = { version = "2.0.0", optional = true }
5556grep-cli = "0.1.6"
5657