//! The config functions and registry entries only a `metadata` build compiles.
use TokenStream;
use quote;
use DeriveInput;
/// `body` behind the `metadata` feature. A registry entry names one concrete
/// type, so a metadata build refuses a type with generic parameters there,
/// while a build without metadata, which registers nothing, still compiles it.
pub