[package]
edition = "2018"
name = "enum-as-inner"
version = "0.7.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A proc-macro for deriving inner field accessor functions on enums.
"""
documentation = "https://docs.rs/enum-as-inner"
readme = "README.md"
license = "MIT/Apache-2.0"
repository = "https://github.com/bluejekyll/enum-as-inner"
[lib]
name = "enum_as_inner"
path = "src/lib.rs"
proc-macro = true
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "generics"
path = "tests/generics.rs"
[[test]]
name = "named"
path = "tests/named.rs"
[[test]]
name = "snake_case"
path = "tests/snake_case.rs"
[[test]]
name = "unit"
path = "tests/unit.rs"
[[test]]
name = "unnamed"
path = "tests/unnamed.rs"
[dependencies.heck]
version = "0.5"
[dependencies.proc-macro2]
version = "1.0"
[dependencies.quote]
version = "1.0"
[dependencies.syn]
version = "2.0"
[lints.clippy]
dbg_macro = "warn"
default_trait_access = "warn"
print_stdout = "warn"
unimplemented = "warn"
use_self = "warn"
[lints.rust]
missing_copy_implementations = "warn"
missing_docs = "warn"
non_snake_case = "warn"
non_upper_case_globals = "warn"
rust_2018_idioms = "warn"
unreachable_pub = "warn"