0.0.3-alpha.4
This commit is contained in:
41
templates/rust-cargo/Cargo.toml
Normal file
41
templates/rust-cargo/Cargo.toml
Normal file
@@ -0,0 +1,41 @@
|
||||
# file: templates/rust-cargo/Cargo.toml
|
||||
# version: 1
|
||||
|
||||
[workspace]
|
||||
resolver = "3"
|
||||
members = ["crates/project-core-lib"]
|
||||
|
||||
[workspace.package]
|
||||
# Replace this example with the release-unit version before adopting this template.
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
publish = false
|
||||
# Add license, repository, and authors only with the project's real values.
|
||||
|
||||
[workspace.dependencies]
|
||||
# Add dependencies actually shared by multiple crates, with reviewed versions.
|
||||
|
||||
[workspace.lints.rust]
|
||||
missing_docs = "warn"
|
||||
unreachable_pub = "deny"
|
||||
unsafe_code = "forbid"
|
||||
|
||||
[workspace.lints.clippy]
|
||||
unwrap_used = "deny"
|
||||
expect_used = "deny"
|
||||
implicit_return = "deny"
|
||||
needless_return = "allow"
|
||||
useless_vec = "deny"
|
||||
question_mark = "deny"
|
||||
question_mark_used = "deny"
|
||||
needless_match = "allow"
|
||||
manual_ok_err = "allow"
|
||||
manual_unwrap_or = "allow"
|
||||
manual_map = "allow"
|
||||
match_like_matches_macro = "allow"
|
||||
single_match = "allow"
|
||||
manual_unwrap_or_default = "allow"
|
||||
manual_find = "allow"
|
||||
explicit_counter_loop = "allow"
|
||||
get_first = "allow"
|
||||
implicit_saturating_sub = "allow"
|
||||
Reference in New Issue
Block a user