#unwind #no-alloc #ref-unwind-safe #unwind-safe

no-std unwind-unsafe

Zero-sized marker types which do not implement UnwindSafe or RefUnwindSafe

1 stable release

1.0.0 Aug 6, 2024

#1022 in Rust patterns

Download history 127/week @ 2024-08-03 6/week @ 2024-08-10

133 downloads per month

MIT-0 license

5KB

unwind-unsafe

This Rust crate provides zero-sized marker types which do not implement UnwindSafe or RefUnwindSafe. They can be added to types to prevent the respective auto traits from being derived.

It has no dependencies, no unsafe code, and is no_std by default.

Documentation

See API docs on docs.rs.

License

This project is licensed under the MIT No Attribution License. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in unwind-unsafe by you, shall be licensed as MIT No Attribution, without any additional terms or conditions.


lib.rs:

This crate provides zero-sized marker types which do not implement UnwindSafe or RefUnwindSafe. They can be added to types to prevent the respective auto traits from being derived.

These types can be instantiated via their Default implementation or from their associated constant DEFAULT.

This crate has no dependencies, no unsafe code, and is no_std by default.

No runtime deps