Skip to content

Commit 3d51d65

Browse files
committed
chore(release): Release abcrypt-cli version 0.3.3
2 parents df9fc52 + f755855 commit 3d51d65

25 files changed

+125
-85
lines changed

.github/workflows/CD.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
targets: ${{ matrix.target }}
7777
- name: Install cross
7878
if: ${{ matrix.use-cross }}
79-
uses: taiki-e/[email protected].12
79+
uses: taiki-e/[email protected].14
8080
with:
8181
tool: cross
8282
- name: Cache build artifacts

Cargo.lock

+23-23
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repository = "https://github.com/sorairolake/abcrypt"
1717

1818
[workspace.dependencies]
1919
anyhow = "1.0.86"
20-
clap = { version = "4.5.11", features = ["derive"] }
20+
clap = { version = "4.5.13", features = ["derive"] }
2121
dialoguer = { version = "0.11.0", default-features = false, features = ["password"] }
2222

2323
[profile.release.package.abcrypt-cli]

crates/abcrypt/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ serde = { version = "1.0.204", default-features = false, features = ["derive"],
4949
anyhow.workspace = true
5050
clap.workspace = true
5151
dialoguer.workspace = true
52-
serde_json = "1.0.121"
52+
serde_json = "1.0.122"
5353
serde_test = "1.0.176"
5454

5555
[features]

crates/abcrypt/examples/decrypt.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ struct Opt {
3131

3232
/// Input file.
3333
///
34-
/// If [FILE] is not specified, data will be read from stdin.
34+
/// If [FILE] is not specified, data will be read from standard input.
3535
#[arg(value_name("FILE"))]
3636
input: Option<PathBuf>,
3737
}
@@ -45,7 +45,7 @@ fn main() -> anyhow::Result<()> {
4545
let mut buf = Vec::new();
4646
io::stdin()
4747
.read_to_end(&mut buf)
48-
.context("could not read data from stdin")?;
48+
.context("could not read data from standard input")?;
4949
Ok(buf)
5050
}?;
5151

@@ -67,6 +67,6 @@ fn main() -> anyhow::Result<()> {
6767
} else {
6868
io::stdout()
6969
.write_all(&plaintext)
70-
.context("could not write data to stdout")
70+
.context("could not write data to standard output")
7171
}
7272
}

crates/abcrypt/examples/encrypt.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ struct Opt {
4343

4444
/// Input file.
4545
///
46-
/// If [FILE] is not specified, data will be read from stdin.
46+
/// If [FILE] is not specified, data will be read from standard input.
4747
#[arg(value_name("FILE"))]
4848
input: Option<PathBuf>,
4949
}
@@ -57,7 +57,7 @@ fn main() -> anyhow::Result<()> {
5757
let mut buf = Vec::new();
5858
io::stdin()
5959
.read_to_end(&mut buf)
60-
.context("could not read data from stdin")?;
60+
.context("could not read data from standard input")?;
6161
Ok(buf)
6262
}?;
6363

@@ -75,6 +75,6 @@ fn main() -> anyhow::Result<()> {
7575
} else {
7676
io::stdout()
7777
.write_all(&ciphertext)
78-
.context("could not write data to stdout")
78+
.context("could not write data to standard output")
7979
}
8080
}

crates/abcrypt/examples/info.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ struct Opt {
3030

3131
/// Input file.
3232
///
33-
/// If [FILE] is not specified, data will be read from stdin.
33+
/// If [FILE] is not specified, data will be read from standard input.
3434
#[arg(value_name("FILE"))]
3535
input: Option<PathBuf>,
3636
}
@@ -44,7 +44,7 @@ fn main() -> anyhow::Result<()> {
4444
let mut buf = Vec::new();
4545
io::stdin()
4646
.read_to_end(&mut buf)
47-
.context("could not read data from stdin")?;
47+
.context("could not read data from standard input")?;
4848
Ok(buf)
4949
}?;
5050

crates/cli/CHANGELOG.adoc

+7
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ All notable changes to this project will be documented in this file.
1414
The format is based on https://keepachangelog.com/[Keep a Changelog], and this
1515
project adheres to https://semver.org/[Semantic Versioning].
1616

17+
== {compare-url}/abcrypt-cli-v0.3.2\...abcrypt-cli-v0.3.3[0.3.3] - 2024-08-04
18+
19+
=== Changed
20+
21+
* Change `--passphrase-from-env` to take an UTF-8 string as an environment
22+
variable key ({pull-request-url}/531[#531])
23+
1724
== {compare-url}/abcrypt-cli-v0.3.1\...abcrypt-cli-v0.3.2[0.3.2] - 2024-04-17
1825

1926
=== Changed

crates/cli/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[package]
66
name = "abcrypt-cli"
7-
version = "0.3.2"
7+
version = "0.3.3"
88
authors.workspace = true
99
edition.workspace = true
1010
rust-version.workspace = true
@@ -28,10 +28,10 @@ abcrypt = { version = "0.3.6", path = "../abcrypt", features = ["serde"] }
2828
anyhow.workspace = true
2929
byte-unit = "5.1.4"
3030
clap = { workspace = true, features = ["wrap_help"] }
31-
clap_complete = "4.5.11"
31+
clap_complete = "4.5.12"
3232
clap_complete_nushell = "4.5.3"
3333
dialoguer.workspace = true
34-
serde_json = { version = "1.0.121", optional = true }
34+
serde_json = { version = "1.0.122", optional = true }
3535
sysexits = "0.8.1"
3636

3737
[dev-dependencies]

crates/cli/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Output:
8383

8484
### Generate shell completion
8585

86-
`--generate-completion` option generates shell completions to stdout.
86+
`--generate-completion` option generates shell completions to standard output.
8787

8888
The following shells are supported:
8989

crates/cli/src/app.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ use crate::{
1313
input, output, params, passphrase,
1414
};
1515

16-
/// Ensures that there are no conflicts if reading the passphrase from stdin.
16+
/// Ensures that there are no conflicts if reading the passphrase from standard
17+
/// input.
1718
fn ensure_stdin_does_not_conflict(path: Option<&Path>) -> anyhow::Result<()> {
1819
if path.is_none() {
19-
bail!("cannot read both passphrase and input data from stdin");
20+
bail!("cannot read both passphrase and input data from standard input");
2021
}
2122
Ok(())
2223
}

0 commit comments

Comments
 (0)