#static #bounded #cow #derive #macro-derive #owned

macro no-std bounded-static-derive

Macro to derive ToBoundedStatic and IntoBoundedStatic traits

8 releases (breaking)

0.7.0 Oct 25, 2023
0.6.0 Oct 20, 2023
0.5.0 Apr 29, 2023
0.4.0 Jun 8, 2022
0.1.0 Feb 18, 2022

#42 in #bounded

Download history 2350/week @ 2024-01-01 2485/week @ 2024-01-08 3230/week @ 2024-01-15 2683/week @ 2024-01-22 1969/week @ 2024-01-29 1868/week @ 2024-02-05 2986/week @ 2024-02-12 2000/week @ 2024-02-19 2962/week @ 2024-02-26 3070/week @ 2024-03-04 1860/week @ 2024-03-11 1704/week @ 2024-03-18 2472/week @ 2024-03-25 1972/week @ 2024-04-01 1671/week @ 2024-04-08 2004/week @ 2024-04-15

8,146 downloads per month
Used in 14 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.7.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

~295–740KB
~18K SLoC