Skip to main content

Module metadata

Module metadata 

Source
Expand description

High-performance metadata manager for ForgeScript functions, enums, and events.

This module provides:

  • Fast function lookup using a prefix trie
  • WASM-compatible by default (no filesystem dependencies)
  • Optional caching support for native platforms
  • Robust error handling with no panics
  • Concurrent access with DashMap

Structs§

EventField
FetchStats
Statistics from a fetch operation
Fetcher
HTTP fetcher for metadata
FunctionTrie
High-performance prefix trie for function lookup
MetadataCache
Serializable cache format
MetadataManager
High-performance metadata manager
MetadataSource
Source configuration for fetching metadata

Enums§

MetadataError

Functions§

custom_source
Create a metadata source from custom URLs
github_source
Create a metadata source from a GitHub repository

Type Aliases§

Result