CodeChain-io / CodeChain-io/intertrait
Publicly export `linkme` from `intertrait` and use it for the macros
- Lenguaje dominante
- Rust
- Estrellas
- 42
- Forks
- 8
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Simply publicly export the `linkme` crate - or the needed components from it - at the root of the `intertrait` crate, so that macros can access their dependencies without needing people to install the `linkme` crate separately.
## Changes
macros/src/gen_caster.rs
### Old
macros/src/gen_caster.rs
```rust
#[::linkme::distributed_slice(::intertrait::CASTERS)]
```
### New:
src/lib.rs
```rust
pub use linkme;
```
macros/src/gen_caster.rs
```rust
#[::intertrait::linkme::distributed_slice(::intertrait::CASTERS)]
#[linkme(crate = ::intertrait::linkme)]
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.