Skip to content

Commit

Permalink
release: 0.6.8
Browse files Browse the repository at this point in the history
  • Loading branch information
joshstoik1 committed Nov 28, 2024
2 parents 9c5ae9c + 9c4645b commit b27a320
Show file tree
Hide file tree
Showing 11 changed files with 102 additions and 94 deletions.
50 changes: 25 additions & 25 deletions CREDITS.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# Project Dependencies
Package: cargo-bashman
Version: 0.6.7
Version: 0.6.8
Target: x86_64-unknown-linux-gnu
Generated: 2024-11-11 20:33:44 UTC
Generated: 2024-11-28 20:18:31 UTC

| Package | Version | Author(s) | License |
| ---- | ---- | ---- | ---- |
| [**adbyss_psl**](https://github.com/Blobfolio/adbyss) | 0.15.0 | [Josh Stoik](mailto:[email protected]) | WTFPL |
| [**argyle**](https://github.com/Blobfolio/argyle) | 0.10.0 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL |
| [**adbyss_psl**](https://github.com/Blobfolio/adbyss) | 0.15.1 | [Josh Stoik](mailto:[email protected]) | WTFPL |
| [**argyle**](https://github.com/Blobfolio/argyle) | 0.10.1 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
| [bitflags](https://github.com/bitflags/bitflags) | 2.6.0 | The Rust Project Developers | MIT OR Apache-2.0 |
| [cc](https://github.com/rust-lang/cc-rs) ⚒️ | 1.1.37 | [Alex Crichton](mailto:[email protected]) | MIT OR Apache-2.0 |
| [cc](https://github.com/rust-lang/cc-rs) ⚒️ | 1.2.1 | [Alex Crichton](mailto:[email protected]) | MIT OR Apache-2.0 |
| [cfg-if](https://github.com/alexcrichton/cfg-if) | 1.0.0 | [Alex Crichton](mailto:[email protected]) | MIT OR Apache-2.0 |
| [**dactyl**](https://github.com/Blobfolio/dactyl) | 0.7.4 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL |
| [**dactyl**](https://github.com/Blobfolio/dactyl) | 0.8.0 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
| [displaydoc](https://github.com/yaahc/displaydoc) | 0.2.5 | [Jane Lusby](mailto:[email protected]) | MIT OR Apache-2.0 |
| [fastrand](https://github.com/smol-rs/fastrand) | 2.2.0 | [Stjepan Glavina](mailto:[email protected]) | Apache-2.0 OR MIT |
| [form_urlencoded](https://github.com/servo/rust-url) | 1.2.1 | The rust-url developers | MIT OR Apache-2.0 |
| [**fyi_msg**](https://github.com/Blobfolio/fyi) | 1.2.0 | [Josh Stoik](mailto:[email protected]) | WTFPL |
| [**fyi_msg**](https://github.com/Blobfolio/fyi) | 1.3.0 | [Josh Stoik](mailto:[email protected]) | WTFPL |
| [icu_collections](https://github.com/unicode-org/icu4x) | 1.5.0 | The ICU4X Project Developers | Unicode-3.0 |
| [icu_locid](https://github.com/unicode-org/icu4x) | 1.5.0 | The ICU4X Project Developers | Unicode-3.0 |
| [icu_locid_transform](https://github.com/unicode-org/icu4x) | 1.5.0 | The ICU4X Project Developers | Unicode-3.0 |
Expand All @@ -28,43 +28,43 @@
| [icu_provider_macros](https://github.com/unicode-org/icu4x) | 1.5.0 | The ICU4X Project Developers | Unicode-3.0 |
| [idna](https://github.com/servo/rust-url/) | 1.0.3 | The rust-url developers | MIT OR Apache-2.0 |
| [idna_adapter](https://github.com/hsivonen/idna_adapter) | 1.2.0 | The rust-url developers | Apache-2.0 OR MIT |
| [itoa](https://github.com/dtolnay/itoa) | 1.0.11 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
| [itoa](https://github.com/dtolnay/itoa) | 1.0.14 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
| [libdeflate-sys](https://github.com/adamkewley/libdeflater) | 1.22.0 | [Adam Kewley](mailto:[email protected]) | Apache-2.0 |
| [**libdeflater**](https://github.com/adamkewley/libdeflater) | 1.22.0 | [Adam Kewley](mailto:[email protected]) | Apache-2.0 |
| [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 |
| [litemap](https://github.com/unicode-org/icu4x) | 0.7.3 | The ICU4X Project Developers | Unicode-3.0 |
| [litemap](https://github.com/unicode-org/icu4x) | 0.7.4 | The ICU4X Project Developers | Unicode-3.0 |
| [memchr](https://github.com/BurntSushi/memchr) | 2.7.4 | [Andrew Gallant](mailto:[email protected]) and bluss | Unlicense OR MIT |
| [once_cell](https://github.com/matklad/once_cell) | 1.20.2 | [Aleksey Kladov](mailto:[email protected]) | MIT OR Apache-2.0 |
| [**oxford_join**](https://github.com/Blobfolio/oxford_join) | 0.4.0 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL |
| [**oxford_join**](https://github.com/Blobfolio/oxford_join) | 0.4.1 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
| [percent-encoding](https://github.com/servo/rust-url/) | 2.3.1 | The rust-url developers | MIT OR Apache-2.0 |
| [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 |
| [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 |
| [quote](https://github.com/dtolnay/quote) | 1.0.37 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
| [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 |
| [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 |
| [ryu](https://github.com/dtolnay/ryu) | 1.0.18 | [David Tolnay](mailto:[email protected]) | Apache-2.0 OR BSL-1.0 |
| [**semver**](https://github.com/dtolnay/semver) | 1.0.23 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
| [**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 |
| [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 |
| [**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 |
| [**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 |
| [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 |
| [**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 |
| [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 |
| [smallvec](https://github.com/servo/rust-smallvec) | 1.13.2 | The Servo Project Developers | MIT OR Apache-2.0 |
| [stable_deref_trait](https://github.com/storyyeller/stable_deref_trait) | 1.2.0 | [Robert Grosse](mailto:[email protected]) | MIT OR Apache-2.0 |
| [syn](https://github.com/dtolnay/syn) | 2.0.87 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
| [syn](https://github.com/dtolnay/syn) | 2.0.89 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
| [synstructure](https://github.com/mystor/synstructure) | 0.13.1 | [Nika Layzell](mailto:[email protected]) | MIT |
| [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 |
| [tinystr](https://github.com/unicode-org/icu4x) | 0.7.6 | The ICU4X Project Developers | Unicode-3.0 |
| [**trimothy**](https://github.com/Blobfolio/trimothy) | 0.3.1 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL |
| [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 |
| [**url**](https://github.com/servo/rust-url) | 2.5.3 | The rust-url developers | MIT OR Apache-2.0 |
| [**utc2k**](https://github.com/Blobfolio/utc2k) | 0.11.0 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL |
| [**trimothy**](https://github.com/Blobfolio/trimothy) | 0.6.0 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
| [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 |
| [**url**](https://github.com/servo/rust-url) | 2.5.4 | The rust-url developers | MIT OR Apache-2.0 |
| [**utc2k**](https://github.com/Blobfolio/utc2k) | 0.11.1 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
| [utf16_iter](https://github.com/hsivonen/utf16_iter) | 1.0.5 | [Henri Sivonen](mailto:[email protected]) | Apache-2.0 OR MIT |
| [utf8_iter](https://github.com/hsivonen/utf8_iter) | 1.0.4 | [Henri Sivonen](mailto:[email protected]) | Apache-2.0 OR MIT |
| [write16](https://github.com/hsivonen/write16) | 1.0.0 | | Apache-2.0 OR MIT |
| [**write_atomic**](https://github.com/Blobfolio/write_atomic) | 0.5.1 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL |
| [**write_atomic**](https://github.com/Blobfolio/write_atomic) | 0.5.2 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
| [writeable](https://github.com/unicode-org/icu4x) | 0.5.5 | The ICU4X Project Developers | Unicode-3.0 |
| [yoke](https://github.com/unicode-org/icu4x) | 0.7.4 | [Manish Goregaokar](mailto:[email protected]) | Unicode-3.0 |
| [yoke-derive](https://github.com/unicode-org/icu4x) | 0.7.4 | [Manish Goregaokar](mailto:[email protected]) | Unicode-3.0 |
| [zerofrom](https://github.com/unicode-org/icu4x) | 0.1.4 | [Manish Goregaokar](mailto:[email protected]) | Unicode-3.0 |
| [zerofrom-derive](https://github.com/unicode-org/icu4x) | 0.1.4 | [Manish Goregaokar](mailto:[email protected]) | Unicode-3.0 |
| [yoke](https://github.com/unicode-org/icu4x) | 0.7.5 | [Manish Goregaokar](mailto:[email protected]) | Unicode-3.0 |
| [yoke-derive](https://github.com/unicode-org/icu4x) | 0.7.5 | [Manish Goregaokar](mailto:[email protected]) | Unicode-3.0 |
| [zerofrom](https://github.com/unicode-org/icu4x) | 0.1.5 | [Manish Goregaokar](mailto:[email protected]) | Unicode-3.0 |
| [zerofrom-derive](https://github.com/unicode-org/icu4x) | 0.1.5 | [Manish Goregaokar](mailto:[email protected]) | Unicode-3.0 |
| [zerovec](https://github.com/unicode-org/icu4x) | 0.10.4 | The ICU4X Project Developers | Unicode-3.0 |
| [zerovec-derive](https://github.com/unicode-org/icu4x) | 0.10.3 | [Manish Goregaokar](mailto:[email protected]) | Unicode-3.0 |

Expand Down
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-bashman"
version = "0.6.7"
version = "0.6.8"
license = "WTFPL"
authors = ["Josh Stoik <[email protected]>"]
edition = "2021"
Expand Down Expand Up @@ -72,10 +72,10 @@ argyle = "0.10.*"
[dependencies]
argyle = "0.10.*"
adbyss_psl = "0.15.*"
dactyl = "0.7.4"
fyi_msg = "1.2.*"
dactyl = "0.8.*"
fyi_msg = "1.3.*"
oxford_join = "0.4.*"
trimothy = "0.3.*"
trimothy = "0.6.*"
utc2k = "0.11.*"
write_atomic = "0.5.*"

Expand Down
4 changes: 2 additions & 2 deletions release/man/cargo-bashman.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH "CARGO BASHMAN" "1" "November 2024" "cargo\-bashman v0.6.7" "User Commands"
.TH "CARGO BASHMAN" "1" "November 2024" "cargo\-bashman v0.6.8" "User Commands"
.SH NAME
CARGO BASHMAN \- Manual page for cargo\-bashman v0.6.7.
CARGO BASHMAN \- Manual page for cargo\-bashman v0.6.8.
.SH DESCRIPTION
A Cargo plugin to generate bash completions, man pages, and/or crate credits.
.SS USAGE:
Expand Down
22 changes: 11 additions & 11 deletions src/bash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub(super) struct BashWriter<'a> {
subcommands: Vec<Subcommand<'a>>,
}

impl<'a> fmt::Display for BashWriter<'a> {
impl fmt::Display for BashWriter<'_> {
/// # Write Completions!
///
/// This method outputs the _entire_ contents of the completions file. It
Expand Down Expand Up @@ -135,7 +135,7 @@ impl<'a> TryFrom<&'a Manifest> for BashWriter<'a> {
}
}

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

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

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

impl<'a> fmt::Display for Key<'a> {
impl fmt::Display for Key<'_> {
/// # Write Conditions.
///
/// This generates code to add the key(s) to the completion matcher for a
Expand Down Expand Up @@ -329,7 +329,7 @@ impl<'a> From<&'a OptionFlag> for Key<'a> {
}
}

impl<'a> Key<'a> {
impl Key<'_> {
/// # Flag: Allow Duplicates?
const FLAG_DUPLICATE: u8 = 0b0001;

Expand Down Expand Up @@ -366,7 +366,7 @@ struct Subcommand<'a> {
fname: String,
}

impl<'a> fmt::Display for Subcommand<'a> {
impl fmt::Display for Subcommand<'_> {
#[inline]
/// # Write Completion Method.
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
Expand Down Expand Up @@ -413,19 +413,19 @@ impl<'a> From<&'a crate::Subcommand> for Subcommand<'a> {
}
}

impl<'a> Eq for Subcommand<'a> {}
impl Eq for Subcommand<'_> {}

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

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

impl<'a> PartialOrd for Subcommand<'a> {
impl PartialOrd for Subcommand<'_> {
#[inline]
fn partial_cmp(&self, other: &Self) -> Option<Ordering> { Some(self.cmp(other)) }
}
Expand Down
4 changes: 2 additions & 2 deletions src/credits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub(super) struct CreditsWriter<'a> {
dependencies: &'a [Dependency],
}

impl<'a> fmt::Display for CreditsWriter<'a> {
impl fmt::Display for CreditsWriter<'_> {
/// # Write Credits!
///
/// This method writes a markdown table entry for the dependency.
Expand Down Expand Up @@ -132,7 +132,7 @@ impl<'a> TryFrom<&'a Manifest> for CreditsWriter<'a> {
}
}

impl<'a> CreditsWriter<'a> {
impl CreditsWriter<'_> {
/// # Write Credits!
///
/// This method is called by `main.rs` to generate and save the crate
Expand Down
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ static CWD: LazyLock<Option<PathBuf>> = LazyLock::new(||

/// # Main.
fn main() {
match _main() {
match main__() {
Ok(()) => {},
Err(BashManError::Target) => {
Msg::error("Target must be one of the following:")
Expand All @@ -145,7 +145,7 @@ fn main() {

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

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

impl<'a> fmt::Display for RelativePath<'a> {
impl fmt::Display for RelativePath<'_> {
#[inline]
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
/// # Strip Prefix.
Expand Down
12 changes: 6 additions & 6 deletions src/man.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl<'a> TryFrom<&'a Manifest> for ManWriter<'a> {
}
}

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

impl<'a> fmt::Display for Man<'a> {
impl fmt::Display for Man<'_> {
/// # Write Section.
///
/// This generates appropriate man code for the section.
Expand Down Expand Up @@ -228,7 +228,7 @@ impl<'a> fmt::Display for Man<'a> {
}
}

impl<'a> Man<'a> {
impl Man<'_> {
/// # Has Flags?
const HAS_FLAGS: u8 = 0b0001;

Expand Down Expand Up @@ -366,7 +366,7 @@ struct Section<'a> {
data: Vec<SectionData<'a>>,
}

impl<'a> fmt::Display for Section<'a> {
impl fmt::Display for Section<'_> {
/// # Write Section.
///
/// This generates appropriate man code for the section.
Expand Down Expand Up @@ -404,7 +404,7 @@ struct SectionData<'a> {
indent: bool,
}

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

impl<'a> fmt::Display for EscapeHyphens<'a> {
impl fmt::Display for EscapeHyphens<'_> {
/// # Write Escaped.
///
/// MAN pages don't seem to like hyphens; this will escape any as they're
Expand Down
Loading

0 comments on commit b27a320

Please sign in to comment.