crate-paths

Crates.iocrate-paths
lib.rscrate-paths
version0.1.1
created_at2025-06-27 15:23:14.619264+00
updated_at2025-06-27 16:56:04.354294+00
description Required library for crate-paths-cli's output
homepage
repositoryhttps://github.com/stayhydated/crate-paths
max_upload_size
id1728839
size8,239
stayhydated (stayhydated)

documentation

README

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"]
Commit count: 0

cargo fmt