blob: b76d91ae0e020a5ab3bae834d0c81fe35a3901f1 (
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 = ["src/main.rs", "Cargo.toml"]
|