#panic #no-std #panicking

no-std panicking

Provides a std::thread::panicking analog available in the no_std context

8 releases (4 breaking)

0.4.0 Jul 2, 2022
0.3.1 Jun 27, 2022
0.2.0 Jun 5, 2022
0.1.2 Jun 5, 2022
0.0.1 Aug 28, 2021

#398 in Rust patterns

Download history 41/week @ 2022-10-11 31/week @ 2022-10-18 61/week @ 2022-10-25 56/week @ 2022-11-01 47/week @ 2022-11-08 56/week @ 2022-11-15 81/week @ 2022-11-22 74/week @ 2022-11-29 96/week @ 2022-12-06 61/week @ 2022-12-13 65/week @ 2022-12-20 344/week @ 2022-12-27 388/week @ 2023-01-03 328/week @ 2023-01-10 248/week @ 2023-01-17 426/week @ 2023-01-24

1,423 downloads per month
Used in fewer than 8 crates

MIT/Apache

7KB
110 lines

maintenance: actively developed

panicking

Provides a std::thread::panicking analog available in the no_std context.

The crate has two features — "abort" and "std", and a final application should enable at least one of them, otherwise a linkage error will be emitted.


lib.rs:

Crate features

  • "std" Enabled by default. Disable to make the library #![no_std].

  • "abort" Enable to link the library with the (unstable) panic_abort standard crate, and make [panicking] always return false.

The crate has two features — "abort" and "std", and a final application should enable at least one of them, otherwise a linkage error will be emitted.

No runtime deps

Features

  • abort
  • std