Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Consistent composure of backend overrides

Đang mở
#79 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
rust
Lĩnh vực
cryptography

Hướng nghiên cứu

Không có tệp, bài kiểm thử hoặc điểm vào nào được nêu. Hãy bắt đầu bằng cách xem xét các cơ chế override backend hiện có được tham chiếu trong issue này và các cuộc thảo luận được liên kết về curve25519-dalek, rust-aegis và Ed448-Goldilocks; để được coi là hoàn tất, cần có một cách tiếp cận composition nhất quán và đã được quyết định giữa các crate liên quan.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Several crates now support "override" for backend/s - people have different needs from top level binary

Ideally the selection is automatic but the overrides are provided e.g. wasm (both web and non-web) no_std runtimes etc.

I've also asked in several places to further the support:

This would be good given the compiler / cargo now has added features to validate the cfg use.

Typically people used features but as repeated in other issues - copied here;

  • Allows top-level binary composing the primitive as the overarching choice and transients not having any say
  • Transient dependencies don't need to "relay" it down - dalek long time didn't delay the choices down resulting only serial use
  • The compiler has now taken official stance on it to support the pattern
  • Composes as mutually exclusive feature vs features are not mutually exclusive
  • Other issues discussed in the long winded ref'd issue

Especially with rustls ideally it would be target arch but we can't assume crypto primitives take the environemnt into account.

Especially in non-monolithic primitives that do only one thing - it's primitive scope - it's essential to not duplicate the environment handling to every single primitive composed into one package under it.

Ngôn ngữ chính
Rust
Star
130
Fork
21
Merge trung bình
18 giờ 6 phút
Pull request đã merge (30 ngày)
1

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của RustCrypto/rustls-rustcrypto

Tất cả issue của RustCrypto/rustls-rustcrypto

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.