[repo] Workspace: one crate, forbid(unsafe), no-panic lints, RustCrypto picked; Error, Instant, RandomSource, SessionKeys

This commit is contained in:
2026-11-25 11:45:23 +01:00
parent 184f4024c7
commit cb8e7ed4c3
9 changed files with 854 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
[workspace]
members = ["crates/domistream"]
# fuzz/ is its own workspace (cargo-fuzz layout), never part of this one.
exclude = ["fuzz"]
resolver = "3"
[workspace.package]
version = "0.1.0"
edition = "2024"
rust-version = "1.89"
license = "CPAL-1.0"
repository = "https://gitea.marek-novak.cz/mnovak/DomiStream"
publish = false
[workspace.lints.rust]
unsafe_code = "forbid"
missing_docs = "warn"
unreachable_pub = "warn"
[workspace.lints.clippy]
# No panics on any input: these must never appear in library code.
unwrap_used = "deny"
expect_used = "deny"
panic = "deny"
todo = "deny"
unimplemented = "deny"
indexing_slicing = "warn"