#static #bounded #cow #derive #owned

macro no-std bounded-static-derive

Macro to derive ToBoundedStatic and IntoBoundedStatic traits

9 releases (breaking)

0.8.0 Jun 23, 2024
0.7.0 Oct 25, 2023
0.6.0 Oct 20, 2023
0.5.0 Apr 29, 2023
0.1.0 Feb 18, 2022

#42 in #bounded

Download history 2807/week @ 2024-07-24 2150/week @ 2024-07-31 1184/week @ 2024-08-07 1970/week @ 2024-08-14 2322/week @ 2024-08-21 2000/week @ 2024-08-28 1986/week @ 2024-09-04 2177/week @ 2024-09-11 1527/week @ 2024-09-18 2813/week @ 2024-09-25 2406/week @ 2024-10-02 1710/week @ 2024-10-09 1761/week @ 2024-10-16 2788/week @ 2024-10-23 1878/week @ 2024-10-30 1240/week @ 2024-11-06

7,922 downloads per month
Used in 21 crates (via bounded-static)

Apache-2.0

26KB
477 lines

Documentation Crate

Bounded Static Derive

This crate provides the ToStatic macro which can be used to derive implementations of the ToBoundedStatic and IntoBoundedStatic traits for all structand enum that can be converted to a form that is bounded by 'static.

The ToStatic macro should be used via the bounded-static crate rather than using this crate directly.

bounded-static = { version = "0.8.0", features = [ "derive" ] }

License

bounded-static-derive is distributed under the terms of the Apache License (Version 2.0).

See LICENSE for details.

Copyright 2022

Dependencies

~240–690KB
~16K SLoC