| 1 |
[package] |
| 2 |
name = "synstructure" |
| 3 |
version = "0.13.2" |
| 4 |
authors = ["Nika Layzell <[email protected]>"] |
| 5 |
edition = "2018" |
| 6 |
|
| 7 |
description = "Helper methods and macros for custom derives" |
| 8 |
documentation = "https://docs.rs/synstructure" |
| 9 |
repository = "https://github.com/mystor/synstructure" |
| 10 |
readme = "README.md" |
| 11 |
license = "MIT" |
| 12 |
keywords = ["syn", "macros", "derive", "expand_substructure", "enum"] |
| 13 |
|
| 14 |
include = ["src/**/*", "Cargo.toml", "README.md", "LICENSE"] |
| 15 |
|
| 16 |
[features] |
| 17 |
default = ["proc-macro"] |
| 18 |
proc-macro = ["proc-macro2/proc-macro", "syn/proc-macro", "quote/proc-macro"] |
| 19 |
|
| 20 |
[dependencies] |
| 21 |
proc-macro2 = { version = "1.0.60", default-features = false } |
| 22 |
quote = { version = "1", default-features = false } |
| 23 |
|
| 24 |
[dependencies.syn] |
| 25 |
version = "2" |
| 26 |
default-features = false |
| 27 |
features = ["derive", "parsing", "printing", "clone-impls", "visit", "extra-traits"] |
| 28 |
|
| 29 |
[dev-dependencies] |
| 30 |
# Used in the documentation as an example trait crate provider. Unfortunately, |
| 31 |
# we need to publish this in order to be able to publish synstructure. |
| 32 |
synstructure_test_traits = { version = "0.1", path = "test_traits" } |
| 33 |
|
| 34 |
[workspace] |
| 35 |
members = ["test_traits", "test_suite", "test_suite/test_macros"] |