feat: add zeroizing_alloc
This commit is contained in:
@@ -2,6 +2,11 @@ use clap::{App, AppSettings, ArgMatches};
|
||||
use rust_util::util_clap::{Command, CommandError};
|
||||
use rust_util::{failure_and_exit, information, success, warning};
|
||||
|
||||
use zeroizing_alloc::ZeroAlloc;
|
||||
|
||||
#[global_allocator]
|
||||
static ALLOC: ZeroAlloc<std::alloc::System> = ZeroAlloc(std::alloc::System);
|
||||
|
||||
mod db;
|
||||
mod proc;
|
||||
mod jose;
|
||||
@@ -85,4 +90,4 @@ fn inner_main() -> CommandError {
|
||||
}
|
||||
}
|
||||
DefaultCommandImpl::run(&matches)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user