Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'lib/smol_str/Cargo.toml')
-rw-r--r--lib/smol_str/Cargo.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/smol_str/Cargo.toml b/lib/smol_str/Cargo.toml
index d938e40ac2..e6f10a2715 100644
--- a/lib/smol_str/Cargo.toml
+++ b/lib/smol_str/Cargo.toml
@@ -20,8 +20,17 @@ arbitrary = { version = "1.3", optional = true }
proptest = "1.5"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
+criterion = "0.7"
+rand = "0.9.2"
[features]
default = ["std"]
std = ["serde_core?/std", "borsh?/std"]
serde = ["dep:serde_core"]
+
+[[bench]]
+name = "bench"
+harness = false
+
+[profile.bench]
+lto = "fat"