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:
Martin Nordholts committed 2021-08-17 10:58:21 +02:00
1 parent deddc81426
commit 25fa577cd0
8 files changed
+45 -44

No files matched your search

+1 -1
View File
@@ -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);