[dependencies.asbytes]
optional = true
version = "0.2.0"
[dependencies.derive_tools]
optional = true
version = "~0.36.0"
[dependencies.mdmath_core]
features = ["index", "float", "arithmetics", "approx", "general"]
optional = true
version = "~0.4.0"
[dependencies.mod_interface]
optional = true
version = "~0.34.0"
[dependencies.ndarray]
optional = true
version = "0.16.1"
[dependencies.num-traits]
optional = true
version = "0.2.19"
[dev-dependencies.test_tools]
version = "~0.16.0"
[features]
default = ["enabled"]
enabled = ["dep:ndarray", "dep:num-traits", "dep:asbytes", "dep:mod_interface", "dep:mdmath_core", "dep:derive_tools"]
full = ["default"]
[lib]
name = "ndarray_cg"
path = "src/lib.rs"
[lints.clippy]
absolute_paths = "allow"
allow_attributes = "allow"
allow_attributes_without_reason = "allow"
arbitrary_source_item_ordering = "allow"
assign_op_pattern = "allow"
cast_possible_truncation = "allow"
default_trait_access = "allow"
doc_markdown = "allow"
expect_fun_call = "allow"
explicit_auto_deref = "allow"
explicit_iter_loop = "allow"
extra_unused_lifetimes = "allow"
inline_always = "allow"
into_iter_without_iter = "allow"
iter_skip_zero = "allow"
manual_assert = "allow"
many_single_char_names = "allow"
min_ident_chars = "allow"
missing_docs_in_private_items = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
mod_module_files = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
ptr_as_ptr = "allow"
pub_use = "allow"
self_named_module_files = "allow"
semicolon_if_nothing_returned = "allow"
single_call_fn = "allow"
std_instead_of_core = "allow"
too_many_arguments = "allow"
undocumented_unsafe_blocks = "deny"
uninlined_format_args = "allow"
unnecessary_cast = "allow"
used_underscore_binding = "allow"
write_with_newline = "allow"
wrong_self_convention = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
future_incompatible = "warn"
missing_docs = "warn"
unsafe-code = "warn"
[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1
[package]
authors = ["Kostiantyn Mysnyk <wandalen@obox.systems>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["mathematics", "graphics", "game-development", "science"]
description = "High-performance computer graphics mathematics library based on ndarray with vectors, matrices, and transformations"
documentation = "https://docs.rs/ndarray_cg"
edition = "2021"
homepage = "https://github.com/Wandalen/cgtools/tree/master/module/math/ndarray_cg"
include = ["src/**/*", "tests/**/*", "Cargo.toml", "readme.md", "license*", "changelog*"]
keywords = ["math", "computer-graphics", "ndarray", "linear-algebra", "vectors"]
license = "MIT"
name = "ndarray_cg"
readme = "readme.md"
repository = "https://github.com/Wandalen/cgtools"
rust-version = "1.75.0"
version = "0.4.0"
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
rustdoc-args = ["--cfg", "docsrs"]
targets = ["x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc", "x86_64-apple-darwin", "wasm32-unknown-unknown"]
[[package.metadata.release.pre-release-replacements]]
file = "readme.md"
replace = 'ndarray_cg = "{{version}}"'
search = 'ndarray_cg = "[0-9.]+"'
[[package.metadata.release.pre-release-replacements]]
file = "changelog.md"
replace = """
## Unreleased
## {{version}} - {{date}}"""
search = "## Unreleased"
[[test]]
name = "tests"
path = "tests/tests.rs"