2 unstable releases

0.2.0 Nov 25, 2021
0.1.0 Nov 22, 2021

#1735 in Data structures

Download history 373/week @ 2024-07-27 474/week @ 2024-08-03 482/week @ 2024-08-10 396/week @ 2024-08-17 489/week @ 2024-08-24 545/week @ 2024-08-31 766/week @ 2024-09-07 408/week @ 2024-09-14 511/week @ 2024-09-21 437/week @ 2024-09-28 365/week @ 2024-10-05 397/week @ 2024-10-12 477/week @ 2024-10-19 429/week @ 2024-10-26 482/week @ 2024-11-02 455/week @ 2024-11-09

1,927 downloads per month
Used in 2 crates (via const_num_bigint)

MIT/Apache

2KB

const_std_vec

    use const_std_vec::ConstVec;
    const TEST : &'static ConstVec<u8> = &ConstVec::new(b"123");
    assert_eq!(b"123",TEST.as_vec().as_slice());

License: MIT OR Apache-2.0


lib.rs:

    use const_std_vec::ConstVec;
    const TEST : &'static ConstVec<u8> = &ConstVec::new(b"123");
    assert_eq!(b"123",TEST.as_vec().as_slice());

No runtime deps