0xMiden / 0xMiden/miden-vm

Adopt standard Rust conventions for crate re-exports

Aperta
#1,930 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
772
Fork
352
Merge medio
1g 12h
PR unite (30g)
93

Descrizione

This follows from an internal discussion.

From @bitwalker:

>IMO we should follow the normal Rust conventions for this stuff; you should re-export crates whose types you use in your public APIs, to avoid incompatible type errors downstream, but re-exporting the types themselves is not usually done.
>
>i.e. pub use miden_core; not pub use miden_core::{Felt, ...}

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.