-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
52 lines (42 loc) · 1.15 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
[package]
name = "neat-gru"
version = "1.4.0"
authors = ["sakex <alexandre@senges.ch>"]
edition = "2018"
description = "NEAT algorithm with GRU gates"
license = "MIT"
repository = "https://github.com/sakex/neat-gru-rust"
categories = ["science", "wasm"]
keywords = ["neat", "ai", "machine-learning", "genetic", "algorithm"]
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
serde = { version = "1.0.130", features = ["derive", "rc"] }
serde_json = "1.0.67"
num = "0.4.0"
rand = "0.8.4"
rand_distr = "0.4.1"
numeric_literals = "0.2.0"
rayon = "1.5.1"
itertools = "0.10.1"
async-trait = "0.1.51"
log = "0.4.17"
tempdir = "0.3.7"
libc = "0.2.139"
[dev-dependencies]
criterion = "0.3.5"
[[bench]]
name = "benchmark"
harness = false
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.2.1", features = ["js"] }
[profile.release]
# Link time optimisation, possibly even with C++, equivalent to G++'s -flto
lto = true
# codegen-units of 1 gives best optimization, but disables parallel building.
# Default: 16
codegen-units = 1
# Prevent inserting panic handlers in ASM
panic = "abort"
# Optimisation level, equivalent to G++'s -O3
opt-level = 3