feat: compile time optimization (#775)

This commit is contained in:
Nishant Joshi
2023-03-21 15:12:44 +05:30
committed by GitHub
parent 575abd6f5e
commit 5b5557b71d
10 changed files with 28 additions and 8 deletions

View File

@ -10,7 +10,7 @@ use serde::Deserialize;
use crate::errors;
#[derive(clap::Parser, Default)]
#[command(version = router_env::version!())]
#[cfg_attr(feature = "vergen", command(version = router_env::version!()))]
pub struct CmdLineConf {
/// Config file.
/// Application will look for "config/config.toml" if this option isn't specified.