# 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 = "four-bar" version = "7.0.4" authors = ["KmolYuan "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Four🍀bar library provides simulation and synthesis function for four-bar linkages." readme = "README.md" keywords = [ "mechanism", "simulation", "optimization", ] categories = ["algorithms"] license = "AGPL-3.0-or-later" repository = "https://github.com/KmolYuan/four-bar-rs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "four_bar" path = "src/lib.rs" [dependencies.clap] version = "4" optional = true [dependencies.csv] version = "1" optional = true [dependencies.efd] version = "10.1" [dependencies.fmtastic] version = "0.2" optional = true [dependencies.mh] version = "10.1" package = "metaheuristics-nature" [dependencies.ndarray] version = "0.15" features = ["rayon"] optional = true [dependencies.ndarray-npy] version = "0.8" optional = true [dependencies.plotters] version = "0.3" optional = true [dependencies.plotters-backend] version = "0.3" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dev-dependencies.approx] version = "0.5" [features] atlas = [ "ndarray", "ndarray-npy", ] clap = [ "dep:clap", "mh/clap", ] csv = [ "dep:csv", "serde", ] default = [] plot = [ "plotters", "plotters-backend", "fmtastic", ] rayon = ["mh/rayon"] serde = [ "dep:serde", "mh/serde", ] [lints.clippy] semicolon-if-nothing-returned = "warn" undocumented-unsafe-blocks = "warn" unnecessary-safety-comment = "warn"