| Crates.io | crate-paths |
| lib.rs | crate-paths |
| version | 0.1.1 |
| created_at | 2025-06-27 15:23:14.619264+00 |
| updated_at | 2025-06-27 16:56:04.354294+00 |
| description | Required library for crate-paths-cli's output |
| homepage | |
| repository | https://github.com/stayhydated/crate-paths |
| max_upload_size | |
| id | 1728839 |
| size | 8,239 |
Crate that export the Path type, necessary for the generated code by crate-paths-cli.
This type implements the ToTokens trait. so you can use it like this:
use std_crate_paths::sync::Arc;
let tokens = quote! {
let a = #Arc::new("b");
};
which will expand to:
let a = std::sync::Arc::new("b");
Optionally, exposes macros from crate-paths-macro
When the macro feature is enabled
[features]
default = []
macro = ["dep:crate-paths-macro"]