| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
name = "enum-as-inner" |
| 15 |
version = "0.6.1" |
| 16 |
authors = ["Benjamin Fry <[email protected]>"] |
| 17 |
build = false |
| 18 |
autobins = false |
| 19 |
autoexamples = false |
| 20 |
autotests = false |
| 21 |
autobenches = false |
| 22 |
description = """ |
| 23 |
A proc-macro for deriving inner field accessor functions on enums. |
| 24 |
""" |
| 25 |
documentation = "https://docs.rs/enum-as-inner" |
| 26 |
readme = "README.md" |
| 27 |
license = "MIT/Apache-2.0" |
| 28 |
repository = "https://github.com/bluejekyll/enum-as-inner" |
| 29 |
|
| 30 |
[lib] |
| 31 |
name = "enum_as_inner" |
| 32 |
path = "src/lib.rs" |
| 33 |
proc-macro = true |
| 34 |
|
| 35 |
[[test]] |
| 36 |
name = "basic" |
| 37 |
path = "tests/basic.rs" |
| 38 |
|
| 39 |
[[test]] |
| 40 |
name = "generics" |
| 41 |
path = "tests/generics.rs" |
| 42 |
|
| 43 |
[[test]] |
| 44 |
name = "named" |
| 45 |
path = "tests/named.rs" |
| 46 |
|
| 47 |
[[test]] |
| 48 |
name = "snake_case" |
| 49 |
path = "tests/snake_case.rs" |
| 50 |
|
| 51 |
[[test]] |
| 52 |
name = "unit" |
| 53 |
path = "tests/unit.rs" |
| 54 |
|
| 55 |
[[test]] |
| 56 |
name = "unnamed" |
| 57 |
path = "tests/unnamed.rs" |
| 58 |
|
| 59 |
[dependencies.heck] |
| •60 |
version = ">= 0.4, < 0.6" |
| 61 |
|
| 62 |
[dependencies.proc-macro2] |
| 63 |
version = "1.0" |
| 64 |
|
| 65 |
[dependencies.quote] |
| 66 |
version = "1.0" |
| 67 |
|
| 68 |
[dependencies.syn] |
| 69 |
version = "2.0" |