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
...
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
87dab7284f
test on alpine, clippy & rustfmt
continuous-integration/drone/push Build is failing
2021-03-12 03:44:31 +10:00
5907309689
renamed modules in accordance with https://rust-lang.github.io/api-guidelines/naming.html
2021-03-01 19:21:00 +10:00
31aaa80701
documentation!!! ≥50% coverage!!! wow!!!!!
2021-03-01 00:06:05 +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
9a0113d1dc
quick hack to work around non-existent document support ;3
2021-02-22 02:32:38 +10:00
9091850ec5
thanks rustfmt
2021-02-22 00:15:09 +10:00
426e09fb05
SVG support, better and more comments, minor code cleanup
2021-02-21 21:30:58 +10:00
b6d340d45c
added rustfmt.toml, ran rustfmt
2021-02-18 19:48:55 +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
3ae4ec53d8
begone, proc_macro! removes a bunch of dependencies that came through darling.
2021-02-15 00:30:12 +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
2c4a8f6a3b
implemented parallel functionality! 0u0
2021-02-05 22:45:51 +10:00
ed54ae2452
work toward parallelisation
2021-02-05 19:15:12 +10:00