Commit Graph

20 Commits

Author SHA1 Message Date
Lynne Megido 2884f9fe4c
use SmartString properly 2021-08-28 18:21:53 +10:00
Lynne Megido fa49dd9fb5
merged inspectors module into files 2021-08-28 18:09:15 +10:00
Lynne Megido ebf2f152f0
moved string_type mod into lib.rs 2021-08-28 18:00:31 +10:00
Lynne Megido b48b8d5a65
new-mime-guess update necessitated minor changes 2021-08-06 23:33:42 +10:00
Lynne Megido 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
Lynne Megido 81347a7658
mime_extension_lookup takes essence_str directly, videos aliases to video
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-08 00:32:44 +10:00
Lynne Megido 417893cae0
moved ScanError into findings.rs 2021-05-06 09:27:16 +10:00
Lynne Megido 0c0d3f12ea
new and improved rustfmt 2021-05-06 09:06:05 +10:00
Lynne Megido b93e111357
added JSON output 2021-05-06 08:57:42 +10:00
Lynne Megido 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
Lynne Megido 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
Lynne Megido dc2ac7b002
reformatting/reordering 2021-04-20 15:20:10 +10:00
Lynne Megido 25c9efa2f1
fixed compilation on some obscurish architectures (e.g. powerpc), more clippy lints 2021-04-03 03:52:28 +10:00
Lynne Megido 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
Lynne Megido 87dab7284f
test on alpine, clippy & rustfmt
Some checks failed
continuous-integration/drone/push Build is failing
2021-03-12 03:44:31 +10:00
Lynne Megido e3af10cf5b
replaced some pathbufs with paths, made it actually compile and work 0uo
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-12 03:26:35 +10:00
Lynne Megido 6d55b3c309
removed an unecessary allocation
Some checks failed
continuous-integration/drone/push Build is failing
you know what they say, premature optimisation is the best optimisation
2021-03-12 02:55:40 +10:00
Lynne Megido 31aaa80701
documentation!!! ≥50% coverage!!! wow!!!!! 2021-03-01 00:06:05 +10:00
Lynne Megido b6d340d45c
added rustfmt.toml, ran rustfmt 2021-02-18 19:48:55 +10:00
Lynne Megido d7eb0de299
nicer formatting, moved Findings into its own file 2021-02-15 03:12:27 +10:00