remozipsy 0.0.2

zip implementation independent structs and helpers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};

/// Used within this crates traits to interact with [`FileSystem`] and
/// [`RemoteZip`]
///
/// [`FileSystem`]: crate::FileSystem
/// [`RemoteZip`]: crate::RemoteZip
#[derive(Clone, Debug, PartialEq, Eq, Hash, Deserialize, Serialize)]
pub struct FileInfo {
    /// with stripped prefix
    pub local_unix_path: String,
    /// It's recommended to use `crc32fast::hash`
    pub crc32: u32,
}