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

Remove dependency on cryptonite and memory #843

Merged
merged 1 commit into from
Apr 15, 2021
Merged

Remove dependency on cryptonite and memory #843

merged 1 commit into from
Apr 15, 2021

Conversation

LaurentRDC
Copy link
Collaborator

Hello,

I've been slowly trying to prepare the libraries I use for GHC 9.0.

The libraries cryptonite and memory both depend on basement, which has effectively been abandoned. Fortunately, hakyll does not NEED those dependencies in my opinion.

This PR removes those dependencies, which were used only for hashing.

Copy link
Collaborator

@Minoru Minoru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍 This effectively replaces MD5 with FNV, which seems fine. It also changes the filename format (was: hex, now: signed decimal), which is of no importance either since it's an implementation detail.

@Minoru Minoru merged commit 122dd42 into jaspervdj:master Apr 15, 2021
@Minoru
Copy link
Collaborator

Minoru commented Apr 15, 2021

Thank you for the PR, @LaurentRDC!

@jaspervdj, do you remember what the purpose of "test.hs" is? It was introduced in 030864a with no explanation, and doesn't look related to anything (no mention in the code or docs anywhere, and it mentions a directory called "images" which doesn't exist in the repo). Perhaps that file should be removed?

@LaurentRDC LaurentRDC deleted the nocrypto branch April 15, 2021 19:53
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

Successfully merging this pull request may close these issues.

2 participants