# 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 = "ndarray_cg" version = "0.2.0" authors = ["Kostiantyn Mysnyk "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Math for computer graphics based on `ndarray`. The approach used in ndarray for computer graphics math is highly flexible and performant, even though there are many specialized crates focused on game development and computer graphics." readme = "readme.md" keywords = [ "math", "cg", ] license = "MIT" repository = "https://github.com/Wandalen/cg_tools" [lib] name = "ndarray_cg" path = "src/lib.rs" [[test]] name = "tests" path = "tests/tests.rs" [dependencies.bytemuck] version = "1.18.0" features = ["derive"] optional = true [dependencies.derive_tools] version = "~0.29.0" optional = true [dependencies.mdmath_core] version = "~0.2.0" features = [ "index", "float", "inner_product", "approx", "general", ] optional = true [dependencies.mod_interface] version = "~0.25.0" optional = true [dependencies.ndarray] version = "0.16.1" optional = true [dependencies.num-traits] version = "0.2.19" optional = true [dev-dependencies.test_tools] version = "~0.10.0" [features] default = ["enabled"] enabled = [ "dep:ndarray", "dep:num-traits", "dep:bytemuck", "dep:mod_interface", "dep:mdmath_core", "dep:derive_tools", ] full = ["default"] [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"