Skip to content

Commit b27a320

Browse files
committed
release: 0.6.8
2 parents 9c5ae9c + 9c4645b commit b27a320

File tree

11 files changed

+102
-94
lines changed

11 files changed

+102
-94
lines changed

CREDITS.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# Project Dependencies
22
Package: cargo-bashman
3-
Version: 0.6.7
3+
Version: 0.6.8
44
Target: x86_64-unknown-linux-gnu
5-
Generated: 2024-11-11 20:33:44 UTC
5+
Generated: 2024-11-28 20:18:31 UTC
66

77
| Package | Version | Author(s) | License |
88
| ---- | ---- | ---- | ---- |
9-
| [**adbyss_psl**](https://github.com/Blobfolio/adbyss) | 0.15.0 | [Josh Stoik](mailto:[email protected]) | WTFPL |
10-
| [**argyle**](https://github.com/Blobfolio/argyle) | 0.10.0 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL |
9+
| [**adbyss_psl**](https://github.com/Blobfolio/adbyss) | 0.15.1 | [Josh Stoik](mailto:[email protected]) | WTFPL |
10+
| [**argyle**](https://github.com/Blobfolio/argyle) | 0.10.1 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
1111
| [bitflags](https://github.com/bitflags/bitflags) | 2.6.0 | The Rust Project Developers | MIT OR Apache-2.0 |
12-
| [cc](https://github.com/rust-lang/cc-rs) ⚒️ | 1.1.37 | [Alex Crichton](mailto:[email protected]) | MIT OR Apache-2.0 |
12+
| [cc](https://github.com/rust-lang/cc-rs) ⚒️ | 1.2.1 | [Alex Crichton](mailto:[email protected]) | MIT OR Apache-2.0 |
1313
| [cfg-if](https://github.com/alexcrichton/cfg-if) | 1.0.0 | [Alex Crichton](mailto:[email protected]) | MIT OR Apache-2.0 |
14-
| [**dactyl**](https://github.com/Blobfolio/dactyl) | 0.7.4 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL |
14+
| [**dactyl**](https://github.com/Blobfolio/dactyl) | 0.8.0 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
1515
| [displaydoc](https://github.com/yaahc/displaydoc) | 0.2.5 | [Jane Lusby](mailto:[email protected]) | MIT OR Apache-2.0 |
1616
| [fastrand](https://github.com/smol-rs/fastrand) | 2.2.0 | [Stjepan Glavina](mailto:[email protected]) | Apache-2.0 OR MIT |
1717
| [form_urlencoded](https://github.com/servo/rust-url) | 1.2.1 | The rust-url developers | MIT OR Apache-2.0 |
18-
| [**fyi_msg**](https://github.com/Blobfolio/fyi) | 1.2.0 | [Josh Stoik](mailto:[email protected]) | WTFPL |
18+
| [**fyi_msg**](https://github.com/Blobfolio/fyi) | 1.3.0 | [Josh Stoik](mailto:[email protected]) | WTFPL |
1919
| [icu_collections](https://github.com/unicode-org/icu4x) | 1.5.0 | The ICU4X Project Developers | Unicode-3.0 |
2020
| [icu_locid](https://github.com/unicode-org/icu4x) | 1.5.0 | The ICU4X Project Developers | Unicode-3.0 |
2121
| [icu_locid_transform](https://github.com/unicode-org/icu4x) | 1.5.0 | The ICU4X Project Developers | Unicode-3.0 |
@@ -28,43 +28,43 @@
2828
| [icu_provider_macros](https://github.com/unicode-org/icu4x) | 1.5.0 | The ICU4X Project Developers | Unicode-3.0 |
2929
| [idna](https://github.com/servo/rust-url/) | 1.0.3 | The rust-url developers | MIT OR Apache-2.0 |
3030
| [idna_adapter](https://github.com/hsivonen/idna_adapter) | 1.2.0 | The rust-url developers | Apache-2.0 OR MIT |
31-
| [itoa](https://github.com/dtolnay/itoa) | 1.0.11 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
31+
| [itoa](https://github.com/dtolnay/itoa) | 1.0.14 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
3232
| [libdeflate-sys](https://github.com/adamkewley/libdeflater) | 1.22.0 | [Adam Kewley](mailto:[email protected]) | Apache-2.0 |
3333
| [**libdeflater**](https://github.com/adamkewley/libdeflater) | 1.22.0 | [Adam Kewley](mailto:[email protected]) | Apache-2.0 |
3434
| [linux-raw-sys](https://github.com/sunfishcode/linux-raw-sys) | 0.4.14 | [Dan Gohman](mailto:[email protected]) | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT |
35-
| [litemap](https://github.com/unicode-org/icu4x) | 0.7.3 | The ICU4X Project Developers | Unicode-3.0 |
35+
| [litemap](https://github.com/unicode-org/icu4x) | 0.7.4 | The ICU4X Project Developers | Unicode-3.0 |
3636
| [memchr](https://github.com/BurntSushi/memchr) | 2.7.4 | [Andrew Gallant](mailto:[email protected]) and bluss | Unlicense OR MIT |
3737
| [once_cell](https://github.com/matklad/once_cell) | 1.20.2 | [Aleksey Kladov](mailto:[email protected]) | MIT OR Apache-2.0 |
38-
| [**oxford_join**](https://github.com/Blobfolio/oxford_join) | 0.4.0 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL |
38+
| [**oxford_join**](https://github.com/Blobfolio/oxford_join) | 0.4.1 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
3939
| [percent-encoding](https://github.com/servo/rust-url/) | 2.3.1 | The rust-url developers | MIT OR Apache-2.0 |
40-
| [proc-macro2](https://github.com/dtolnay/proc-macro2) | 1.0.89 | [David Tolnay](mailto:[email protected]) and [Alex Crichton](mailto:[email protected]) | MIT OR Apache-2.0 |
40+
| [proc-macro2](https://github.com/dtolnay/proc-macro2) | 1.0.92 | [David Tolnay](mailto:[email protected]) and [Alex Crichton](mailto:[email protected]) | MIT OR Apache-2.0 |
4141
| [quote](https://github.com/dtolnay/quote) | 1.0.37 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
42-
| [rustix](https://github.com/bytecodealliance/rustix) | 0.38.40 | [Dan Gohman](mailto:[email protected]) and [Jakub Konka](mailto:[email protected]) | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT |
42+
| [rustix](https://github.com/bytecodealliance/rustix) | 0.38.41 | [Dan Gohman](mailto:[email protected]) and [Jakub Konka](mailto:[email protected]) | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT |
4343
| [ryu](https://github.com/dtolnay/ryu) | 1.0.18 | [David Tolnay](mailto:[email protected]) | Apache-2.0 OR BSL-1.0 |
4444
| [**semver**](https://github.com/dtolnay/semver) | 1.0.23 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
45-
| [**serde**](https://github.com/serde-rs/serde) | 1.0.214 | [Erick Tryzelaar](mailto:[email protected]) and [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
46-
| [serde_derive](https://github.com/serde-rs/serde) | 1.0.214 | [Erick Tryzelaar](mailto:[email protected]) and [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
47-
| [**serde_json**](https://github.com/serde-rs/json) | 1.0.132 | [Erick Tryzelaar](mailto:[email protected]) and [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
45+
| [**serde**](https://github.com/serde-rs/serde) | 1.0.215 | [Erick Tryzelaar](mailto:[email protected]) and [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
46+
| [serde_derive](https://github.com/serde-rs/serde) | 1.0.215 | [Erick Tryzelaar](mailto:[email protected]) and [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
47+
| [**serde_json**](https://github.com/serde-rs/json) | 1.0.133 | [Erick Tryzelaar](mailto:[email protected]) and [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
4848
| [shlex](https://github.com/comex/rust-shlex) ⚒️ | 1.3.0 | [comex](mailto:[email protected]), [Fenhl](mailto:[email protected]), [Adrian Taylor](mailto:[email protected]), [Alex Touchet](mailto:[email protected]), [Daniel Parks](mailto:dp+[email protected]), and [Garrett Berg](mailto:[email protected]) | MIT OR Apache-2.0 |
4949
| [smallvec](https://github.com/servo/rust-smallvec) | 1.13.2 | The Servo Project Developers | MIT OR Apache-2.0 |
5050
| [stable_deref_trait](https://github.com/storyyeller/stable_deref_trait) | 1.2.0 | [Robert Grosse](mailto:[email protected]) | MIT OR Apache-2.0 |
51-
| [syn](https://github.com/dtolnay/syn) | 2.0.87 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
51+
| [syn](https://github.com/dtolnay/syn) | 2.0.89 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
5252
| [synstructure](https://github.com/mystor/synstructure) | 0.13.1 | [Nika Layzell](mailto:[email protected]) | MIT |
5353
| [tempfile](https://github.com/Stebalien/tempfile) | 3.14.0 | [Steven Allen](mailto:[email protected]), The Rust Project Developers, [Ashley Mannix](mailto:[email protected]), and [Jason White](mailto:[email protected]) | MIT OR Apache-2.0 |
5454
| [tinystr](https://github.com/unicode-org/icu4x) | 0.7.6 | The ICU4X Project Developers | Unicode-3.0 |
55-
| [**trimothy**](https://github.com/Blobfolio/trimothy) | 0.3.1 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL |
56-
| [unicode-ident](https://github.com/dtolnay/unicode-ident) | 1.0.13 | [David Tolnay](mailto:[email protected]) | (MIT OR Apache-2.0) AND Unicode-DFS-2016 |
57-
| [**url**](https://github.com/servo/rust-url) | 2.5.3 | The rust-url developers | MIT OR Apache-2.0 |
58-
| [**utc2k**](https://github.com/Blobfolio/utc2k) | 0.11.0 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL |
55+
| [**trimothy**](https://github.com/Blobfolio/trimothy) | 0.6.0 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
56+
| [unicode-ident](https://github.com/dtolnay/unicode-ident) | 1.0.14 | [David Tolnay](mailto:[email protected]) | (MIT OR Apache-2.0) AND Unicode-3.0 |
57+
| [**url**](https://github.com/servo/rust-url) | 2.5.4 | The rust-url developers | MIT OR Apache-2.0 |
58+
| [**utc2k**](https://github.com/Blobfolio/utc2k) | 0.11.1 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
5959
| [utf16_iter](https://github.com/hsivonen/utf16_iter) | 1.0.5 | [Henri Sivonen](mailto:[email protected]) | Apache-2.0 OR MIT |
6060
| [utf8_iter](https://github.com/hsivonen/utf8_iter) | 1.0.4 | [Henri Sivonen](mailto:[email protected]) | Apache-2.0 OR MIT |
6161
| [write16](https://github.com/hsivonen/write16) | 1.0.0 | | Apache-2.0 OR MIT |
62-
| [**write_atomic**](https://github.com/Blobfolio/write_atomic) | 0.5.1 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL |
62+
| [**write_atomic**](https://github.com/Blobfolio/write_atomic) | 0.5.2 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
6363
| [writeable](https://github.com/unicode-org/icu4x) | 0.5.5 | The ICU4X Project Developers | Unicode-3.0 |
64-
| [yoke](https://github.com/unicode-org/icu4x) | 0.7.4 | [Manish Goregaokar](mailto:[email protected]) | Unicode-3.0 |
65-
| [yoke-derive](https://github.com/unicode-org/icu4x) | 0.7.4 | [Manish Goregaokar](mailto:[email protected]) | Unicode-3.0 |
66-
| [zerofrom](https://github.com/unicode-org/icu4x) | 0.1.4 | [Manish Goregaokar](mailto:[email protected]) | Unicode-3.0 |
67-
| [zerofrom-derive](https://github.com/unicode-org/icu4x) | 0.1.4 | [Manish Goregaokar](mailto:[email protected]) | Unicode-3.0 |
64+
| [yoke](https://github.com/unicode-org/icu4x) | 0.7.5 | [Manish Goregaokar](mailto:[email protected]) | Unicode-3.0 |
65+
| [yoke-derive](https://github.com/unicode-org/icu4x) | 0.7.5 | [Manish Goregaokar](mailto:[email protected]) | Unicode-3.0 |
66+
| [zerofrom](https://github.com/unicode-org/icu4x) | 0.1.5 | [Manish Goregaokar](mailto:[email protected]) | Unicode-3.0 |
67+
| [zerofrom-derive](https://github.com/unicode-org/icu4x) | 0.1.5 | [Manish Goregaokar](mailto:[email protected]) | Unicode-3.0 |
6868
| [zerovec](https://github.com/unicode-org/icu4x) | 0.10.4 | The ICU4X Project Developers | Unicode-3.0 |
6969
| [zerovec-derive](https://github.com/unicode-org/icu4x) | 0.10.3 | [Manish Goregaokar](mailto:[email protected]) | Unicode-3.0 |
7070

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-bashman"
3-
version = "0.6.7"
3+
version = "0.6.8"
44
license = "WTFPL"
55
authors = ["Josh Stoik <[email protected]>"]
66
edition = "2021"
@@ -72,10 +72,10 @@ argyle = "0.10.*"
7272
[dependencies]
7373
argyle = "0.10.*"
7474
adbyss_psl = "0.15.*"
75-
dactyl = "0.7.4"
76-
fyi_msg = "1.2.*"
75+
dactyl = "0.8.*"
76+
fyi_msg = "1.3.*"
7777
oxford_join = "0.4.*"
78-
trimothy = "0.3.*"
78+
trimothy = "0.6.*"
7979
utc2k = "0.11.*"
8080
write_atomic = "0.5.*"
8181

release/man/cargo-bashman.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
.TH "CARGO BASHMAN" "1" "November 2024" "cargo\-bashman v0.6.7" "User Commands"
1+
.TH "CARGO BASHMAN" "1" "November 2024" "cargo\-bashman v0.6.8" "User Commands"
22
.SH NAME
3-
CARGO BASHMAN \- Manual page for cargo\-bashman v0.6.7.
3+
CARGO BASHMAN \- Manual page for cargo\-bashman v0.6.8.
44
.SH DESCRIPTION
55
A Cargo plugin to generate bash completions, man pages, and/or crate credits.
66
.SS USAGE:

src/bash.rs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pub(super) struct BashWriter<'a> {
3333
subcommands: Vec<Subcommand<'a>>,
3434
}
3535

36-
impl<'a> fmt::Display for BashWriter<'a> {
36+
impl fmt::Display for BashWriter<'_> {
3737
/// # Write Completions!
3838
///
3939
/// This method outputs the _entire_ contents of the completions file. It
@@ -135,7 +135,7 @@ impl<'a> TryFrom<&'a Manifest> for BashWriter<'a> {
135135
}
136136
}
137137

138-
impl<'a> BashWriter<'a> {
138+
impl BashWriter<'_> {
139139
/// # Main Command.
140140
///
141141
/// We store the primary and subcommands together because they mostly work
@@ -196,7 +196,7 @@ impl<'a> BashWriter<'a> {
196196
/// a single `write!` pattern.
197197
struct ChooserCase<'a>(&'a str, &'a str);
198198

199-
impl<'a> fmt::Display for ChooserCase<'a> {
199+
impl fmt::Display for ChooserCase<'_> {
200200
/// # Write the Case.
201201
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
202202
writeln!(f, "\
@@ -226,7 +226,7 @@ impl<'a> From<&'a Subcommand<'a>> for ChooserCase<'a> {
226226
/// `write!` pattern.
227227
struct SubcmdCase<'a>(&'a str);
228228

229-
impl<'a> fmt::Display for SubcmdCase<'a> {
229+
impl fmt::Display for SubcmdCase<'_> {
230230
/// # Write Case.
231231
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
232232
writeln!(f, "\
@@ -263,7 +263,7 @@ struct Key<'a> {
263263
flags: u8,
264264
}
265265

266-
impl<'a> fmt::Display for Key<'a> {
266+
impl fmt::Display for Key<'_> {
267267
/// # Write Conditions.
268268
///
269269
/// This generates code to add the key(s) to the completion matcher for a
@@ -329,7 +329,7 @@ impl<'a> From<&'a OptionFlag> for Key<'a> {
329329
}
330330
}
331331

332-
impl<'a> Key<'a> {
332+
impl Key<'_> {
333333
/// # Flag: Allow Duplicates?
334334
const FLAG_DUPLICATE: u8 = 0b0001;
335335

@@ -366,7 +366,7 @@ struct Subcommand<'a> {
366366
fname: String,
367367
}
368368

369-
impl<'a> fmt::Display for Subcommand<'a> {
369+
impl fmt::Display for Subcommand<'_> {
370370
#[inline]
371371
/// # Write Completion Method.
372372
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
@@ -413,19 +413,19 @@ impl<'a> From<&'a crate::Subcommand> for Subcommand<'a> {
413413
}
414414
}
415415

416-
impl<'a> Eq for Subcommand<'a> {}
416+
impl Eq for Subcommand<'_> {}
417417

418-
impl<'a> Ord for Subcommand<'a> {
418+
impl Ord for Subcommand<'_> {
419419
#[inline]
420420
fn cmp(&self, other: &Self) -> Ordering { self.fname.cmp(&other.fname) }
421421
}
422422

423-
impl<'a> PartialEq for Subcommand<'a> {
423+
impl PartialEq for Subcommand<'_> {
424424
#[inline]
425425
fn eq(&self, other: &Self) -> bool { self.fname == other.fname }
426426
}
427427

428-
impl<'a> PartialOrd for Subcommand<'a> {
428+
impl PartialOrd for Subcommand<'_> {
429429
#[inline]
430430
fn partial_cmp(&self, other: &Self) -> Option<Ordering> { Some(self.cmp(other)) }
431431
}

src/credits.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub(super) struct CreditsWriter<'a> {
4747
dependencies: &'a [Dependency],
4848
}
4949

50-
impl<'a> fmt::Display for CreditsWriter<'a> {
50+
impl fmt::Display for CreditsWriter<'_> {
5151
/// # Write Credits!
5252
///
5353
/// This method writes a markdown table entry for the dependency.
@@ -132,7 +132,7 @@ impl<'a> TryFrom<&'a Manifest> for CreditsWriter<'a> {
132132
}
133133
}
134134

135-
impl<'a> CreditsWriter<'a> {
135+
impl CreditsWriter<'_> {
136136
/// # Write Credits!
137137
///
138138
/// This method is called by `main.rs` to generate and save the crate

src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ static CWD: LazyLock<Option<PathBuf>> = LazyLock::new(||
125125

126126
/// # Main.
127127
fn main() {
128-
match _main() {
128+
match main__() {
129129
Ok(()) => {},
130130
Err(BashManError::Target) => {
131131
Msg::error("Target must be one of the following:")
@@ -145,7 +145,7 @@ fn main() {
145145

146146
#[inline]
147147
/// # Actual main.
148-
fn _main() -> Result<(), BashManError> {
148+
fn main__() -> Result<(), BashManError> {
149149
/// # Skipped Bash.
150150
const SKIPPED_BASH: u8 = 0b0001;
151151

@@ -292,7 +292,7 @@ impl<'a> From<&'a Path> for RelativePath<'a> {
292292
fn from(src: &'a Path) -> Self { Self(src.to_string_lossy()) }
293293
}
294294

295-
impl<'a> fmt::Display for RelativePath<'a> {
295+
impl fmt::Display for RelativePath<'_> {
296296
#[inline]
297297
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
298298
/// # Strip Prefix.

src/man.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ impl<'a> TryFrom<&'a Manifest> for ManWriter<'a> {
8888
}
8989
}
9090

91-
impl<'a> ManWriter<'a> {
91+
impl ManWriter<'_> {
9292
/// # Write to File.
9393
///
9494
/// This method is called by `main.rs` to generate and save the manual
@@ -171,7 +171,7 @@ struct Man<'a> {
171171
sections: Vec<Section<'a>>,
172172
}
173173

174-
impl<'a> fmt::Display for Man<'a> {
174+
impl fmt::Display for Man<'_> {
175175
/// # Write Section.
176176
///
177177
/// This generates appropriate man code for the section.
@@ -228,7 +228,7 @@ impl<'a> fmt::Display for Man<'a> {
228228
}
229229
}
230230

231-
impl<'a> Man<'a> {
231+
impl Man<'_> {
232232
/// # Has Flags?
233233
const HAS_FLAGS: u8 = 0b0001;
234234

@@ -366,7 +366,7 @@ struct Section<'a> {
366366
data: Vec<SectionData<'a>>,
367367
}
368368

369-
impl<'a> fmt::Display for Section<'a> {
369+
impl fmt::Display for Section<'_> {
370370
/// # Write Section.
371371
///
372372
/// This generates appropriate man code for the section.
@@ -404,7 +404,7 @@ struct SectionData<'a> {
404404
indent: bool,
405405
}
406406

407-
impl<'a> fmt::Display for SectionData<'a> {
407+
impl fmt::Display for SectionData<'_> {
408408
/// # Write Entry.
409409
///
410410
/// This generates appropriate man code for a given data based on the
@@ -529,7 +529,7 @@ impl<'a> From<&'a TrailingArg> for SectionData<'a> {
529529
/// # Escape Hyphens.
530530
struct EscapeHyphens<'a>(&'a str);
531531

532-
impl<'a> fmt::Display for EscapeHyphens<'a> {
532+
impl fmt::Display for EscapeHyphens<'_> {
533533
/// # Write Escaped.
534534
///
535535
/// MAN pages don't seem to like hyphens; this will escape any as they're

0 commit comments

Comments
 (0)