Registry / build-tool / amplify-syn

amplify-syn

JSON →
library2.0.1rscratesunverified

Amplifying syn capabilities: helper functions for creating proc macro libraries.

# Cargo.toml [dependencies] amplify_syn = "2.0.1"
INSTALL
IMPORT
SIG · AMPLIFY-SYN
A
amplify-syn
build-toolrustv2.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

parse_quote
use amplify_syn::parse_quote;

Use parse_quote to create a syn function item from token stream.

use amplify_syn::parse_quote; use syn::ItemFn; fn main() { let func: ItemFn = parse_quote! { fn hello() -> u32 { 42 } }; println!("Function name: {}", func.sig.ident); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
36 hits · last 30 days
node
30
Meta
1
OpenAI (training)
1
Resources
amplify-syn — cargo add amplify-syn · libregistry