🔧 chore(config): update Cargo.toml with lints and library settings
- add clippy lints for format args and unnecessary semicolon - allow dead-code lint temporarily for development - specify library and binary paths for project structure
This commit is contained in:
committed by
Jeremiah Russell
parent
763da3145d
commit
f984415fb6
15
Cargo.toml
15
Cargo.toml
@@ -22,3 +22,18 @@ include = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
||||||
|
[lints.clippy]
|
||||||
|
uninlined-format-args = "warn"
|
||||||
|
unnecessary_semicolon = "warn"
|
||||||
|
|
||||||
|
[lints.rust]
|
||||||
|
dead-code = "allow" # allow temporarily while developing initial code
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
name = "cull_gmail"
|
||||||
|
path = "src/lib.rs"
|
||||||
|
|
||||||
|
[[bin]]
|
||||||
|
name = "cull-gmail"
|
||||||
|
path = "src/main.rs"
|
||||||
|
|||||||
Reference in New Issue
Block a user