# 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 = "metaheuristics-nature" version = "10.1.0" authors = ["KmolYuan "] description = "A collection of nature-inspired metaheuristic algorithms." readme = "README.md" keywords = [ "metaheuristic", "algorithm", "optimization", ] categories = [ "algorithms", "no-std", ] license = "MIT" repository = "https://github.com/KmolYuan/metaheuristics-nature-rs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "doc_cfg", ] [dependencies.clap] version = "4" features = ["derive"] optional = true [dependencies.num-traits] version = "0.2" features = ["libm"] default-features = false [dependencies.rand] version = "0.8" features = [ "getrandom", "alloc", ] default-features = false [dependencies.rand_chacha] version = "0.3" default-features = false [dependencies.rand_distr] version = "0.4" default-features = false [dependencies.rayon] version = "1" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [features] clap = [ "dep:clap", "std", ] default = ["std"] rayon = [ "dep:rayon", "std", ] serde = ["dep:serde"] std = [ "num-traits/std", "rand/std", "rand_distr/std", "rand_chacha/std", "serde?/std", ] [target."cfg(target_arch = \"wasm32\")".dependencies.getrandom] version = "0.2" features = ["js"] [lints.rust] missing-docs = "warn" unsafe-code = "deny"