-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
54 lines (45 loc) · 1.32 KB
/
Cargo.toml
File metadata and controls
54 lines (45 loc) · 1.32 KB
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
[package]
name = "neat"
description = "Crate for working with NEAT in rust"
version = "1.0.2"
edition = "2021"
authors = ["HyperCodec"]
repository = "https://github.com/HyperCodec/neat"
homepage = "https://github.com/HyperCodec/neat"
readme = "README.md"
keywords = ["genetic", "machine-learning", "ai", "algorithm", "evolution"]
categories = ["algorithms", "science", "simulation"]
license = "MIT"
[package.metadata.docs.rs]
features = ["serde"]
rustdoc-args = ["--cfg", "docsrs"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[example]]
name = "basic"
path = "examples/basic.rs"
required-features = ["genetic-rs/derive"]
[[example]]
name = "extra_genes"
path = "examples/extra_genes.rs"
required-features = ["genetic-rs/derive"]
[[example]]
name = "serde"
path = "examples/serde.rs"
required-features = ["serde"]
[features]
default = []
serde = ["dep:serde", "dep:serde-big-array"]
[profile.test]
opt-level = 3
[dependencies]
atomic_float = "1.1.0"
bitflags = "2.11.0"
genetic-rs = { version = "1.3.0", features = ["rayon"] }
lazy_static = "1.5.0"
rayon = "1.11.0"
replace_with = "0.1.8"
serde = { version = "1.0.228", features = ["derive"], optional = true }
serde-big-array = { version = "0.5.1", optional = true }
[dev-dependencies]
serde_json = "1.0.149"
serde_path_to_error = "0.1.20"