Skip to content

Commit

Permalink
New filter strategies (#461)
Browse files Browse the repository at this point in the history
* Refactor filters as enum

* Include filter byte in filter output

* Add entropy filter

* Add bigrams filter

* Add bigram entropy filter

* Add brute filter

* Replace bit-vec

* Add tests and benches

* Show filters in help

* Use FxHasher in color to palette

* Use windows function for minor improvement
  • Loading branch information
andrews05 authored Nov 19, 2022
1 parent 420d904 commit a41d7de
Show file tree
Hide file tree
Showing 19 changed files with 928 additions and 322 deletions.
54 changes: 47 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ path = "src/main.rs"
required-features = ["binary"]

[dependencies]
bit-vec = "0.6.3"
itertools = "0.10.3"
zopfli = { version = "0.7.1", optional = true }
rgb = "0.8.33"
Expand All @@ -32,6 +31,8 @@ libdeflater = "0.11.0"
log = "0.4.17"
stderrlog = { version = "0.5.3", optional = true, default-features = false }
crossbeam-channel = "0.5.6"
bitvec = "1.0.1"
rustc-hash = "1.1.0"

[dependencies.filetime]
optional = true
Expand Down Expand Up @@ -73,5 +74,5 @@ opt-level = 2
[profile.release]
lto = "thin"

[profile.dev.package.bit-vec]
[profile.dev.package.bitvec]
opt-level = 3
Loading

0 comments on commit a41d7de

Please sign in to comment.