mirror of
https://github.com/kristoferssolo/cipher-workshop.git
synced 2026-02-04 06:42:11 +00:00
refactor: replace anyhow with color-eyre
This commit is contained in:
@@ -6,9 +6,9 @@ edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
aes = { workspace = true, optional = true }
|
||||
anyhow.workspace = true
|
||||
cipher-core.workspace = true
|
||||
clap = { version = "4.5", features = ["derive"] }
|
||||
color-eyre.workspace = true
|
||||
des = { workspace = true, optional = true }
|
||||
thiserror.workspace = true
|
||||
|
||||
|
||||
@@ -11,7 +11,8 @@ use crate::{
|
||||
use cipher_core::BlockCipher;
|
||||
use clap::Parser;
|
||||
|
||||
fn main() -> anyhow::Result<()> {
|
||||
fn main() -> color_eyre::Result<()> {
|
||||
color_eyre::install()?;
|
||||
let Args {
|
||||
operation,
|
||||
algorithm,
|
||||
|
||||
Reference in New Issue
Block a user