aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorDylan <boss@tehbox.org>2026-10-23 19:40:00 +1300
committerDylan <boss@tehbox.org>2026-10-23 19:41:07 +1300
commit8b6323efba32da9e3651ce882c02a6e7a6671f23 (patch)
tree3b01f4d47176379df2aadbef0ffc621a2d9d6186 /Cargo.toml
parent50028fc708ef0cfea9fd589c90e07b413ecb570f (diff)
downloadtigers-and-sheep-8b6323efba32da9e3651ce882c02a6e7a6671f23.tar.gz
tigers-and-sheep-8b6323efba32da9e3651ce882c02a6e7a6671f23.zip
feat: Optimisation
Added benchmarking capabilities
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index fd658b5..5053de3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -9,3 +9,12 @@ path = "src/main.rs"
[dependencies]
ratatui = "0.30.2"
+
+[features]
+# Count nodes, cache hits and cutoffs during the search, for `bench`.
+search-stats = []
+
+# A release build that keeps debug info, for profilers: `cargo build --profile profiling`
+[profile.profiling]
+inherits = "release"
+debug = true