mirror of
https://github.com/sharkdp/bat
synced 2026-07-20 16:33:20 +00:00
Make 'build-assets' an optional capability for application
Also structure features a bit more clever to avoid duplication of feature dependency declarations.
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ use std::io::Write;
|
||||
|
||||
error_chain! {
|
||||
foreign_links {
|
||||
Clap(::clap::Error) #[cfg(feature = "application")];
|
||||
Clap(::clap::Error) #[cfg(feature = "minimal-application")];
|
||||
Io(::std::io::Error);
|
||||
SyntectError(::syntect::LoadingError);
|
||||
ParseIntError(::std::num::ParseIntError);
|
||||
|
||||
Reference in New Issue
Block a user