Adopt standard Rust conventions for crate re-exports
Đang mở
- Ngôn ngữ chính
- Rust
- Star
- 772
- Fork
- 352
- Merge trung bình
- 1 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 93
Mô tả
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, ...}
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.