Skip to content

Commit

Permalink
chore: Remove unused base16 dependency
Browse files Browse the repository at this point in the history
Noticed this dependency was unused.

The `encode_base16` function was a bit useless too, as you can do this
with `format!()`, not requiring a third party dependency. Parsing base16
could make sense for this as a dependency, but we're not doing that.
  • Loading branch information
bgw committed May 23, 2024
1 parent 827bea9 commit 69da559
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
4 changes: 0 additions & 4 deletions crates/turbo-tasks-hash/src/base16.rs

This file was deleted.

2 changes: 0 additions & 2 deletions crates/turbo-tasks-hash/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@
//! invalidation, and encoding the hash to an hexadecimal string for use in a
//! file name.

mod base16;
mod deterministic_hash;
mod hex;
mod md4;
mod xxh3_hash64;

pub use crate::{
base16::encode_base16,
deterministic_hash::{DeterministicHash, DeterministicHasher},
hex::{encode_hex, encode_hex_string},
md4::hash_md4,
Expand Down
2 changes: 1 addition & 1 deletion deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ allow = [
"MPL-2.0-no-copyleft-exception",
# enum-iterator*
"0BSD",
# base16, notify
# notify
"CC0-1.0",
# Inflector, hyper-tungstenite
"BSD-2-Clause",
Expand Down

0 comments on commit 69da559

Please sign in to comment.