mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 17:47:54 +08:00
feat: compile time optimization (#775)
This commit is contained in:
@ -4,5 +4,6 @@ fn main() {
|
||||
#[cfg(debug_assertions)]
|
||||
println!("cargo:rustc-env=RUST_MIN_STACK=4194304"); // 4 * 1024 * 1024 = 4 MiB
|
||||
|
||||
#[cfg(feature = "vergen")]
|
||||
router_env::vergen::generate_cargo_instructions();
|
||||
}
|
||||
|
||||
@ -16,7 +16,7 @@ use crate::{
|
||||
};
|
||||
|
||||
#[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.
|
||||
|
||||
Reference in New Issue
Block a user