Commit graph

42 commits

Author SHA1 Message Date
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
4412161193 nicer output for --help
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-01 20:20:46 +10:00
1aa355e753
version bump - wrote docs, logging by default, and more 2021-03-01 01:23:52 +10:00
bcd77d9ed6
added a python script for testing and a drone config for CI 2021-02-28 21:08:35 +10:00
601481130f
default to WARN logging if RUST_LOG is unspecified 2021-02-28 21:01:22 +10:00
d76ed2585d
tests and more!
- added unit tests
- replaced `target_os="linux"` with `unix`
- updated Cargo.toml to patch xdg-mime properly
2021-02-28 19:47:18 +10:00
ebc2bcfb41
use cfg_if to make the code more readable 2021-02-27 12:13:57 +10:00
b141b85ea7
use xdg-mime by default on linux, infer elsewhere 2021-02-27 12:02:49 +10:00
db94465bb7
better document support, print version properly, display version 2021-02-22 08:46:17 +10:00
c92dbbd075
quick hack to work around non-existent document support ;3 2021-02-22 02:35:42 +10:00
c9209c2dbc
minor tweaks for what should/shouldn't be included in git/crate 2021-02-22 02:02:27 +10:00
aedfd6d57f
retrieve extensions from mime_guess, minor code changes, added a readme and such 2021-02-22 01:55:27 +10:00
986717a6ae
nicer error handling, exit codes 2021-02-22 00:07:50 +10:00
21fb26e3da
removed invalid cargo specifier 2021-02-21 16:59:25 +10:00
9e51525d27
hide xdg-mime-backend for windows users, cargo update 2021-02-20 04:02:54 +10:00
7fdc75c9e9
windows support! and other stuff 2021-02-20 03:57:36 +10:00
df2f924b2f
added some extension sets, replaced 'echo' with 'printf' in shell output 2021-02-18 21:43:24 +10:00
40292fe334
removed unused mini-buffer feature, optimised imports/features 2021-02-15 05:20:04 +10:00
2431e3493a
support using either infer or xdg_mime for mime detection
i guess we can build for windows now
2021-02-15 04:58:57 +10:00
d7eb0de299
nicer formatting, moved Findings into its own file 2021-02-15 03:12:27 +10:00
3642f0112a
version bump, minor cleanup, cli parse fix
previously, `fif -e rs src` would be interpreted as "scan for files with extensions 'rs' and 'src' in the default directory" instead of "scan for files with extension 'rs' in 'src'" - this has been fixed
2021-02-15 02:20:48 +10:00
3ae4ec53d8
begone, proc_macro! removes a bunch of dependencies that came through darling. 2021-02-15 00:30:12 +10:00
32ba0176b2
cargo update, minor cleanup 2021-02-12 19:19:08 +10:00
578f2f6be5
fixed indentation, removed some unneeded clap features 2021-02-12 01:46:24 +10:00
82bdbebec5
rudimentary script output, lots of small stuff, performance improvements 2021-02-10 19:20:22 +10:00
e3466a8912
chunked multithreading! 0u0 also conditional compilation of some stuff 2021-02-06 21:51:20 +10:00
8fc3f18466
first read a smol chunk, if we can't ID the file, read BUF_SIZE 2021-02-06 21:48:31 +10:00
5f36f663fc
maybe don't depend on regex 0u0; 2021-02-05 23:34:02 +10:00
2c4a8f6a3b
implemented parallel functionality! 0u0 2021-02-05 22:45:51 +10:00
775fb306ad
switched from structopt to clap 3 2021-02-05 19:24:08 +10:00
ed54ae2452
work toward parallelisation 2021-02-05 19:15:12 +10:00
d99eb281b3
removed unecessary stuff 2021-02-05 16:05:33 +10:00
84e0b0fd0e
better error handling and pattern matching, added license 2021-02-05 15:57:21 +10:00
1a32c6c2f0
initial commit 2021-02-04 21:22:19 +10:00