0xMiden / 0xMiden/miden-vm

Adopt standard Rust conventions for crate re-exports

Offen
#1,930 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
772
Forks
352
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
93

Beschreibung

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, ...}

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.