generated from ProcyOS/rust-template
66 lines
1.8 KiB
TOML
66 lines
1.8 KiB
TOML
[package]
|
|
name = "rust-template"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = ["Charlotte 🦝 Delenk <lotte@chir.rs>"]
|
|
description = "Template for rust libraries"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://git.chir.rs/ProcyOS/rust-template"
|
|
keywords = ["template"]
|
|
categories = ["template"]
|
|
|
|
[dependencies]
|
|
|
|
[lints.rust]
|
|
deprecated-safe = "forbid"
|
|
elided_lifetimes_in_paths = "warn"
|
|
explicit_outlives_requirements = "warn"
|
|
impl-trait-overcaptures = "warn"
|
|
keyword-idents-2024 = "forbid"
|
|
let-underscore-drop = "warn"
|
|
macro-use-extern-crate = "deny"
|
|
meta-variable-misuse = "deny"
|
|
missing-abi = "forbid"
|
|
missing-copy-implementations = "warn"
|
|
missing-debug-implementations = "deny"
|
|
missing-docs = "warn"
|
|
missing-unsafe-on-extern = "deny"
|
|
non-local-definitions = "warn"
|
|
redundant-lifetimes = "warn"
|
|
single-use-lifetimes = "warn"
|
|
trivial-casts = "warn"
|
|
trivial-numeric-casts = "warn"
|
|
unit-bindings = "deny"
|
|
unnameable-types = "warn"
|
|
unreachable-pub = "warn"
|
|
unsafe-code = "deny"
|
|
unsafe-op-in-unsafe-fn = "warn"
|
|
unused-crate-dependencies = "warn"
|
|
unused-extern-crates = "warn"
|
|
unused-import-braces = "warn"
|
|
unused-lifetimes = "warn"
|
|
unused-macro-rules = "warn"
|
|
unused-qualifications = "warn"
|
|
variant-size-differences = "warn"
|
|
|
|
[lints.clippy]
|
|
cargo = { level = "warn", priority = -1 }
|
|
nursery = { level = "warn", priority = -1 }
|
|
pedantic = { level = "warn", priority = -1 }
|
|
module-name-repetitions = "allow"
|
|
alloc-instead-of-core = "warn"
|
|
allow-attributes-without-reason = "deny"
|
|
assertions-on-result-states = "forbid"
|
|
clone-on-ref-ptr = "warn"
|
|
empty-drop = "warn"
|
|
expect-used = "deny"
|
|
inline-asm-x86-att-syntax = "forbid"
|
|
missing-docs-in-private-items = "warn"
|
|
panic = "deny"
|
|
panic-in-result-fn = "forbid"
|
|
rc-buffer = "warn"
|
|
rc-mutex = "deny"
|
|
std-instead-of-alloc = "warn"
|
|
std-instead-of-core = "warn"
|
|
undocumented-unsafe-blocks = "deny"
|
|
unwrap-used = "forbid"
|