Skip to content
Commit 0eba445e authored by Bastian Köcher's avatar Bastian Köcher
Browse files

Make `sr-api-macros` and `srml-support` renaming of crates

Procedural do not support `$crate` to get access to the crate where the
macro is defined. We use a hack to re-export the crate under a known
name. With rust edition 2018, people started to rename their crates in
`Cargo.toml`, but that breaks the re-export. This commit introduces
`proc-maco-crate` that supports finding the requested crate name, even
if it was renamed.
parent f105ac99
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment