abels-complex 0.5.0

Complex numbers with rectangular and polar representations
Documentation
# 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 = "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"))']