# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "ecrs" version = "0.1.0-beta.4" exclude = [ ".github/*", "Cargo.lock", "coco/", ] description = """ Evolutionary computation tools & algorithms """ homepage = "https://github.com/ecrs-org/ecrs" readme = "README.md" keywords = [ "evolution", "evolutionary", "algorithms", "genetic", ] categories = ["science"] license = "MIT OR Apache-2.0" repository = "https://github.com/ecrs-org/ecrs" [profile.dev] opt-level = 0 debug = 2 [lib] name = "ecrs" path = "src/lib.rs" [[bench]] name = "aco_bench" harness = false required-features = ["aco"] [[bench]] name = "ff_bench" harness = false required-features = ["ff"] [dependencies.csv] version = "1.1.6" [dependencies.itertools] version = "0.10.2" [dependencies.len-trait] version = "0.6.1" optional = true [dependencies.log] version = "0.4.17" [dependencies.nalgebra] version = "0.32.2" optional = true [dependencies.num] version = "0.4.0" optional = true [dependencies.num-traits] version = "0.2.15" optional = true [dependencies.push-trait] version = "0.6.0" optional = true [dependencies.rand] version = "0.8.5" [dependencies.rayon] version = "1.5.2" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1.0.79" [dev-dependencies.clap] version = "4.2.7" features = ["derive"] [dev-dependencies.criterion] version = "0.4" [dev-dependencies.log4rs] version = "1.2.0" [features] aco = [ "dep:nalgebra", "dep:num", ] default = ["ga"] ff = ["dep:rayon"] ga = [ "test_functions", "dep:push-trait", "dep:len-trait", "dep:num-traits", ] pso = [ "dep:rayon", "dep:num", "test_functions", ] test_functions = []