From c56048ecd7e94b7a5f66e483c14062443ffd61f1 Mon Sep 17 00:00:00 2001 From: Nathan Fisher Date: Sun, 26 Jan 2025 18:58:54 -0500 Subject: [PATCH] Use styles when encoding --- Cargo.lock | 4 ++-- src/main.rs | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 80d79c4..ef2b247 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,11 +1,11 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "b2" version = "0.1.0" -source = "git+https://git.hitchhiker-linux.org/jeang3nie/b2_rs.git#3ab66346610d681cf764f24bbdd8d5416d7ef1b6" +source = "git+https://git.hitchhiker-linux.org/jeang3nie/b2_rs.git#684d25e0198cda683603ddcc87889dae119be0a9" [[package]] name = "base2" diff --git a/src/main.rs b/src/main.rs index 6e8766e..52ce88f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -61,8 +61,11 @@ fn main() -> Result<(), Box> { let wrap: usize = if let Some(w) = matches.opt_str("w") { w.parse()? } else { - 76 + 8 }; + let style: Option