[package] name = "polkadot-overseer-gen-proc-macro" version = "0.9.19" authors = ["Parity Technologies "] edition = "2021" description = "Generate an overseer including builder pattern and message wrapper from a single annotated struct definition." [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [lib] proc-macro = true [dependencies] syn = { version = "1.0.92", features = ["full", "extra-traits"] } quote = "1.0.18" proc-macro2 = "1.0.37" proc-macro-crate = "1.1.3" expander = { version = "0.0.6", default-features = false } petgraph = "0.6.0" [dev-dependencies] assert_matches = "1.5.0" polkadot-overseer-gen = { path = "../" } thiserror = "1" gum = { package = "tracing-gum", path = "../../../gum" } [features] default = [] # write the expanded version to a `overlord-expansion.[a-f0-9]{10}.rs` # in the `OUT_DIR` as defined by `cargo` for the `expander` crate. expand = [] # Create directional message consuming / outgoing graph. # Generates: `${OUT_DIR}/${overseer|lowercase}-subsystem-messaging.dot` graph = []