Cargo Features
conjure-codegen has no features set by default.
[dependencies]
conjure-codegen = { version = "4.5.0", features = ["example-types", "proc-macro"] }
- example-types = conjure-error, conjure-http
-
Affects
conjure-codegen::example_types
… - proc-macro
-
Enables proc-macro of proc-macro2 and quote
quote:
Disabling the proc-macro feature removes the dynamic library dependency on libproc_macro in the rustc compiler.
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.