-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
36 lines (32 loc) · 1.13 KB
/
Copy pathCargo.toml
File metadata and controls
36 lines (32 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[workspace]
members = ["crates/sentinel-core", "crates/sentinel-cli"]
resolver = "3"
[workspace.package]
version = "0.9.17"
edition = "2024"
license = "AGPL-3.0-only"
rust-version = "1.97.1"
repository = "https://github.com/robintra/perf-sentinel"
homepage = "https://github.com/robintra/perf-sentinel"
keywords = ["performance", "n-plus-one", "greenops", "observability", "opentelemetry"]
categories = ["development-tools::profiling", "command-line-utilities"]
[profile.release]
codegen-units = 1
lto = "thin"
strip = true
panic = "abort"
opt-level = 3
# Release-grade build with symbols, for flamegraphs and samply runs.
# The release profile strips symbols, which makes profiles unreadable.
[profile.profiling]
inherits = "release"
debug = true
strip = false
# Catch cognitive-complexity regressions at pre-commit time rather
# than at SonarCloud time five sprints later. Clippy's
# `cognitive_complexity` lint uses the same algorithm class as
# SonarCloud `rust:S3776`, so a clean `cargo clippy` here implies a
# clean SonarCloud scan for that rule. Crates opt in via
# `lints.workspace = true`.
[workspace.lints.clippy]
cognitive_complexity = "deny"