0.0.3-alpha.4

This commit is contained in:
2026-09-24 09:50:33 +02:00
parent b3230b4da9
commit 8ad4987d38
8 changed files with 353 additions and 6 deletions

View 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"

View File

@@ -0,0 +1,14 @@
# file: templates/rust-cargo/crates/project-core-lib/Cargo.toml
# version: 1
[package]
name = "project-core-lib"
version.workspace = true
edition.workspace = true
publish.workspace = true
[dependencies]
# Inherit only the workspace dependencies this crate actually uses.
[lints]
workspace = true