You've already forked rust-crate
Switch from vscode to zed
This commit is contained in:
+18
-19
@@ -1,22 +1,18 @@
|
||||
[package]
|
||||
name = "rust"
|
||||
version = "0.0.0"
|
||||
|
||||
authors = []
|
||||
edition = "2024"
|
||||
license-file = "LICENSE.md"
|
||||
resolver = "2"
|
||||
|
||||
edition = "2024"
|
||||
rust-version = "1.85.0"
|
||||
resolver = "2"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
all-features = true
|
||||
|
||||
[lints.rust]
|
||||
arithmetic_overflow = "forbid"
|
||||
missing_docs = "forbid"
|
||||
unsafe_code = "forbid"
|
||||
unused_doc_comments = "forbid"
|
||||
[dependencies]
|
||||
# crate = { version = "^0", default-features = false }
|
||||
|
||||
[lints.clippy]
|
||||
arithmetic_side_effects = "forbid"
|
||||
@@ -28,15 +24,18 @@ indexing_slicing = "forbid"
|
||||
integer_division = "forbid"
|
||||
integer_division_remainder_used = "forbid"
|
||||
transmute_undefined_repr = "forbid"
|
||||
unchecked_duration_subtraction = "forbid"
|
||||
unchecked_time_subtraction = "forbid"
|
||||
unwrap_used = "forbid"
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
lto = "fat"
|
||||
opt-level = 3
|
||||
overflow-checks = true
|
||||
strip = "debuginfo"
|
||||
[lints.rust]
|
||||
arithmetic_overflow = "forbid"
|
||||
missing_docs = "forbid"
|
||||
unsafe_code = "forbid"
|
||||
unused_doc_comments = "forbid"
|
||||
|
||||
[dependencies]
|
||||
# crate = { version = "^0", default-features = false }
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
strip = "debuginfo"
|
||||
overflow-checks = true
|
||||
lto = "fat"
|
||||
codegen-units = 1
|
||||
|
||||
Reference in New Issue
Block a user