Cargo Features

conjure-codegen has no features set by default.

conjure-codegen = { version = "4.3.0", features = ["example-types", "proc-macro"] }
example-types = conjure-error, conjure-http

Affects conjure-codegen::example_types


Enables proc-macro of proc-macro2 and 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.

conjure-error example-types?
conjure-http example-types?