#const #traits #convert #version #std #const-ops #const-ready

nightly const_traits

const-ready version of core::convert / std::convert traits (+ const_ops)

3 releases (breaking)

0.3.0 Aug 6, 2023
0.2.0 Aug 5, 2023
0.1.0 Jul 28, 2023

#2909 in Rust patterns

GPL-3.0-only

22KB
489 lines

A const-ready version of core::convert / std::convert traits ((+ const_ops))

All traits are the same as in std / core but prefixed with the #[const_trait] attribute to allow usage in const situations.

This crate is designed in such a way that, as soon as the #[const_trait] attribute is used in core / std all imports of this crate can simply be deleted.

Dependencies