Files
rust-crate/Cargo.toml
T

42 lines
877 B
TOML

[package]
name = "rust"
version = "0.0.0"
license-file = "LICENSE.md"
edition = "2024"
rust-version = "1.85.0"
resolver = "2"
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true
[dependencies]
# crate = { version = "^0", default-features = false }
[lints.clippy]
arithmetic_side_effects = "forbid"
as_conversions = "forbid"
checked_conversions = "forbid"
default_union_representation = "forbid"
expect_used = "forbid"
indexing_slicing = "forbid"
integer_division = "forbid"
integer_division_remainder_used = "forbid"
transmute_undefined_repr = "forbid"
unchecked_time_subtraction = "forbid"
unwrap_used = "forbid"
[lints.rust]
arithmetic_overflow = "forbid"
missing_docs = "forbid"
unsafe_code = "forbid"
unused_doc_comments = "forbid"
[profile.release]
opt-level = 3
strip = "debuginfo"
overflow-checks = true
lto = "fat"
codegen-units = 1