# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.56" name = "syn-serde" version = "0.3.1" exclude = [ "/.*", "/tools", ] description = """ Library to serialize and deserialize Syn syntax trees. """ readme = "README.md" keywords = [ "serde", "serialization", "syn", ] categories = [ "development-tools::procedural-macro-helpers", "parser-implementations", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/taiki-e/syn-serde" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] targets = ["x86_64-unknown-linux-gnu"] [lib] doc-scrape-examples = false [dependencies.proc-macro2] version = "1.0.60" default-features = false [dependencies.serde] version = "1.0.103" [dependencies.serde_derive] version = "1.0.103" [dependencies.serde_json] version = "1" optional = true [dependencies.syn] version = "2" features = ["full"] default-features = false [dev-dependencies.quote] version = "1" [dev-dependencies.serde_json] version = "1" [dev-dependencies.syn] version = "2" features = [ "full", "extra-traits", ] [features] json = ["serde_json"]