workspace = { members = ["core", "macros"] } [package] name = "extruct" version = "0.2.1" authors = ["Vladimir Krivopalov "] 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. """ license = "MIT" repository = "https://codeberg.org/vkrivopalov/extruct" documentation = "https://docs.rs/extruct" rust-version = "1.61" readme = "README.md" edition = "2021" exclude = ["tests/", "examples/", ".gitignore"] keywords = ["proc-macro", "introspection", "utility"] [dependencies] extruct-core = { version = "=0.2.1", path = "core" } extruct-macros = { version = "=0.2.1", path = "macros" } [features] default = ["fields", "extruct_from"] fields = ["extruct-core/fields", "extruct-macros/fields"] extruct_from = ["extruct-core/extruct_from", "extruct-macros/extruct_from"] [dev-dependencies] # For compile-failure tests trybuild = "1" # For examples/ anyhow = "1" serde = { version = "1", features = ["derive"] } ureq = { version = "2", features = ["json"] }