diff options
author | Martin Nordholts <enselic@gmail.com> | 2021-08-08 06:12:45 +0200 |
---|---|---|
committer | Martin Nordholts <enselic@gmail.com> | 2021-08-08 11:18:26 +0200 |
commit | c83e382eac32edfba49fefefc0eacd4d41445dff (patch) | |
tree | 6a34dcfc695fd6b3cb3ce70314cf620671dbcc44 | |
parent | f6975e2acdb10a7c60a7668fbb8b3b43af1c0309 (diff) |
Cargo.toml: Only build bugreport with the app
-rw-r--r-- | Cargo.toml | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -17,13 +17,14 @@ default = ["application"] # bat as a library. application = [ "atty", + "bugreport", "clap", "dirs-next", "git", "lazy_static", "paging", - "wild", "regex-onig", + "wild", ] git = ["git2"] # Support indicating git modifications paging = ["shell-words"] # Support applying a pager on the output @@ -50,7 +51,7 @@ serde_yaml = "0.8" semver = "1.0" path_abs = { version = "0.5", default-features = false } clircle = "0.3" -bugreport = "0.4" +bugreport = { version = "0.4", optional = true } dirs-next = { version = "2.0.0", optional = true } grep-cli = "0.1.6" |