blob: d51f80c3febc25963e8188b42610a28591c666d7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
[example]
id = "example-resources"
name = "Resources"
icon = "📦"
category = "advanced"
desc = """
Shows how to share global state across commands using `with_resource()` and inject `&T` or `&mut T` into chain and renderer functions.
"""
tags = ["Resources", "injection"]
files = ["Cargo.toml", "src/main.rs", "src/lib.rs"]
|