generated from PlexSheep/rs-base
chore: update libpt and adjust to breaking changes
cargo devel CI / cargo CI (push) Has been cancelled
Details
cargo devel CI / cargo CI (push) Has been cancelled
Details
This commit is contained in:
parent
03188c8416
commit
a5efc0fc4a
|
@ -12,7 +12,7 @@ repository = "https://git.cscherr.de/PlexSheep/hedu"
|
||||||
keywords = ["hexdumper"]
|
keywords = ["hexdumper"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libpt = { version = "0.3.11", features = ["log", "bintols"] }
|
libpt = { version = "0.5.1", features = ["log", "bintols"] }
|
||||||
clap = { version = "4.4.4", features = ["derive", "help"] }
|
clap = { version = "4.4.4", features = ["derive", "help"] }
|
||||||
clap-num = { version = "1.0.2" }
|
clap-num = { version = "1.0.2" }
|
||||||
clap-verbosity-flag = { version = "2.0.1" }
|
clap-verbosity-flag = { version = "2.0.1" }
|
||||||
|
|
|
@ -130,10 +130,10 @@ fn cli_parse() -> Cli {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
if cli.meta {
|
if cli.meta {
|
||||||
Logger::init(None, Some(ll), false).expect("could not initialize Logger");
|
let _ = Logger::builder().max_level(ll).build();
|
||||||
} else {
|
} else {
|
||||||
// less verbose version
|
// less verbose version
|
||||||
Logger::init_mini(Some(ll)).expect("could not initialize Logger");
|
let _ = Logger::builder().build();
|
||||||
}
|
}
|
||||||
cli
|
cli
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue