forked from innoave/genevo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
72 lines (57 loc) · 1.69 KB
/
Cargo.toml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[package]
name = "genevo"
version = "0.7.1"
authors = ["haraldmaida"]
license = "MIT/Apache-2.0"
description = """
genevo provides building blocks to run simulations of optimization and search problems using
genetic algorithms (GA).
Execute genetic algorithm (GA) simulations in a customizable and extensible way.
"""
keywords = ["genetic", "evolutionary", "algorithm"]
repository = "https://github.com/innoave/genevo"
documentation = "https://docs.rs/genevo"
#homepage = "https://innoave.github.io/genevo"
readme = "README.md"
edition = "2021"
[package.metadata.docs.rs]
all-features = true
[features]
wasm-bindgen = ["wasm-bindgen_", "chrono/wasmbind"]
[dependencies]
chrono = "0.4"
rand = { version = "0.8", default-features = false, features = ["getrandom"] }
rand_xoshiro = "0.6"
fixedbitset = { version = "0.4", optional = true }
smallvec = { version = "1", optional = true }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
rayon = "1"
[target.'cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))'.dependencies]
wasm-bindgen_ = { version = "0.2", package = "wasm-bindgen", optional = true }
getrandom = { version = "0.2", features = ["js", "wasm-bindgen"] }
[dev-dependencies]
criterion = "0.3"
galvanic-assert = "0.8"
proptest = "1"
version-sync = "0.9"
[lib]
bench = false
[[bench]]
name = "index_of_value_in_vector"
harness = false
[[bench]]
name = "genome_builder"
harness = false
[[bench]]
name = "population_builder"
harness = false
[[example]]
name = "knapsack"
path = "examples/knapsack/main.rs"
required-features = [ "smallvec" ]
[[example]]
name = "monkeys"
path = "examples/monkeys/main.rs"
[[example]]
name = "queens"
path = "examples/queens/main.rs"