[repo] Workspace: one crate, forbid(unsafe), no-panic lints, RustCrypto picked; Error, Instant, RandomSource, SessionKeys
This commit is contained in:
+27
@@ -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"
|
||||
Reference in New Issue
Block a user