Commit Graph

92 Commits

Author SHA1 Message Date
Lynne Megido 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
Lynne Megido 383f6a30f2
improved pre-OOXML office mime detection
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-14 16:49:14 +10:00
Lynne Megido 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
Lynne Megido 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
Lynne Megido 0f2f408c09
added architectures test to test.py, PKGBUILD for arch distros 2021-04-07 05:20:49 +10:00
Lynne Megido e83ac778d6
update changelog 2021-04-07 01:48:46 +10:00
Lynne Megido be37b24705
better documentation for parameters, renamed Script to Sh 2021-04-07 01:47:40 +10:00
Lynne Megido cb2a30f455
much better README 2021-04-07 01:47:12 +10:00
Lynne Megido 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
Lynne Megido 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
Lynne Megido 55f73d8a9a
added a changelog 0u0 2021-04-04 22:41:37 +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 7115692f9d
fixed tests
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-26 05:11:21 +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 40a90308a5
initial (and somewhat bonked) powershell support, cargo update 2021-03-26 00:28:03 +10:00
Lynne Megido 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
Lynne Megido 67cffcff91
removed python stuff 2021-03-14 21:55:44 +10:00
Lynne Megido c68a88c6b0
don't test on alpine since it's currently broken due to a crate out of my control 0uo
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-12 04:05:03 +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 b09b871b3d
...how did i not notice this earlier 2021-03-07 17:01:27 +10:00
Lynne Megido 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
Lynne Megido 4412161193 nicer output for --help
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-01 20:20:46 +10:00
Lynne Megido 5907309689 renamed modules in accordance with https://rust-lang.github.io/api-guidelines/naming.html 2021-03-01 19:21:00 +10:00
Lynne Megido 32da919f81 replace (ScanError, PathBuf) with just ScanError (which now contains a PathBuf) 2021-03-01 19:18:20 +10:00
Lynne Megido 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
Lynne Megido 1aa355e753
version bump - wrote docs, logging by default, and more 2021-03-01 01:23:52 +10:00
Lynne Megido 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
Lynne Megido ecee74eb29
oops 0uo 2021-03-01 00:52:37 +10:00
Lynne Megido 31aaa80701
documentation!!! ≥50% coverage!!! wow!!!!! 2021-03-01 00:06:05 +10:00
Lynne Megido e294f56ecf
move main() to the top of main.rs because wynaut 2021-02-28 22:20:15 +10:00
Lynne Megido 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
Lynne Megido 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
Lynne Megido 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
Lynne Megido bcd77d9ed6
added a python script for testing and a drone config for CI 2021-02-28 21:08:35 +10:00
Lynne Megido 809df5bc0e
jetbrains nonsense 2021-02-28 21:08:11 +10:00
Lynne Megido 601481130f
default to WARN logging if RUST_LOG is unspecified 2021-02-28 21:01:22 +10:00
Lynne Megido b89e71a6ab
turns out infer already has jpeg2000 support and i somehow didn't notice 0uo 2021-02-28 20:20:27 +10:00
Lynne Megido 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
Lynne Megido 967592b22a
updated readme uwu! 2021-02-27 12:43:15 +10:00
Lynne Megido fb204d9c9a
update dependencies 2021-02-27 12:27:11 +10:00
Lynne Megido 52a0709097
it does indeed work on windows 2021-02-27 12:24:51 +10:00
Lynne Megido ebc2bcfb41
use cfg_if to make the code more readable 2021-02-27 12:13:57 +10:00
Lynne Megido b141b85ea7
use xdg-mime by default on linux, infer elsewhere 2021-02-27 12:02:49 +10:00
Lynne Megido db94465bb7
better document support, print version properly, display version 2021-02-22 08:46:17 +10:00
Lynne Megido c92dbbd075
quick hack to work around non-existent document support ;3 2021-02-22 02:35:42 +10:00
Lynne Megido 9a0113d1dc
quick hack to work around non-existent document support ;3 2021-02-22 02:32:38 +10:00
Lynne Megido c83b754b9b
badges!! 0u0 2021-02-22 02:15:35 +10:00
Lynne Megido 19038d3493
slightly better readme 2021-02-22 02:08:08 +10:00