diff --git a/rc-zip-cli/Cargo.toml b/rc-zip-cli/Cargo.toml index 05008fa..ef6945e 100644 --- a/rc-zip-cli/Cargo.toml +++ b/rc-zip-cli/Cargo.toml @@ -15,7 +15,7 @@ license = false eula = false [[bin]] -name = "rc-zip" +name = "rc-zip-cli" path = "src/main.rs" [dependencies] diff --git a/rc-zip/src/fsm/entry/mod.rs b/rc-zip/src/fsm/entry/mod.rs index 176e1c9..9aa0d4b 100644 --- a/rc-zip/src/fsm/entry/mod.rs +++ b/rc-zip/src/fsm/entry/mod.rs @@ -400,6 +400,7 @@ enum AnyDecompressor { Zstd(zstd_dec::ZstdDec), } +/// Outcome of [EntryFsm::process] #[derive(Default, Debug)] pub struct DecompressOutcome { /// Number of bytes read from input diff --git a/rc-zip/src/fsm/mod.rs b/rc-zip/src/fsm/mod.rs index d43c324..a85f025 100644 --- a/rc-zip/src/fsm/mod.rs +++ b/rc-zip/src/fsm/mod.rs @@ -23,7 +23,7 @@ mod archive; pub use archive::ArchiveFsm; mod entry; -pub use entry::EntryFsm; +pub use entry::{DecompressOutcome, EntryFsm}; /// Indicates whether or not the state machine has completed its work pub enum FsmResult { diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 41da0eb..ce7ad65 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.81.0" +channel = "1.83.0" components = ["llvm-tools", "clippy", "rust-src"]