[workspace] members = [ ".", "traitreg-macros", ] [workspace.package] version = "0.3.0" edition = "2021" authors = ["Cameron Duff "] readme = "README.md" license = "MIT OR Apache-2.0" description = "Create a registry of implementations of a trait" homepage = "https://github.com/m4c-ro/traitreg" repository = "https://github.com/m4c-ro/traitreg" keywords = ["trait", "registry", "metaprogramming", "traitreg", "macros"] categories = ["rust-patterns"] [workspace.dependencies] quote = { version = "^1.0", default-features = false } proc-macro2 = { version = "^1.0", default-features = false } [workspace.dependencies.syn] version = "^2.0" default-features = false features = [ "parsing", "proc-macro", "printing", "full", ] [package] name = "traitreg" edition.workspace = true version.workspace = true authors.workspace = true readme.workspace = true license.workspace = true description.workspace = true homepage.workspace = true repository.workspace = true keywords.workspace = true categories.workspace = true exclude = ["tests", "examples"] [dependencies] traitreg-macros = { path = "traitreg-macros", version = "0.3.0" } [dev-dependencies] trybuild = "^1.0" [[example]] name = "simple" [[example]] name = "complete"