1
0
Fork 0
mirror of https://github.com/TransparentLC/opencl_vanity_gpg.git synced 2025-10-20 15:24:08 +00:00

feat: log args

This commit is contained in:
GZTime 2025-01-09 01:35:13 +08:00
parent ff5e25942a
commit 9d20d7f382
No known key found for this signature in database
GPG key ID: 373640C748EA3E19

View file

@ -4,11 +4,19 @@ use log::{debug, info, warn};
use ocl::{Buffer, Device, Platform, ProQue};
use pgp::types::PublicKeyTrait;
use rand::thread_rng;
use std::{fmt::Write, fs, path::Path, str::FromStr, sync::mpsc::*, thread, time::Instant};
use std::{
fmt::Write,
fs,
path::Path,
str::FromStr,
sync::{mpsc::*, LazyLock},
thread,
time::Instant,
};
use utils::ARGS;
use utils::*;
mod utils;
pub use utils::ARGS;
fn main() -> anyhow::Result<()> {
env_logger::Builder::from_env(
@ -17,7 +25,7 @@ fn main() -> anyhow::Result<()> {
.format_indent(None)
.init();
debug!("{:?}", &ARGS);
debug!("{:#?}", LazyLock::force(&ARGS));
let device_list = utils::DeviceList::new()?;