#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

#38 in #bounded

Download history 1635/week @ 2024-07-02 2471/week @ 2024-07-09 2151/week @ 2024-07-16 3020/week @ 2024-07-23 2000/week @ 2024-07-30 1337/week @ 2024-08-06 1604/week @ 2024-08-13 2545/week @ 2024-08-20 1822/week @ 2024-08-27 2166/week @ 2024-09-03 2208/week @ 2024-09-10 1643/week @ 2024-09-17 2487/week @ 2024-09-24 2482/week @ 2024-10-01 2006/week @ 2024-10-08 1722/week @ 2024-10-15

9,068 downloads per month
Used in 20 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

~285–750KB
~18K SLoC