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
6718f879f7
use Lazy instead of OnceCell for MIMEDB
2021-09-24 23:57:01 +10:00
b368be3e6b
reorder links in CHANGELOG.md
2021-09-24 22:53:33 +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
043e0972c5
include git commit SHA in --version
output
2021-09-23 02:07:18 +10:00
74ae55ac52
AIFF support w/ infer backend
2021-09-23 01:19:56 +10:00
4a54511833
changelog "refactor"
2021-09-23 00:49:27 +10:00
c2988e4f10
update changelog
2021-08-31 18:58:40 +10:00
6e2e788a61
oh jeez oh man v0.3.6
2021-08-18 23:42:44 +10:00
15b4651215
rather bland v0.3.5 release
2021-08-18 23:18:14 +10:00
0404cff8b7
release v0.3.4 🥳
2021-08-07 00:42:07 +10:00
ddde6acdd6
ignore_unknown_exts flag, slightly more testing
2021-08-07 00:19:30 +10:00
b48b8d5a65
new-mime-guess update necessitated minor changes
2021-08-06 23:33:42 +10:00
8cdd0a8fc1
stricter dep vers in Cargo.toml to maintain MSRV
2021-07-30 16:52:58 +10:00
59c87a3729
minor refactoring to make formats.rs less icky
2021-07-24 16:21:20 +10:00
a941040948
release v0.3.3 🥳
2021-07-07 00:24:02 +10:00
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
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
02f377cbb2
release v0.3.2 🥳
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-06-14 18:27:50 +10:00
d0a6e918cc
block compilation if both backends are enabled
2021-06-14 18:23:49 +10:00
8b2b26d44f
The Great Grammar Heist
2021-06-14 17:47:21 +10:00
bd1a2a3e3a
print some more handy info in trace logs
2021-06-14 17:35:47 +10:00
1ecc6e6c6e
semicolonic cleanse
2021-06-14 16:53:41 +10:00
f8dcdf8a3c
nicer output for fif -V
and fif --version
2021-06-14 16:29:41 +10:00
c66a639eed
release v0.3.1 🥳
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-06-07 15:48:46 +10:00
8dac4127e9
added text output format
continuous-integration/drone/push Build is passing
2021-06-07 15:21:47 +10:00
04574e5932
added more info about installing/configuring fif to README
2021-05-10 09:44:39 +10:00
81347a7658
mime_extension_lookup takes essence_str directly, videos aliases to video
continuous-integration/drone/push Build is passing
2021-05-08 00:32:44 +10:00
b93e111357
added JSON output
2021-05-06 08:57:42 +10:00
4acbcaaa9b
added quietness flag, set default log level to info
2021-04-28 22:20:10 +10:00
a05af12352
fif now outputs the dir it was run from
...
- refactor Format function signatures to be more uniform
- add Shell and Bash aliases for Sh
2021-04-28 21:27:06 +10:00
4f5914ed75
-E and -X can now take multiple sets
2021-04-28 18:10:34 +10:00
d5d58e1830
-e and -E can now be used together!
...
also changelog rewording
-e and -E can now be used together!
2021-04-28 17:17:38 +10:00
d578efa7a4
rename videos set to video, multiple exts can be specified with multiple -e
flags
2021-04-28 16:44:29 +10:00
22f1f280d7
added -X
for excluding sets of extensions. -X
is to -E
as -x
is to -e
.
2021-04-28 16:16:32 +10:00
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
7e3efbed5c
added exclude flag for excluding extensions
continuous-integration/drone/push Build is passing
2021-04-27 20:25:41 +10:00
af9968947c
release v0.2.13 0u0
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-04-26 22:36:02 +10:00
2ceafb7acf
added -v/--verbose
2021-04-26 22:15:14 +10:00
d6974b4959
writables!, windows newlines, sorted changelog, always quote paths
continuous-integration/drone/push Build is passing
2021-04-26 20:19:58 +10:00
4d553587aa
fixed powershell output
continuous-integration/drone/push Build is passing
2021-04-20 19:00:56 +10:00
255665cae0
output is now sorted 0u0
...
sort order: files that couldn't be read, then files with no known mimetype, then files with no known extensions, then files with the wrong extension
2021-04-20 18:52:49 +10:00
b877d7d65e
xdg-mime no longer uses git version 0u0
2021-04-20 17:26:31 +10:00
83091c754d
removed duplicate Archives pattern in extension_set.rs
2021-04-14 19:17:41 +10:00
2713083a82
updated CHANGELOG.md
continuous-integration/drone/push Build is passing
2021-04-14 19:10:07 +10:00
7f87f59670
updated changelog
continuous-integration/drone/push Build is passing
2021-04-14 18:43:39 +10:00
9c8be183d9
new release! 0u0
...
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
also i increased BUF_SIZE to 8192 bytes
2021-04-14 17:27:44 +10:00
383f6a30f2
improved pre-OOXML office mime detection
continuous-integration/drone/push Build is passing
2021-04-14 16:49:14 +10:00
21dfe93a05
better DLL/EXE support, fixed weird symlink semidemihemibug
continuous-integration/drone/push Build is passing
2021-04-14 16:29:38 +10:00
d54cc8d6da
added text extension set, more test coverage, cargo update
continuous-integration/drone/push Build is passing
2021-04-08 23:33:33 +10:00