aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-08-31 11:30:46 +0300
committereug-vs <eugene@eug-vs.xyz>2023-08-31 11:30:46 +0300
commit4fab0d63413987974f5eb6fee59d2caf9494f789 (patch)
tree78a8bf81727a298aaad59527d5617c7f3b6b336b
parent80cee11b945c57de78b8eadad4da88c7145093f3 (diff)
downloadchessnost-4fab0d63413987974f5eb6fee59d2caf9494f789.tar.gz
chore: install smallvec
-rw-r--r--Cargo.lock7
-rw-r--r--Cargo.toml5
2 files changed, 12 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index a2d8fca..7e68608 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -14,6 +14,7 @@ version = "0.1.0"
dependencies = [
"num_enum",
"rand",
+ "smallvec",
]
[[package]]
@@ -132,6 +133,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bb7d1f0d3021d347a83e556fc4683dea2ea09d87bccdf88ff5c12545d89d5efb"
[[package]]
+name = "smallvec"
+version = "1.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9"
+
+[[package]]
name = "syn"
version = "1.0.107"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/Cargo.toml b/Cargo.toml
index 62a6499..ca8466d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -8,6 +8,11 @@ edition = "2021"
[dependencies]
num_enum = "0.5.7"
rand = "0.8.5"
+smallvec = "1.11.0"
+
+# Allow profiling with cargo flamegraph
+[profile.release]
+debug = true
[[bench]]
name = "perft"