Commit Graph

91 Commits

Author SHA1 Message Date
Lynne Megido ce79cf14ba
licensing stuff via reuse tool 2021-10-06 00:24:08 +10:00
Lynne Megido 47c55ae61e
bumped MSRV to 1.48.0, minor improvements
- this is the rust version that debian stable (buster) currently has, so that's nice
- now we can use `const fn`s in more places, hooray
- smartstring is no longer outdated, hooray
- bitflags is no longer outdated, hooray
- mime_type in files.rs is now a bit smarter about not reading more than it has to, hooray
- removed some redundant clippy lints, hooray
- added a teensy smidgen more documentation, hooray
2021-10-05 02:12:16 +10:00
Lynne Megido 17a784732b
beeg beeg cleanup, set default prompt to error 2021-10-05 00:18:42 +10:00
Lynne Megido c4fabbc0f4
refactoring, initial work on --fix feature 2021-10-04 20:22:15 +10:00
Lynne Megido 451ea3d5d9
cargo fmt, cargo update 2021-10-04 01:00:49 +10:00
Lynne Megido 25d8ed64ae
capped help output to 120 chars max width 2021-09-29 23:52:20 +10:00
Lynne Megido eb3e650361
removed broken MSI support 0uo 2021-09-29 23:40:57 +10:00
Lynne Megido f1982f670e
cargo update 2021-09-29 23:33:03 +10:00
Lynne Megido db80955f24
release v0.3.7 🥳 2021-09-25 20:09:52 +10:00
Lynne Megido 4c6163296c
flat_map_iter is 11% faster than flat_map 0uo 2021-09-25 19:55:32 +10:00
Lynne Megido 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
Lynne Megido b368be3e6b
reorder links in CHANGELOG.md 2021-09-24 22:53:33 +10:00
Lynne Megido 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
Lynne Megido da998d019a
🚗💨 ⬆️📅
cargo update, haha get it
2021-09-24 17:58:52 +10:00
Lynne Megido 30c7da077a
cargo update, cargo-msrv compat 2021-09-17 18:51:41 +10:00
Lynne Megido 88b5070a03
remove unneeded into() 2021-08-31 19:15:54 +10:00
Lynne Megido c2988e4f10
update changelog 2021-08-31 18:58:40 +10:00
Lynne Megido d625fef106
split fif into lib and bin 2021-08-28 17:54:01 +10:00
Lynne Megido 45081efd0e
cargo update 2021-08-24 16:33:20 +10:00
Lynne Megido 6e2e788a61
oh jeez oh man v0.3.6 2021-08-18 23:42:44 +10:00
Lynne Megido 15b4651215
rather bland v0.3.5 release 2021-08-18 23:18:14 +10:00
Lynne Megido d34fa02033
update cached 2021-08-18 22:59:24 +10:00
Lynne Megido fddd479f20
more MSRV fixes, pin clap at 3.0.0-beta.2 2021-08-16 02:34:25 +10:00
Lynne Megido 2222e92080
update cargo.lock to fix MSRV compatibility 2021-08-14 22:34:05 +10:00
Lynne Megido d7e2eb9adc
cargo update 2021-08-14 22:07:37 +10:00
Lynne Megido 0404cff8b7
release v0.3.4 🥳 2021-08-07 00:42:07 +10:00
Lynne Megido ddde6acdd6
ignore_unknown_exts flag, slightly more testing 2021-08-07 00:19:30 +10:00
Lynne Megido b48b8d5a65
new-mime-guess update necessitated minor changes 2021-08-06 23:33:42 +10:00
Lynne Megido eed4e29e00
update dependencies 2021-08-03 15:27:03 +10:00
Lynne Megido c3adaea88c
a minor multitude of meager modifications
- clippy.sh now works if you're a weirdo with spaces in their $HOME path
- a """performance optimisation""" to utils.rs so minor that i would be surprised if it saved the world one microwatt of electricity over my entire lifespan
- cargo update
- removed useless extension_from_path function
2021-08-01 01:44:17 +10:00
Lynne Megido 8cdd0a8fc1
stricter dep vers in Cargo.toml to maintain MSRV 2021-07-30 16:52:58 +10:00
Lynne Megido 59c87a3729
minor refactoring to make formats.rs less icky 2021-07-24 16:21:20 +10:00
Lynne Megido 863954b2a2
don't optimise when testing 2021-07-21 21:18:29 +10:00
Lynne Megido 2f1151805f
update new_mime_guess 2021-07-21 21:16:59 +10:00
Lynne Megido a941040948
release v0.3.3 🥳 2021-07-07 00:24:02 +10:00
Lynne Megido 0d034a5c4b
minor logging changes
logs use abbreviated level names:
[D] example
instead of
[DEBUG] example

also, you can now use FIF_LOG instead of RUST_LOG
2021-07-01 18:52:53 +10:00
Lynne Megido 3b731a7c61
added --canonical-paths flag
Findings now takes a PathBuf instead of a reference to a Path but there's no noticeable performance change
2021-06-18 15:17:30 +10:00
Lynne Megido 02f377cbb2
release v0.3.2 🥳
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-06-14 18:27:50 +10:00
Lynne Megido 1ecc6e6c6e
semicolonic cleanse 2021-06-14 16:53:41 +10:00
Lynne Megido df9c033b38
cargo update
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-13 16:47:39 +10:00
Lynne Megido c66a639eed
release v0.3.1 🥳
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-06-07 15:48:46 +10:00
Lynne Megido 8dac4127e9
added text output format
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-07 15:21:47 +10:00
Lynne Megido b93e111357
added JSON output 2021-05-06 08:57:42 +10:00
Lynne Megido 774e72423f
test powershell output too 2021-04-30 19:11:24 +10:00
Lynne Megido beebbbbb3b
replace fastrand dep with rand, rustfmt 2021-04-29 17:08:56 +10:00
Lynne Megido a60a19191a
reject lowercase exts bc they don't worky 2021-04-29 17:03:26 +10:00
Lynne Megido 090e4adafe
release v0.3.0!! \0u0/
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-04-28 23:21:27 +10:00
Lynne Megido cb6e111f16
more comprehensive ext sets, link text/xml and application/xml, remove silly Powershell/PowerShell hack 2021-04-28 19:33:42 +10:00
Lynne Megido b12c42adbb
publish my fork of mime_guess so it can be used w/ crates.io
crates.io doesn't allow you to use path or git dependencies - you can only depend on published crates. i didn't really want to publish my mime_guess fork, since i don't really see anyone besides myself using it (and i don't really want my fork to "dethrone" the original or whatever), but unless i want `cargo install fif` to give you a version of fif that tells you XML files should have the extension ".asa", i kind of have to do this :c
2021-04-28 15:17:40 +10:00
Lynne Megido aad70ee13b
update exclude list & dependencies 2021-04-27 18:34:01 +10:00