singularize-macro 0.2.0

Adds a simple `singularize!` macro that runs at compiletime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# singularize-macro

Adds a simple `singularize!` macro that runs at compiletime

## Usage

```rust
singularize!(items); // item

singularize_paste! {
  fn [messages]() -> &'static str { // fn message() -> ...
    "hello"
  }
}
```

It can also be used within declarative macros.