aboutsummaryrefslogtreecommitdiff
path: root/examples/example-metadata/page.toml
blob: 1a99048482f88822512a05c6c7f7e676ddc3bc05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
[example]
id = "example-metadata"
name = "Entry Metadata"
icon = "🏷️"
category = "advanced"
desc = """
Demonstrates attaching arbitrary, compile-time-typed metadata to an entry via `#[metadata(Entry)]` and retrieving it at runtime with `ProgramCollect::get_metadata`. No `pathf` needed here — everything lives in a single module.
"""
tags = ["metadata", "get_metadata", "extras"]
files = ["src/main.rs", "Cargo.toml"]