Skip to content

Commit

Permalink
Add changelog, plus rustfmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaj committed Jul 9, 2023
1 parent 5216d37 commit 27d1e9a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ project adheres to

## Unreleased

* Added a check that no more than one of the http-types, mime02, or
mime03 features are enabled (PR #124). Thanks @rustafarian-dev.
* Fixed more clippy lint (PR #123). Thanks @vbrandl!
* Updated `rsass` to 0.28.0 and `itertools` to 0.11.0.

Expand Down
4 changes: 3 additions & 1 deletion src/staticfiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,9 @@ fn name_and_ext(path: &Path) -> Option<(&str, &str)> {
all(feature = "mime02", feature = "http-types"),
all(feature = "mime02", feature = "mime03"),
))]
compile_error!(r#"Only one of these features "http-types", "mime02" or "mime03" must be enabled at a time."#);
compile_error!(
r#"Only one of these features "http-types", "mime02" or "mime03" must be enabled at a time."#
);

/// A short and url-safe checksum string from string data.
fn checksum_slug(data: &[u8]) -> String {
Expand Down

0 comments on commit 27d1e9a

Please sign in to comment.