Skip to content

Commit

Permalink
fix: we added bz2 mime type which was forgotten to be added in consts.rs
Browse files Browse the repository at this point in the history
Signed-off-by: Soc Virnyl Estela <[email protected]>
  • Loading branch information
uncomfyhalomacro committed Dec 7, 2023
1 parent ca11f4b commit 39f3b45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cargo/src/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ pub const GZ_EXTS: &[&str] = &["gz", "gzip"];
pub const XZ_MIME: &str = "application/x-xz";
pub const ZST_MIME: &str = "application/zstd";
pub const GZ_MIME: &str = "application/gzip";
pub const SUPPORTED_MIME_TYPES: &[&str] = &[XZ_MIME, ZST_MIME, GZ_MIME];
pub const BZ2_MIME: &str = "application/x-bzip2";
pub const SUPPORTED_MIME_TYPES: &[&str] = &[XZ_MIME, ZST_MIME, GZ_MIME, BZ2_MIME];
pub const EXCLUDED_RUSTSECS: &[&str] = &[
// NOTE: These two are excluded because they are fundamentally
// silly and can never be fixed.
Expand Down

0 comments on commit 39f3b45

Please sign in to comment.