| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.71" |
| 15 |
name = "synstructure" |
| 16 |
version = "0.14.0" |
| 17 |
authors = ["Nika Layzell <[email protected]>"] |
| 18 |
build = false |
| 19 |
include = [ |
| 20 |
"src/**/*", |
| 21 |
"Cargo.toml", |
| 22 |
"README.md", |
| 23 |
"LICENSE", |
| 24 |
] |
| 25 |
autolib = false |
| 26 |
autobins = false |
| 27 |
autoexamples = false |
| 28 |
autotests = false |
| 29 |
autobenches = false |
| 30 |
description = "Helper methods and macros for custom derives" |
| 31 |
documentation = "https://docs.rs/synstructure" |
| 32 |
readme = "README.md" |
| 33 |
keywords = [ |
| 34 |
"syn", |
| 35 |
"macros", |
| 36 |
"derive", |
| 37 |
"expand_substructure", |
| 38 |
"enum", |
| 39 |
] |
| 40 |
license = "MIT" |
| 41 |
repository = "https://github.com/mystor/synstructure" |
| 42 |
|
| 43 |
[features] |
| 44 |
default = ["proc-macro"] |
| 45 |
proc-macro = [ |
| 46 |
"proc-macro2/proc-macro", |
| 47 |
"syn/proc-macro", |
| 48 |
"quote/proc-macro", |
| 49 |
] |
| 50 |
|
| 51 |
[lib] |
| 52 |
name = "synstructure" |
| 53 |
path = "src/lib.rs" |
| 54 |
|
| 55 |
[dependencies.proc-macro2] |
| 56 |
version = "1.0.60" |
| 57 |
default-features = false |
| 58 |
|
| 59 |
[dependencies.quote] |
| 60 |
version = "1" |
| 61 |
default-features = false |
| 62 |
|
| 63 |
[dependencies.syn] |
| 64 |
version = "3" |
| 65 |
features = [ |
| 66 |
"derive", |
| 67 |
"parsing", |
| 68 |
"printing", |
| 69 |
"clone-impls", |
| 70 |
"visit", |
| 71 |
"extra-traits", |
| 72 |
] |
| 73 |
default-features = false |
| 74 |
|
| 75 |
[dev-dependencies.synstructure_test_traits] |
| 76 |
version = "0.1" |