# 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 = "mdmath_core" version = "0.2.0" authors = ["Kostiantyn Mysnyk "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Multidimensional math, fundamental functionality and types." readme = "readme.md" keywords = ["math"] license = "MIT" repository = "https://github.com/Wandalen/cg_tools" [lib] name = "mdmath_core" path = "src/lib.rs" [[test]] name = "tests" path = "tests/tests.rs" [dependencies.approx] version = "0.5.1" features = [] optional = true [dependencies.clone_dyn_types] version = "~0.23.0" optional = true [dependencies.mod_interface] version = "~0.25.0" optional = true [dependencies.ndarray] version = "0.16.1" features = [] optional = true [dependencies.num-traits] version = "0.2.19" features = [] optional = true [dev-dependencies.test_tools] version = "~0.10.0" [features] approx = [ "float", "dep:approx", ] default = ["enabled"] enabled = [ "dep:mod_interface", "dep:clone_dyn_types", ] float = [ "nd", "dep:num-traits", ] full = [ "default", "index", "nd", "inner_product", "general", ] general = [] index = ["dep:ndarray"] inner_product = ["float"] nd = ["dep:ndarray"] [lints.clippy] absolute_paths = "allow" inline_always = "allow" module_name_repetitions = "allow" pedantic = "warn" restriction = "warn" single_call_fn = "allow" std_instead_of_alloc = "warn" std_instead_of_core = "warn" undocumented_unsafe_blocks = "deny" [lints.rust] future_incompatible = "deny" rust_2018_idioms = "deny" unsafe-code = "warn"