CodeChain-io / CodeChain-io/intertrait
Publicly export `linkme` from `intertrait` and use it for the macros
- Lingua principale
- Rust
- Stelle
- 42
- Fork
- 8
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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)]
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.