Skip to content

Commit d119753

Browse files
committed
misc: defer deserialization of fields that aren't always used
cleanup: move remaining parsing to cargo module
1 parent 03e51cf commit d119753

File tree

5 files changed

+448
-436
lines changed

5 files changed

+448
-436
lines changed

CREDITS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Package: cargo-bashman
33
Version: 0.6.2
44
Target: x86_64-unknown-linux-gnu
5-
Generated: 2024-11-03 02:52:59 UTC
5+
Generated: 2024-11-03 09:41:52 UTC
66

77
| Package | Version | Author(s) | License | Context |
88
| ---- | ---- | ---- | ---- | ---- |

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ MAN pages are saved in both plain ("app.1") and GZipped ("app.1.gz") states. Lin
1717

1818
## Installation
1919

20+
As might be expected, `cargo bashman` requires [`cargo`](https://github.com/rust-lang/cargo). If you don't already have that installed, check out [rustup](https://rustup.rs/) before continuing.
21+
2022
Debian and Ubuntu users can just grab the pre-built `.deb` package from the [latest release](https://github.com/Blobfolio/bashman/releases/latest).
2123

22-
This application is written in [Rust](https://www.rust-lang.org/) and can alternatively be built from source using [Cargo](https://github.com/rust-lang/cargo):
24+
To build from source:
2325

2426
```bash
2527
# Clone the source.
@@ -30,7 +32,7 @@ cd bashman
3032

3133
# Build as usual. Specify additional flags as desired.
3234
cargo build \
33-
--bin bashman \
35+
--bin cargo-bashman \
3436
--release
3537
```
3638

@@ -52,8 +54,6 @@ cargo bashman [-h/--help]
5254

5355
The flags `--no-bash`, `--no-man`, and `--no-credits` can be used to skip the generation of BASH completions, MAN pages, and/or `CREDITS.md` respectively.
5456

55-
Note that for the `CREDITS.md` feature, [Cargo](https://github.com/rust-lang/cargo) is explicitly required. (It pulls the dependency tree from the `cargo metadata` output.)
56-
5757

5858
## CONFIGURATION
5959

0 commit comments

Comments
 (0)