[dependencies.approx]
features = []
optional = true
version = "0.5.1"
[dependencies.clone_dyn_types]
optional = true
version = "~0.36.0"
[dependencies.mod_interface]
optional = true
version = "~0.34.0"
[dependencies.ndarray]
features = []
optional = true
version = "0.16.1"
[dependencies.num-traits]
features = []
optional = true
version = "0.2.19"
[dev-dependencies.test_tools]
version = "~0.16.0"
[features]
approx = ["float", "dep:approx"]
arithmetics = ["float"]
default = ["enabled"]
enabled = ["dep:mod_interface", "dep:clone_dyn_types"]
float = ["nd", "dep:num-traits"]
full = ["default", "index", "nd", "arithmetics", "general"]
general = []
index = ["dep:ndarray"]
nd = ["dep:ndarray"]
[lib]
name = "mdmath_core"
path = "src/lib.rs"
[lints.clippy]
absolute_paths = "allow"
allow_attributes = "allow"
allow_attributes_without_reason = "allow"
arbitrary_source_item_ordering = "allow"
extra_unused_lifetimes = "allow"
inline_always = "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"
pub_use = "allow"
self_named_module_files = "allow"
single_call_fn = "allow"
std_instead_of_core = "warn"
too_many_arguments = "allow"
undocumented_unsafe_blocks = "deny"
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", "no-std", "science", "api-bindings"]
description = "Core multidimensional mathematics library with fundamental types, traits, and operations"
documentation = "https://docs.rs/mdmath_core"
edition = "2021"
homepage = "https://github.com/Wandalen/cgtools/tree/master/module/math/mdmath_core"
include = ["src/**/*", "tests/**/*", "Cargo.toml", "readme.md", "license*", "changelog*"]
keywords = ["math", "multidimensional", "linear-algebra", "traits", "core"]
license = "MIT"
name = "mdmath_core"
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 = 'mdmath_core = "{{version}}"'
search = 'mdmath_core = "[0-9.]+"'
[[package.metadata.release.pre-release-replacements]]
file = "changelog.md"
replace = """
## Unreleased
## {{version}} - {{date}}"""
search = "## Unreleased"
[[test]]
name = "tests"
path = "tests/tests.rs"