Commit graph

167 commits

Author SHA1 Message Date
32da919f81 replace (ScanError, PathBuf) with just ScanError (which now contains a PathBuf) 2021-03-01 19:18:20 +10:00
c270383e6f
Merge remote-tracking branch 'origin/master'
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-03-01 01:24:03 +10:00
1aa355e753
version bump - wrote docs, logging by default, and more 2021-03-01 01:23:52 +10:00
58f3b323cc
version bump - wrote docs, logging by default, and more
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-01 01:23:18 +10:00
ecee74eb29
oops 0uo 2021-03-01 00:52:37 +10:00
31aaa80701
documentation!!! ≥50% coverage!!! wow!!!!! 2021-03-01 00:06:05 +10:00
e294f56ecf
move main() to the top of main.rs because wynaut 2021-02-28 22:20:15 +10:00
67fb03821d
integration test for arg parsing, minor shuffling around of things
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-28 22:17:26 +10:00
d04fc22d46
maybe don't use all cores at 100% for two full minutes
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-28 21:14:24 +10:00
dcbf3e8b3c
fixing a problem before it happens
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-28 21:10:31 +10:00
bcd77d9ed6
added a python script for testing and a drone config for CI 2021-02-28 21:08:35 +10:00
809df5bc0e
jetbrains nonsense 2021-02-28 21:08:11 +10:00
601481130f
default to WARN logging if RUST_LOG is unspecified 2021-02-28 21:01:22 +10:00
b89e71a6ab
turns out infer already has jpeg2000 support and i somehow didn't notice 0uo 2021-02-28 20:20:27 +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
967592b22a
updated readme uwu! 2021-02-27 12:43:15 +10:00
fb204d9c9a
update dependencies 2021-02-27 12:27:11 +10:00
52a0709097
it does indeed work on windows 2021-02-27 12:24:51 +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
9a0113d1dc
quick hack to work around non-existent document support ;3 2021-02-22 02:32:38 +10:00
c83b754b9b
badges!! 0u0 2021-02-22 02:15:35 +10:00
19038d3493
slightly better readme 2021-02-22 02:08:08 +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
b95c8ec85c
cleaned up formats.rs 2021-02-22 00:46:51 +10:00
729576b803
thanks cargo update 2021-02-22 00:20:17 +10:00
9091850ec5
thanks rustfmt 2021-02-22 00:15:09 +10:00
7a2f009622
thanks clippy 2021-02-22 00:09:53 +10:00
986717a6ae
nicer error handling, exit codes 2021-02-22 00:07:50 +10:00
426e09fb05
SVG support, better and more comments, minor code cleanup 2021-02-21 21:30:58 +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
dc2f642171
cargo update 2021-02-18 22:37:43 +10:00
2eccd1bbb2
thx clippy 2021-02-18 22:11:13 +10:00
df2f924b2f
added some extension sets, replaced 'echo' with 'printf' in shell output 2021-02-18 21:43:24 +10:00
fc7af85ba1
silly clion 2021-02-18 19:55:19 +10:00
b6d340d45c
added rustfmt.toml, ran rustfmt 2021-02-18 19:48:55 +10:00
31acd76c73
tiny brained 2021-02-18 19:15:59 +10:00
40292fe334
removed unused mini-buffer feature, optimised imports/features 2021-02-15 05:20:04 +10:00
ce721c20f6
fixed broken singlethreaded support (whoops) 2021-02-15 05:13:16 +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
bc4edecd21
now we don't have to pass &db through three different functions, hooray
this also makes it easier to replace xdg_mime with something else in future
2021-02-15 03:33:24 +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
cda6184d45
cargo upd8 2021-02-15 00:48:22 +10:00
3ae4ec53d8
begone, proc_macro! removes a bunch of dependencies that came through darling. 2021-02-15 00:30:12 +10:00