Skip to content

Commit 3827c9c

Browse files
authored
release: bump version to 0.5.0. (#28)
* release: bump version to `0.5.0`. * feat: add missing `--version` CLI option for the `cloud-copy` utility. * chore: update CHANGELOG.
1 parent 38a191d commit 3827c9c

File tree

5 files changed

+67
-34
lines changed

5 files changed

+67
-34
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
## 0.5.0 - 11-07-2025
11+
1012
#### Added
1113

14+
* Added missing `--version` CLI option ([#28](https://github.com/stjude-rust-labs/cloud-copy/pull/28)).
1215
* Added `get_content_digest` function for retrieving content digests ([#27](https://github.com/stjude-rust-labs/cloud-copy/pull/27)).
1316
* Added content digest metadata for uploads, defaulting to SHA-256 ([#27](https://github.com/stjude-rust-labs/cloud-copy/pull/27)).
1417
* Added `--hash-algorithm` to `cloud-copy` CLI for specifying the algorithm to

Cargo.lock

Lines changed: 54 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cloud-copy"
3-
version = "0.4.0"
3+
version = "0.5.0"
44
description = "A library for copying files to and from cloud storage."
55
license = "MIT OR Apache-2.0"
66
edition = "2024"
@@ -26,6 +26,7 @@ cli = [
2626
"dep:tracing-indicatif",
2727
"dep:tracing-subscriber",
2828
"dep:byte-unit",
29+
"dep:git-testament",
2930
]
3031

3132
[dependencies]
@@ -35,11 +36,12 @@ blake3 = { version = "1.8.2", features = ["mmap", "rayon"] }
3536
byte-unit = { version = "5.1.6", optional = true }
3637
bytes = "1.10.1"
3738
chrono = { version = "0.4.41", features = ["serde"] }
38-
clap = { version = "4.5.44", features = ["derive", "env"], optional = true }
39+
clap = { version = "4.5.44", features = ["derive", "env", "string"], optional = true }
3940
clap-verbosity-flag = { version = "3.0.3", features = ["tracing"], optional = true }
4041
colored = { version = "3.0.0", optional = true }
4142
crc64fast-nvme = "1.2.0"
4243
futures = "0.3.31"
44+
git-testament = { version = "0.2.6", optional = true }
4345
hex = "0.4.3"
4446
hmac = "0.12.1"
4547
http-cache-stream-reqwest = "0.3.0"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Install a Rust toolchain via [`rustup`](https://rustup.rs/).
100100
To install `cloud-copy`, run the following command:
101101

102102
```bash
103-
cargo install --features=cli --git https://github.com/stjude-rust-labs/cloud-copy.git
103+
cargo install --features=cli cloud-copy
104104
```
105105

106106
### Using `cloud-copy`

src/main.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ use cloud_copy::cli::TimeDeltaExt;
2323
use cloud_copy::cli::handle_events;
2424
use cloud_copy::copy;
2525
use colored::Colorize;
26+
use git_testament::git_testament;
27+
use git_testament::render_testament;
2628
use secrecy::SecretString;
2729
use tokio::pin;
2830
use tokio::sync::broadcast;
@@ -31,8 +33,11 @@ use tracing_indicatif::IndicatifLayer;
3133
use tracing_subscriber::EnvFilter;
3234
use tracing_subscriber::layer::SubscriberExt;
3335

36+
git_testament!(TESTAMENT);
37+
3438
/// A utility for transferring files to and from cloud storage services.
3539
#[derive(Parser, Debug)]
40+
#[command(version = render_testament!(TESTAMENT), propagate_version = true)]
3641
struct Args {
3742
/// The source location to copy from.
3843
#[clap(value_name = "SOURCE")]

0 commit comments

Comments
 (0)