Commit Graph

22 Commits

Author SHA1 Message Date
05ce5422c0 Add errno workspace crate, fix error handling in unistd workspace
crate
2023-02-13 00:26:13 -05:00
565e2c52d4 Add swaplabel applet 2023-02-07 10:34:09 -05:00
39c3803acb Add utilbox binary and umount applet; Move blkid mountpoint and
`clear` applets into `utilbox`
2023-02-06 18:57:28 -05:00
06b88d2c24 Refactoring:
- Split into workspace crates
- Split into two binaries `corebox` and `hashbox`
- Add `mount` crate to workspace to prepare for third binary `utilbox`
2023-02-05 23:50:59 -05:00
f0099a2958 Add b2sum applet - switch to blake2b_simd crate to get around
limitations of `blake2` crate, which will not accept a non-const
numerical specifier for length
2023-02-04 11:06:24 -05:00
5e0c1141ef Create generic hash module; Add sha1sum, sha224sum and sha256sum
applets
2023-02-04 00:56:02 -05:00
8df1f99f70 Add md5sum applet 2023-02-03 19:12:40 -05:00
6963ba4a4b Convert several commands to use raw system calls instead of libc
functions
2023-02-02 23:34:37 -05:00
Nathan Fisher
71a9f8839a Add mknod applet (untested) 2023-01-21 01:54:52 -05:00
e648a8a83a Cleanup chown applet 2023-01-19 19:08:09 -05:00
3016f4c234 Add chown applet (untested not optimized) 2023-01-18 21:42:11 -05:00
0513cdef2e Add fold utility 2023-01-08 11:40:08 -05:00
f70244ea49 Add nproc applet 2023-01-07 18:50:18 -05:00
fb389fd309 Simplify subcommand parsing:
- one match statement to return a `Box<dyn Cmd>`
- one array containing all command names
Only two places to register new commands (besides their module), both in
crate::cmd::mod.rs. Also removes `once_cell` crate dependency.

Replace `base64` crate dependency with `data_encoding::BASE64` so that
both base32 and base64 commands use the same crate.
2023-01-06 23:41:02 -05:00
84ede35190 Finish mountpoint applet 2023-01-05 19:20:12 -05:00
36835dd322 Added colored output for head and base32 applets (file header is green) 2023-01-04 14:26:44 -05:00
Nathan Fisher
9f9182f4cd Add base64 applet 2023-01-03 23:02:43 -05:00
2995e4a3cb Added 'panic = abort' to release profile 2022-12-28 22:48:23 -05:00
727c75d9a0 Added base32 command 2022-12-26 23:44:53 -05:00
d190050798 Major API revamp 2022-12-25 18:29:09 -05:00
728c66fb70 Generate Bash and Fish completions 2022-12-21 20:19:38 -05:00
228e1c779f Initial commit 2022-12-20 12:05:21 -05:00