Skip to content

Commit befad43

Browse files
committed
release: 0.3.14
2 parents 292346b + dc9be68 commit befad43

File tree

6 files changed

+32
-31
lines changed

6 files changed

+32
-31
lines changed

CREDITS.md

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,42 @@
11
# Project Dependencies
22
Package: cargo-bashman
3-
Version: 0.3.13
4-
Generated: 2022-09-22 18:56:47 UTC
3+
Version: 0.3.14
4+
Generated: 2022-11-03 15:40:25 UTC
55

66
| Package | Version | Author(s) | License |
77
| ---- | ---- | ---- | ---- |
8-
| [adbyss_psl](https://github.com/Blobfolio/adbyss) | 0.7.13 | [Josh Stoik](mailto:[email protected]) | WTFPL |
9-
| [ahash](https://github.com/tkaitchuck/ahash) | 0.8.0 | [Tom Kaitchuck](mailto:[email protected]) | Apache-2.0 or MIT |
8+
| [adbyss_psl](https://github.com/Blobfolio/adbyss) | 0.7.14 | [Josh Stoik](mailto:[email protected]) | WTFPL |
9+
| [ahash](https://github.com/tkaitchuck/ahash) | 0.8.1 | [Tom Kaitchuck](mailto:[email protected]) | Apache-2.0 or MIT |
1010
| [argyle](https://github.com/Blobfolio/argyle) | 0.6.3 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
11-
| [bashman_core](https://github.com/Blobfolio/bashman) | 0.3.13 | [Josh Stoik](mailto:[email protected]) | WTFPL |
11+
| [bashman_core](https://github.com/Blobfolio/bashman) | 0.3.14 | [Josh Stoik](mailto:[email protected]) | WTFPL |
1212
| [camino](https://github.com/camino-rs/camino) | 1.1.1 | [Without Boats](mailto:[email protected]), [Ashley Williams](mailto:[email protected]), [Steve Klabnik](mailto:[email protected]), and [Rain](mailto:[email protected]) | Apache-2.0 or MIT |
1313
| [cargo-platform](https://github.com/rust-lang/cargo) | 0.1.2 | The Cargo Project Developers | Apache-2.0 or MIT |
14-
| [cargo_metadata](https://github.com/oli-obk/cargo_metadata) | 0.15.0 | [Oliver Schneider](mailto:[email protected]) | MIT |
14+
| [cargo_metadata](https://github.com/oli-obk/cargo_metadata) | 0.15.1 | [Oliver Schneider](mailto:[email protected]) | MIT |
1515
| [cfg-if](https://github.com/alexcrichton/cfg-if) | 1.0.0 | [Alex Crichton](mailto:[email protected]) | Apache-2.0 or MIT |
16-
| [dactyl](https://github.com/Blobfolio/dactyl) | 0.4.5 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
17-
| [fyi_msg](https://github.com/Blobfolio/fyi) | 0.10.2 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
16+
| [dactyl](https://github.com/Blobfolio/dactyl) | 0.4.6 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
17+
| [fyi_msg](https://github.com/Blobfolio/fyi) | 0.10.3 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
1818
| [hashbrown](https://github.com/rust-lang/hashbrown) | 0.12.3 | [Amanieu d'Antras](mailto:[email protected]) | Apache-2.0 or MIT |
1919
| [indexmap](https://github.com/bluss/indexmap) | 1.9.1 | | Apache-2.0 or MIT |
20-
| [itoa](https://github.com/dtolnay/itoa) | 1.0.3 | [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
21-
| [libdeflate-sys](https://github.com/adamkewley/libdeflater) | 0.10.0 | [Adam Kewley](mailto:[email protected]) | Apache-2.0 |
22-
| [libdeflater](https://github.com/adamkewley/libdeflater) | 0.10.0 | [Adam Kewley](mailto:[email protected]) | Apache-2.0 |
20+
| [itoa](https://github.com/dtolnay/itoa) | 1.0.4 | [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
21+
| [libdeflate-sys](https://github.com/adamkewley/libdeflater) | 0.11.0 | [Adam Kewley](mailto:[email protected]) | Apache-2.0 |
22+
| [libdeflater](https://github.com/adamkewley/libdeflater) | 0.11.0 | [Adam Kewley](mailto:[email protected]) | Apache-2.0 |
2323
| [num-traits](https://github.com/rust-num/num-traits) | 0.2.15 | The Rust Project Developers | Apache-2.0 or MIT |
2424
| [oxford_join](https://github.com/Blobfolio/oxford_join) | 0.2.5 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
25-
| [proc-macro2](https://github.com/dtolnay/proc-macro2) | 1.0.43 | [David Tolnay](mailto:[email protected]) and [Alex Crichton](mailto:[email protected]) | Apache-2.0 or MIT |
25+
| [proc-macro2](https://github.com/dtolnay/proc-macro2) | 1.0.47 | [David Tolnay](mailto:[email protected]) and [Alex Crichton](mailto:[email protected]) | Apache-2.0 or MIT |
2626
| [quote](https://github.com/dtolnay/quote) | 1.0.21 | [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
2727
| [ryu](https://github.com/dtolnay/ryu) | 1.0.11 | [David Tolnay](mailto:[email protected]) | Apache-2.0 or BSL-1.0 |
2828
| [semver](https://github.com/dtolnay/semver) | 1.0.14 | [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
29-
| [serde](https://github.com/serde-rs/serde) | 1.0.145 | [Erick Tryzelaar](mailto:[email protected]) and [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
30-
| [serde_derive](https://github.com/serde-rs/serde) | 1.0.145 | [Erick Tryzelaar](mailto:[email protected]) and [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
31-
| [serde_json](https://github.com/serde-rs/json) | 1.0.85 | [Erick Tryzelaar](mailto:[email protected]) and [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
32-
| [syn](https://github.com/dtolnay/syn) | 1.0.100 | [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
29+
| [serde](https://github.com/serde-rs/serde) | 1.0.147 | [Erick Tryzelaar](mailto:[email protected]) and [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
30+
| [serde_derive](https://github.com/serde-rs/serde) | 1.0.147 | [Erick Tryzelaar](mailto:[email protected]) and [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
31+
| [serde_json](https://github.com/serde-rs/json) | 1.0.87 | [Erick Tryzelaar](mailto:[email protected]) and [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
32+
| [syn](https://github.com/dtolnay/syn) | 1.0.103 | [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
33+
| [thiserror](https://github.com/dtolnay/thiserror) | 1.0.37 | [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
34+
| [thiserror-impl](https://github.com/dtolnay/thiserror) | 1.0.37 | [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
3335
| [tinyvec](https://github.com/Lokathor/tinyvec) | 1.6.0 | [Lokathor](mailto:[email protected]) | Apache-2.0, MIT, or Zlib |
3436
| [tinyvec_macros](https://github.com/Soveu/tinyvec_macros) | 0.1.0 | [Soveu](mailto:[email protected]) | Apache-2.0, MIT, or Zlib |
3537
| [toml](https://github.com/alexcrichton/toml-rs) | 0.5.9 | [Alex Crichton](mailto:[email protected]) | Apache-2.0 or MIT |
3638
| [trimothy](https://github.com/Blobfolio/trimothy) | 0.1.4 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
3739
| [unicode-bidi](https://github.com/servo/unicode-bidi) | 0.3.8 | The Servo Project Developers | Apache-2.0 or MIT |
38-
| [unicode-ident](https://github.com/dtolnay/unicode-ident) | 1.0.4 | [David Tolnay](mailto:[email protected]) | Apache-2.0 AND Unicode-DFS-2016 or MIT |
40+
| [unicode-ident](https://github.com/dtolnay/unicode-ident) | 1.0.5 | [David Tolnay](mailto:[email protected]) | Apache-2.0 AND Unicode-DFS-2016 or MIT |
3941
| [unicode-normalization](https://github.com/unicode-rs/unicode-normalization) | 0.1.22 | [kwantam](mailto:[email protected]) and [Manish Goregaokar](mailto:[email protected]) | Apache-2.0 or MIT |
40-
| [utc2k](https://github.com/Blobfolio/utc2k) | 0.5.9 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
42+
| [utc2k](https://github.com/Blobfolio/utc2k) | 0.5.10 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |

bashman/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-bashman"
3-
version = "0.3.13"
3+
version = "0.3.14"
44
license = "WTFPL"
55
authors = ["Josh Stoik <[email protected]>"]
66
edition = "2021"

bashman_core/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bashman_core"
3-
version = "0.3.13"
3+
version = "0.3.14"
44
license = "WTFPL"
55
authors = ["Josh Stoik <[email protected]>"]
66
edition = "2021"
@@ -12,10 +12,10 @@ publish = false
1212
[dependencies]
1313
adbyss_psl = "0.7.*"
1414
argyle = "0.6.*"
15-
cargo_metadata = "=0.15.0"
15+
cargo_metadata = "=0.15.1"
1616
fyi_msg = "0.10.*"
1717
indexmap = "=1.9.1"
18-
libdeflater = "=0.10.0"
18+
libdeflater = "=0.11.0"
1919
oxford_join = "0.2.*"
2020
trimothy = "0.1.*"
2121
utc2k = "0.5.*"

bashman_core/src/credits.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ impl PartialOrd for Dependency {
7979
pub(super) fn get_dependencies(src: &Path, features: Option<&str>) -> Result<Vec<Dependency>, BashManError> {
8080
let metadata = {
8181
let mut cmd = MetadataCommand::new();
82-
cmd.manifest_path(&src);
82+
cmd.manifest_path(src);
8383

8484
// Enable extra features?
8585
if let Some(features) = features {

bashman_core/src/data.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ impl<'a> Command<'a> {
357357
/// # Write For Real.
358358
fn _write_man(&self, path: &Path, data: &[u8]) -> Result<(), BashManError> {
359359
// Write plain.
360-
File::create(&path)
360+
File::create(path)
361361
.and_then(|mut f| f.write_all(data).and_then(|_| f.flush()))
362362
.map_err(|_| BashManError::WriteSubMan(Box::from(self.bin)))?;
363363

@@ -491,11 +491,10 @@ impl<'a> Command<'a> {
491491

492492
/// # Man usage.
493493
fn man_usage(&self) -> String {
494-
let mut out: String =
495-
match self.parent {
496-
Some(p) => format!("{} {}", p, self.bin),
497-
None => self.bin.to_string(),
498-
};
494+
let mut out: String = self.parent.map_or_else(
495+
|| self.bin.to_string(),
496+
|p| format!("{} {}", p, self.bin),
497+
);
499498

500499
if 0 != self.flags & FLAG_SUBCOMMANDS {
501500
out.push_str(" [SUBCOMMAND]");

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" "September 2022" "Cargo BashMan v0.3.13" "User Commands"
1+
.TH "CARGO BASHMAN" "1" "November 2022" "Cargo BashMan v0.3.14" "User Commands"
22
.SH NAME
3-
Cargo BashMan \- Manual page for cargo\-bashman v0.3.13.
3+
Cargo BashMan \- Manual page for cargo\-bashman v0.3.14.
44
.SH DESCRIPTION
55
A Cargo plugin to generate BASH completions and MAN pages.
66
.SS USAGE:

0 commit comments

Comments
 (0)