Registry / utility / syn-path

syn-path

JSON →
library2.1.0rscratesunverified

A simple macro to declare a syn::Path at compile time.

# Cargo.toml [dependencies] syn-path = "2.1.0"
INSTALL
IMPORT
SIG · SYN-PATH
S
syn-path
utilityrustv2.1.0
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.

syn_path
use syn_path::syn_path;

Creates a syn::Path from a path expression at compile time.

use syn_path::syn_path; use syn::Path; fn main() { let path: Path = syn_path!(std::collections::HashMap); println!("{:?}", path); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
syn-path — cargo add syn-path · libregistry