chore: remove decimal format

This commit is contained in:
Kristofers Solo 2025-10-17 21:50:05 +03:00
parent 46a5b90d34
commit dc243a8731
Signed by: kristoferssolo
GPG Key ID: 8687F2D3EEE6F0ED
2 changed files with 0 additions and 3 deletions

View File

@ -67,8 +67,6 @@ pub enum OutputFormat {
/// Octal output (fixed typo)
Octal,
/// Decimal output
Decimal,
/// Hexadecimal output
#[default]
Hex,
/// Text output (ASCII)

View File

@ -19,7 +19,6 @@ fn main() -> anyhow::Result<()> {
match output_format.unwrap_or_default() {
OutputFormat::Binary => println!("{plaintext:064b}"),
OutputFormat::Octal => println!("{plaintext:022o}"),
OutputFormat::Decimal => println!("{plaintext}"),
OutputFormat::Hex => println!("{plaintext:016X}"),
OutputFormat::Text => println!("{plaintext}"),
}