mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 00:37:57 +00:00
be8e626806
We currently use a bit of a hack in `.cargo/config` to make sure that clippy isn't too annoying by specifying the list of lints. There is now a stable way to define lints for a workspace. The only down side is that every crate seems to have to opt into this so there's a *few* files modified in this PR. Dependencies: - [x] PR that upgrades CI to use rust 1.74 is merged. --------- Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Co-authored-by: Branislav Kontur <bkontur@gmail.com> Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
Custom panic hook with bug report link
This crate provides the [set] function, which wraps around [std::panic::set_hook] and
sets up a panic hook that prints a backtrace and invites the user to open an issue to the
given URL.
By default, the panic handler aborts the process by calling [std::process::exit]. This can
temporarily be disabled by using an [AbortGuard].
License: Apache-2.0