Richard Schneeman on Nostr: Did anyone ask me to write a macro that lets you embed a minijinja template as a Rust ...
Did anyone ask me to write a macro that lets you embed a minijinja template as a Rust doctest configurable via inline TOML? No. Did I do it anyway? Yes.
Still hammering out the details, but my docs are gonna be so DRY you'll have to call it Brute.
#rust
Published at
2025-01-16 23:55:34Event JSON
{
"id": "da39677c1bbbff981dc00efb942c3c43cb87ee2e7600f5f7377a8605c32f185b",
"pubkey": "5c931aab4bd50aef18e4fd6a257cb53bb70fee015066bea9102ac27a8e230f5c",
"created_at": 1737071734,
"kind": 1,
"tags": [
[
"t",
"rust"
],
[
"proxy",
"https://ruby.social/users/Schneems/statuses/113840733185785793",
"activitypub"
]
],
"content": "Did anyone ask me to write a macro that lets you embed a minijinja template as a Rust doctest configurable via inline TOML? No. Did I do it anyway? Yes.\n\nStill hammering out the details, but my docs are gonna be so DRY you'll have to call it Brute.\n\n#rust",
"sig": "e0f7b1d9b2947209fdfda839b8f845018c9f6c8d1f3fd21c237e1ff851a1a624b04cccc2b966f6cf4ae7ef74a4752843d71cf64fe0e150a9feb843cba475d65f"
}