pub fn registry() -> ExtensionRegistry
Create an ExtensionRegistry preloaded with the example extension types.
ExtensionRegistry