[package]
edition = "2024"
name = "abels-complex"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Complex numbers with rectangular and polar representations"
readme = "README.md"
keywords = [
"math",
"complex",
]
license = "MIT"
repository = "https://github.com/abel465/abels-complex-rs"
[features]
approx = ["dep:approx"]
default = [
"std",
"rand",
"approx",
"glam",
]
glam = ["dep:glam"]
libm = [
"num-traits/libm",
"glam?/libm",
]
rand = ["dep:rand"]
std = [
"glam?/std",
"num-traits/std",
]
[lib]
name = "abels_complex"
path = "src/lib.rs"
[dependencies.approx]
version = "0.5.1"
optional = true
[dependencies.glam]
version = "0.32.0"
optional = true
default-features = false
[dependencies.num-traits]
version = "0.2.19"
default-features = false
[dependencies.rand]
version = "0.10.0"
optional = true
default-features = false
[dev-dependencies.approx]
version = "0.5.1"
[dev-dependencies.rand]
version = "0.10.0"
features = ["std_rng"]
default-features = false
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(target_arch, values("spirv"))']