#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

#43 in #bounded

Download history 1862/week @ 2024-03-14 2643/week @ 2024-03-21 1736/week @ 2024-03-28 1693/week @ 2024-04-04 1980/week @ 2024-04-11 2543/week @ 2024-04-18 3866/week @ 2024-04-25 2631/week @ 2024-05-02 1685/week @ 2024-05-09 2362/week @ 2024-05-16 2400/week @ 2024-05-23 1914/week @ 2024-05-30 1840/week @ 2024-06-06 2531/week @ 2024-06-13 3010/week @ 2024-06-20 2067/week @ 2024-06-27

9,735 downloads per month
Used in 17 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

~295–750KB
~18K SLoC