c4fabbc0f4
refactoring, initial work on --fix feature
2021-10-04 20:22:15 +10:00
451ea3d5d9
cargo fmt, cargo update
2021-10-04 01:00:49 +10:00
3f40c61d6d
better output 0u0
2021-10-04 00:59:20 +10:00
37b9cccc9c
update gitignore
2021-10-02 19:25:35 +10:00
25d8ed64ae
capped help output to 120 chars max width
2021-09-29 23:52:20 +10:00
eb3e650361
removed broken MSI support 0uo
2021-09-29 23:40:57 +10:00
f1982f670e
cargo update
2021-09-29 23:33:03 +10:00
0712bf0a6b
add support for MSI files to infer backend
2021-09-29 23:31:51 +10:00
47d94cf27b
simplify InferDb custom mimetypes
...
using `buf.starts_with(b"\xAB\xCD")` instead of `buf[0] == 0xAB && buf[1] == 0xCD` is shorter, easier to read, removes the need for the `buf.len() > xyz` check, and actually compiles to (much) less assembly:
https://godbolt.org/z/M7GePGn1T
isn't that just lovely
2021-09-29 23:29:21 +10:00
db80955f24
release v0.3.7 🥳
2021-09-25 20:09:52 +10:00
4c6163296c
flat_map_iter is 11% faster than flat_map 0uo
2021-09-25 19:55:32 +10:00
5e17e4efda
improved multithreading behaviour, & a new flag!
...
`-j`/`--jobs` can be used to manually set the number of threads to use for scanning files. additionally, fif won't bother with multi-threaded scanning when there are less than 32 files to scan.
2021-09-25 18:55:50 +10:00
741048839c
replace remaining OnceCells w/ Lazys, simplifying
...
i prefer Lazy because it simplifies initialisation by a lot, allowing for the removal of stuff like `init_db()` and the `clap_version()` functions
2021-09-25 00:54:52 +10:00
0c31277191
new screenshot, minor readme changes
2021-09-25 00:24:01 +10:00
6718f879f7
use Lazy instead of OnceCell for MIMEDB
2021-09-24 23:57:01 +10:00
c2e6738f6b
use Lazy instead of OnceCell for MIMEDB
2021-09-24 23:53:02 +10:00
b368be3e6b
reorder links in CHANGELOG.md
2021-09-24 22:53:33 +10:00
3e753c2a0b
replace cached dep with custom hashmap thing
...
i benchmarked it with hyperfine and in terms of performance it's pretty much identical, with a slight (fraction of a percent) advantage to my implementation
2021-09-24 22:08:28 +10:00
97b0a6edaa
replace cached dep with custom hashmap thing
...
i benchmarked it with hyperfine and in terms of performance it's pretty much identical, with a slight (fraction of a percent) advantage to my implementation
2021-09-24 22:05:12 +10:00
3d41183f1c
move license to the end of --help
output
2021-09-24 18:12:27 +10:00
8a7cbca461
cargo fmt, rearranging use statements
...
by setting `group_imports = "StdExternalCrate"` in `rustfmt.toml`, cargo fmt/rustfmt rearranges your use statements into three groups:
- std/core/alloc,
- followed by external crates,
- followed by self/super/crate
2021-09-24 18:11:25 +10:00
da998d019a
🚗 ️ 💨 ⬆️ 📅 ️
...
cargo update, haha get it
2021-09-24 17:58:52 +10:00
08b89d237b
disabled cleanup-msrv for now
2021-09-23 03:06:44 +10:00
3ee8745440
test.py hasn't been testing the json feature 0uo
...
i've had it enabled on the gitlab CI runner, but not in my test.py script that i use for local testing stuff...
2021-09-23 02:34:10 +10:00
afa2bb8784
is it "an str" (ess-tee-arh) or "a str" (stir)?
2021-09-23 02:09:57 +10:00
043e0972c5
include git commit SHA in --version
output
2021-09-23 02:07:18 +10:00
a800be63f7
use SmartStrings in more places
2021-09-23 01:33:41 +10:00
bddd6caeb2
format
2021-09-23 01:21:15 +10:00
74ae55ac52
AIFF support w/ infer backend
2021-09-23 01:19:56 +10:00
7c36061e03
finish the cleanup job started by #59c87a37
...
somehow i forgot to remove all the { unreachable!() } clutter which was one of the main reasons i did the refactor in the first place... 0uo
2021-09-23 01:03:20 +10:00
4a54511833
changelog "refactor"
2021-09-23 00:49:27 +10:00
30c7da077a
cargo update, cargo-msrv compat
2021-09-17 18:51:41 +10:00
88b5070a03
remove unneeded into()
2021-08-31 19:15:54 +10:00
c2988e4f10
update changelog
2021-08-31 18:58:40 +10:00
2884f9fe4c
use SmartString properly
2021-08-28 18:21:53 +10:00
fa49dd9fb5
merged inspectors module into files
2021-08-28 18:09:15 +10:00
ebf2f152f0
moved string_type mod into lib.rs
2021-08-28 18:00:31 +10:00
fb81f26ff5
cargo fmt
2021-08-28 17:59:04 +10:00
557f5132ff
new files module
2021-08-28 17:58:30 +10:00
d625fef106
split fif into lib and bin
2021-08-28 17:54:01 +10:00
1f46bef10b
slightly nicer JSON write_all
2021-08-25 15:44:21 +10:00
a2ce336fe7
use unstable sort
2021-08-25 15:26:41 +10:00
4192d37854
document version policy
2021-08-25 15:25:22 +10:00
45081efd0e
cargo update
2021-08-24 16:33:20 +10:00
6e2e788a61
oh jeez oh man v0.3.6
2021-08-18 23:42:44 +10:00
e1dc2d04f1
Merge remote-tracking branch 'origin/master'
2021-08-18 23:18:28 +10:00
15b4651215
rather bland v0.3.5 release
2021-08-18 23:18:14 +10:00
0b7f9ef4a4
rather bland v0.3.5 release
2021-08-18 23:15:09 +10:00
d34fa02033
update cached
2021-08-18 22:59:24 +10:00
fddd479f20
more MSRV fixes, pin clap at 3.0.0-beta.2
2021-08-16 02:34:25 +10:00