Cargo Features

[dependencies]
polymesh-api-codegen-macro = { version = "3.4.0", default-features = false, features = ["download_metadata", "no_std", "std", "ink", "v14"] }
default = std, v14

These default features are set whenever polymesh-api-codegen-macro is added without default-features = false somewhere in the dependency tree.

download_metadata = polymesh-api-client

Support downloading chain metadata from a RPC node.

Enables type_info of polymesh-api-client

no_std

Enables no_std of polymesh-api-codegen

std default

Enables std of optional polymesh-api-client and polymesh-api-codegen

ink

Enables ink of polymesh-api-codegen

v14 default

Enables v14 of optional polymesh-api-client and polymesh-api-codegen

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.

polymesh-api-client download_metadata?