docs(readme): mention the optional parallel feature

Add the rayon feature to the install snippet alongside `serde` so
users discover it from the README.
This commit is contained in:
2026-05-04 19:40:08 -06:00
parent 9aaa4402a8
commit 570beee346
+5 -2
View File
@@ -15,8 +15,11 @@ framework concepts.
[dependencies] [dependencies]
heuropt = "0.1" heuropt = "0.1"
# Optional: derive serde::{Serialize, Deserialize} on the core data types. # Optional features:
# heuropt = { version = "0.1", features = ["serde"] } # - "serde": derive Serialize/Deserialize on the core data types.
# - "parallel": evaluate populations across rayon's thread pool.
# Seeded runs stay bit-identical to serial mode.
# heuropt = { version = "0.1", features = ["serde", "parallel"] }
``` ```
## Define a problem ## Define a problem