#interior-mutability #state #static #initialization #one-time #zero-cost #statically-checked

qcontext

One-time initializable static state with statically-checked zero-cost interior mutability

4 releases (breaking)

0.4.0 Mar 25, 2024
0.3.0 Mar 25, 2024
0.2.0 Mar 25, 2024
0.1.0 Mar 25, 2024

#4 in #one-time

Download history 299/week @ 2024-03-24 22/week @ 2024-03-31

321 downloads per month

MIT license

7KB
128 lines

QContext

License Cargo Documentation

QContext provides one-time initializable static state with statically-checked zero-cost interior mutability via a singleton borrow-owner created during initialization

Dependencies

~0.8–1.3MB
~27K SLoC