Cargo Features
orchestra-proc-macro has no features set by default.
[dependencies]
orchestra-proc-macro = { version = "0.4.0", features = ["expand", "dotgraph", "deny_unconsumed_messages", "deny_unsent_messages"] }
- expand
-
enable "dotgraph" by default, blocked by https://github.com/paritytech/ci_cd/issues/433 write the expanded version to a
orchestra-expansion.[a-f0-9]{10}.rs
in theOUT_DIR
as defined bycargo
for theexpander
crate. - dotgraph = anyhow, dotlay, fs-err
-
Create directional message consuming / outgoing graph. Generates:
${OUT_DIR}/${orchestra|lowercase}-subsystem-messaging.dot
- deny_unconsumed_messages
-
Creates a compile error if unconsumed messages are encountered
- deny_unsent_messages
-
Creates a compile error if unsent messages are encountered
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.