Skip to content

Commit 353ebf8

Browse files
authored
release: stac-cli v0.5.3 (#638)
We force the logging in the lib...this _could_ cause problems down the road if we want the **stacrs** wrapper to use this, but also log, but then we could provide an option then to not do the setup. For now, this fixes things.
1 parent 97422da commit 353ebf8

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

crates/cli/CHANGELOG.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
## [0.5.3] - 2025-02-20
10+
11+
### Added
12+
13+
- Tracing subscriber to get verbosity
14+
915
## [0.5.2] - 2025-02-20
1016

11-
## Removed
17+
### Removed
1218

1319
- A lot of unused dependencies
1420

@@ -126,7 +132,9 @@ Moved over from [stac-incubator-rs](https://github.com/gadomski/stac-incubator-r
126132
- Downloading ([#142](https://github.com/stac-utils/stac-rs/pull/142), [#152](https://github.com/stac-utils/stac-rs/pull/152))
127133
- Validation ([#155](https://github.com/stac-utils/stac-rs/pull/155))
128134

129-
[Unreleased]: https://github.com/stac-utils/stac-rs/compare/stac-cli-v0.5.1..main
135+
[Unreleased]: https://github.com/stac-utils/stac-rs/compare/stac-cli-v0.5.3..main
136+
[0.5.3]: https://github.com/stac-utils/stac-rs/compare/stac-cli-v0.5.2..stac-cli-v0.5.3
137+
[0.5.2]: https://github.com/stac-utils/stac-rs/compare/stac-cli-v0.5.1..stac-cli-v0.5.2
130138
[0.5.1]: https://github.com/stac-utils/stac-rs/compare/stac-cli-v0.5.0..stac-cli-v0.5.1
131139
[0.5.0]: https://github.com/stac-utils/stac-rs/compare/stac-cli-v0.4.1..stac-cli-v0.5.0
132140
[0.4.1]: https://github.com/stac-utils/stac-rs/compare/stac-cli-v0.4.0..stac-cli-v0.4.1

crates/cli/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ tokio = { workspace = true, features = [
3939
"fs",
4040
] }
4141
tracing.workspace = true
42+
tracing-subscriber = { workspace = true, features = ["env-filter"] }
4243

4344
[dev-dependencies]
4445
assert_cmd.workspace = true

crates/cli/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,9 @@ struct ErrorLevel;
250250
impl Stacrs {
251251
/// Runs this command.
252252
pub async fn run(self) -> Result<()> {
253+
tracing_subscriber::fmt()
254+
.with_max_level(self.log_level())
255+
.init();
253256
match self.command {
254257
Command::Translate {
255258
ref infile,

0 commit comments

Comments
 (0)