Commit Graph

10 Commits

Author SHA1 Message Date
Lynne Megido f1982f670e
cargo update 2021-09-29 23:33:03 +10:00
Lynne Megido 0712bf0a6b
add support for MSI files to infer backend 2021-09-29 23:31:51 +10:00
Lynne Megido 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
Lynne Megido 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
Lynne Megido bddd6caeb2
format 2021-09-23 01:21:15 +10:00
Lynne Megido 74ae55ac52
AIFF support w/ infer backend 2021-09-23 01:19:56 +10:00
Lynne Megido b48b8d5a65
new-mime-guess update necessitated minor changes 2021-08-06 23:33:42 +10:00
petra-fied 59a3042ebc added .rpa format support, new system extension set 2021-04-14 19:08:18 +10:00
Lynne Megido 8a152d4118
new option for scanning extensionless files, nicer #[cfg]s, -s no longer skips hidden root dir...
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-03-03 01:12:29 +10:00
Lynne Megido 5907309689 renamed modules in accordance with https://rust-lang.github.io/api-guidelines/naming.html 2021-03-01 19:21:00 +10:00