Commit graph

83 commits

Author SHA1 Message Date
b5ef95b6ef
documentation 2021-10-06 01:33:15 +10:00
ce79cf14ba
licensing stuff via reuse tool 2021-10-06 00:24:08 +10:00
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
17a784732b
beeg beeg cleanup, set default prompt to error 2021-10-05 00:18:42 +10:00
db80955f24
release v0.3.7 🥳 2021-09-25 20:09:52 +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
0c31277191
new screenshot, minor readme changes 2021-09-25 00:24:01 +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
30c7da077a
cargo update, cargo-msrv compat 2021-09-17 18:51:41 +10:00
4192d37854
document version policy 2021-08-25 15:25:22 +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
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
0404cff8b7
release v0.3.4 🥳 2021-08-07 00:42:07 +10:00
b48b8d5a65
new-mime-guess update necessitated minor changes 2021-08-06 23:33:42 +10:00
eed4e29e00
update dependencies 2021-08-03 15:27:03 +10:00
8cdd0a8fc1
stricter dep vers in Cargo.toml to maintain MSRV 2021-07-30 16:52:58 +10:00
863954b2a2
don't optimise when testing 2021-07-21 21:18:29 +10:00
2f1151805f
update new_mime_guess 2021-07-21 21:16:59 +10:00
a941040948
release v0.3.3 🥳 2021-07-07 00:24:02 +10:00
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
1ecc6e6c6e
semicolonic cleanse 2021-06-14 16:53:41 +10:00
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
8dac4127e9
added text output format
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-07 15:21:47 +10:00
a50350a15e
less unneeded backend compilation
previous behaviour: all platforms would compile both infer and xdg-mime
new behaviour: unix platforms always compile xdg-mime but only compile infer if the `infer-backend` feature is enabled, and windows always compiles infer but only compiles xdg-mime if the `xdg-mime-backend` feature is enabled.
2021-05-10 09:43:41 +10:00
b93e111357
added JSON output 2021-05-06 08:57:42 +10:00
beebbbbb3b
replace fastrand dep with rand, rustfmt 2021-04-29 17:08:56 +10:00
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
cb6e111f16
more comprehensive ext sets, link text/xml and application/xml, remove silly Powershell/PowerShell hack 2021-04-28 19:33:42 +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
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-27 20:25:41 +10:00
aad70ee13b
update exclude list & dependencies 2021-04-27 18:34:01 +10:00
af9968947c
release v0.2.13 0u0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-04-26 22:36:02 +10:00
d6974b4959
writables!, windows newlines, sorted changelog, always quote paths
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-26 20:19:58 +10:00
e9acdd7751
replaced gitea URL with gitlab 2021-04-21 17:29:13 +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
9c8be183d9
new release! 0u0
All checks were successful
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
21dfe93a05
better DLL/EXE support, fixed weird symlink semidemihemibug
All checks were successful
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
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-08 23:33:33 +10:00
0f2f408c09
added architectures test to test.py, PKGBUILD for arch distros 2021-04-07 05:20:49 +10:00
fb67c11eb6
add option for following symlinks, make extensions optional, new version!!
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-04-04 23:52:16 +10:00
12d9001bb8
better mime type detection
- consider some/x-thing and some/thing to be identical
- use a patched version of mime_guess with many more extension/type mappings
2021-04-04 22:44:48 +10:00
25c9efa2f1
fixed compilation on some obscurish architectures (e.g. powerpc), more clippy lints 2021-04-03 03:52:28 +10:00
129aa83ade
lots of stuff! and a version bump!! 0u0
All checks were successful
continuous-integration/drone/tag Build is passing
- extension_from_path now returns Option<&OsStr>
- two new tests
- Findings uses a Path instead of a PathBuf, reducing allocations
- some unnecessary stuff removed, thanks clippy
- that is all
2021-03-26 04:46:07 +10:00
62562a0b69
i suppose it's time for a version bump =u=
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-03-17 18:26:27 +10:00
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