Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #431 from knurling-rs/release
Browse files Browse the repository at this point in the history
Prepare `v0.3.11` (the final release)
  • Loading branch information
Urhengulas authored Jan 30, 2024
2 parents 00c4465 + 840d9b4 commit 2474370
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

## [Unreleased]

## [v0.3.11] - 2024-01-29

- [#423] Add better defaults for log format when timestamp is available

[#423]: https://github.com/knurling-rs/probe-run/pull/423
Expand Down Expand Up @@ -507,7 +509,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

Initial release

[Unreleased]: https://github.com/knurling-rs/probe-run/compare/v0.3.10...main
[Unreleased]: https://github.com/knurling-rs/probe-run/compare/v0.3.11...main
[v0.3.10]: https://github.com/knurling-rs/probe-run/compare/v0.3.10...v0.3.11
[v0.3.10]: https://github.com/knurling-rs/probe-run/compare/v0.3.9...v0.3.10
[v0.3.9]: https://github.com/knurling-rs/probe-run/compare/v0.3.8...v0.3.9
[v0.3.8]: https://github.com/knurling-rs/probe-run/compare/v0.3.7...v0.3.8
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
name = "probe-run"
readme = "README.md"
repository = "https://github.com/knurling-rs/probe-run"
version = "0.3.10"
version = "0.3.11"

[dependencies]
addr2line = { version = "0.20", default-features = false, features = [
Expand Down
13 changes: 13 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,25 @@ const DEFAULT_HOST_LOG_FORMAT: &str = "(HOST) {L} {s}";
const DEFAULT_VERBOSE_HOST_LOG_FORMAT: &str = "(HOST) {L} {s}\n└─ {m} @ {F}:{l}";

fn main() -> anyhow::Result<()> {
deprecated();

configure_terminal_colorization();

#[allow(clippy::redundant_closure)]
cli::handle_arguments().map(|code| process::exit(code))
}

#[deprecated = "⚠️ As of 11.10.2023 `probe-run` is in maintainance mode. We \
recommend everyone to switch to `probe-rs`. Read following article on the why \
and on how to migrate: https://ferrous-systems.com/blog/probe-run-deprecation/"]
fn deprecated() {
eprintln!(
"⚠️ As of 11.10.2023 `probe-run` is in maintainance mode. We recommend \
everyone to switch to `probe-rs`. Read following article on the why and \
on how to migrate: https://ferrous-systems.com/blog/probe-run-deprecation/\n"
);
}

fn run_target_program(elf_path: &Path, chip_name: &str, opts: &cli::Opts) -> anyhow::Result<i32> {
// connect to probe and flash firmware
let probe_target = lookup_probe_target(elf_path, chip_name, opts)?;
Expand Down

0 comments on commit 2474370

Please sign in to comment.