# 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.61" name = "extruct" version = "0.2.1" authors = ["Vladimir Krivopalov "] build = false exclude = [ "tests/", "examples/", ".gitignore", ] autobins = false autoexamples = false autotests = false autobenches = false description = """ Extruct is a proc-macro library that provides tools for listing named struct fields and implementing conversion from a larger struct containing fields with same names. """ documentation = "https://docs.rs/extruct" readme = "README.md" keywords = [ "proc-macro", "introspection", "utility", ] license = "MIT" repository = "https://codeberg.org/vkrivopalov/extruct" [lib] name = "extruct" path = "src/lib.rs" [dependencies.extruct-core] version = "=0.2.1" [dependencies.extruct-macros] version = "=0.2.1" [dev-dependencies.anyhow] version = "1" [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.trybuild] version = "1" [dev-dependencies.ureq] version = "2" features = ["json"] [features] default = [ "fields", "extruct_from", ] extruct_from = [ "extruct-core/extruct_from", "extruct-macros/extruct_from", ] fields = [ "extruct-core/fields", "extruct-macros/fields", ]