proc_strarray 1.7.0

Create const u8 array from str or byte str literal
Documentation
// Procedural macros collection for string operations.
//
// Copyright 2024 Radim Kolar <hsn@sendmail.cz>
//
// SPDX-License-Identifier: MIT
// or
// SPDX-License-Identifier: Apache-2.0

//    sanity checks for doc tests

/**

```rust compile_fail
let x=zzz;
```
*/
pub fn compile_fail_attribute_works() {
}

/**

```rust
let x=2;
```
*/
pub fn doctest_compile_works() {
}


//   bad/good size tests for str_array/0

/**

```rust compile_fail
use proc_strarray::str_array;
str_array!(RES, "stru", 10);
```
*/
pub fn str_array_bad_size() {
}

/**

```rust
use proc_strarray::str_array;
str_array!(RES, "stru", 4);
```
*/
pub fn str_array_good_size() {
}

/**

```rust
use proc_strarray::str_array0;
str_array0!(RES, "stru", 5);
```
*/
pub fn str_array0_good_size() {
}

/**

```rust compile_fail
use proc_strarray::str_array0;
str_array0!(RES, "stru", 4);
```
*/
pub fn str_array0_bad_size() {
}