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

Prepare v0.3.11 (the final release) #431

Merged
merged 4 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading