add mini-dashboard feature

This commit is contained in:
Marin Postma 2021-04-20 13:28:12 +02:00
parent da08a1f25c
commit ea5517bc8c
No known key found for this signature in database
GPG key ID: D5241F0C0C865F30
3 changed files with 41 additions and 34 deletions

View file

@ -1,3 +1,5 @@
use std::env;
use vergen::{generate_cargo_keys, ConstantsFlags};
fn main() {
@ -7,4 +9,8 @@ fn main() {
// Generate the 'cargo:' key output
generate_cargo_keys(ConstantsFlags::all()).expect("Unable to generate the cargo keys!");
if let Ok(_) = env::var("CARGO_FEATURE_MINI_DASHBOARD") {
todo!()
}
}