Crate frame_support_procedural[][src]

Proc macro of Support code for the runtime.

Macros

construct_runtime

Construct a runtime, with the given name and the given modules.

crate_to_pallet_version
decl_storage

Declares strongly-typed wrappers around codec-compatible types in storage.

Attribute Macros

pallet

Macro to define a pallet. Docs are at frame_support::pallet.

require_transactional
transactional

Execute the annotated function in a new storage transaction.

Derive Macros

CloneNoBound

Derive Clone but do not bound any generic. Docs are at frame_support::CloneNoBound.

DebugNoBound

Derive Debug but do not bound any generics. Docs are at frame_support::DeriveNoBounds.

EqNoBound

derive Eq but do no bound any generic. Docs are at frame_support::EqNoBound.

PartialEqNoBound

Derive PartialEq but do not bound any generic. Docs are at frame_support::PartialEqNoBound.

RuntimeDebugNoBound

Derive Debug, if std is enabled it uses frame_support::DebugNoBound, if std is not enabled it just returns "<stripped>". This behaviour is useful to prevent bloating the runtime WASM blob from unneeded code.