Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Will binstalk-downloader consider supporting 7z? #2017

Open
ahaoboy opened this issue Jan 11, 2025 · 3 comments
Open

Will binstalk-downloader consider supporting 7z? #2017

ahaoboy opened this issue Jan 11, 2025 · 3 comments

Comments

@ahaoboy
Copy link

ahaoboy commented Jan 11, 2025

https://github.com/cargo-bins/cargo-binstall/blob/main/crates/binstalk-types/src/cargo_toml_binstall/package_formats.rs

/// Binary format enumeration
#[derive(
    Debug, Display, Copy, Clone, Eq, PartialEq, Serialize, Deserialize, EnumString, EnumIter,
)]
#[serde(rename_all = "snake_case")]
#[strum(ascii_case_insensitive)]
pub enum PkgFmt {
    /// Download format is TAR (uncompressed)
    Tar,
    /// Download format is TAR + Bzip2
    Tbz2,
    /// Download format is TGZ (TAR + GZip)
    Tgz,
    /// Download format is TAR + XZ
    Txz,
    /// Download format is TAR + Zstd
    Tzstd,
    /// Download format is Zip
    Zip,
    /// Download format is raw / binary
    Bin,
}
@NobodyXu
Copy link
Member

Yes, if there's a rust crate for 7z then I'm willing to support this

@ahaoboy
Copy link
Author

ahaoboy commented Jan 11, 2025

Yes, if there's a rust crate for 7z then I'm willing to support this

Unfortunately I didn’t find a reliable 7z library :(

@NobodyXu
Copy link
Member

I do know there's a deflate64 that I think is somehow related to 7z, but not sure about library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants