Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ categories = ["no-std", "cryptography", "embedded"]
# Ship the roots + generators, but not throwaway artifacts.
exclude = ["/.github", "/*.txt"]

# Forbid unsafe across every target in the package (lib, build script,
# examples, tests). The library also carries #![forbid(unsafe_code)] in
# src/lib.rs; this extends the same guarantee to the build-time code generator
# and the maintenance tooling.
[lints.rust]
unsafe_code = "forbid"

[lib]
path = "src/lib.rs"

Expand Down