clifford 0.3.0

Geometric Algebra (Clifford Algebra) for Rust: rotors, motors, PGA for 3D rotations and rigid transforms
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"
rust-version = "1.87.0"
name = "clifford"
version = "0.3.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Geometric Algebra (Clifford Algebra) for Rust: rotors, motors, PGA for 3D rotations and rigid transforms"
readme = "README.md"
keywords = [
    "geometric-algebra",
    "clifford-algebra",
    "quaternion",
    "rotation",
    "pga",
]
categories = [
    "mathematics",
    "science",
]
license = "MIT"
repository = "https://github.com/DevonMorris/clifford"

[features]
codegen = [
    "dep:clifford-codegen",
    "dep:proc-macro2",
    "dep:quote",
]
default = [
    "serde",
    "proptest-support",
    "nalgebra-0_33",
]
nalgebra-0_32 = ["dep:nalgebra-0-32"]
nalgebra-0_33 = ["dep:nalgebra-0-33"]
nalgebra-0_34 = ["dep:nalgebra-0-34"]
proptest-support = ["dep:proptest"]
rerun-0_28 = ["dep:rerun-0-28"]
serde = [
    "dep:serde",
    "generic-array/serde",
]

[lib]
name = "clifford"
path = "src/lib.rs"

[[example]]
name = "rerun_animation"
path = "examples/rerun_animation.rs"
required-features = ["rerun-0_28"]

[[example]]
name = "rerun_bivector"
path = "examples/rerun_bivector.rs"
required-features = ["rerun-0_28"]

[[example]]
name = "rerun_visualization"
path = "examples/rerun_visualization.rs"
required-features = ["rerun-0_28"]

[[test]]
name = "nalgebra_interop"
path = "tests/nalgebra_interop.rs"

[[test]]
name = "normed_wrappers"
path = "tests/normed_wrappers.rs"

[[test]]
name = "proptest_arbitrary"
path = "tests/proptest_arbitrary.rs"

[[bench]]
name = "generic"
path = "benches/generic.rs"
harness = false

[[bench]]
name = "nalgebra_comparison"
path = "benches/nalgebra_comparison.rs"
harness = false
required-features = ["nalgebra-0_34"]

[[bench]]
name = "pga_nalgebra_comparison"
path = "benches/pga_nalgebra_comparison.rs"
harness = false
required-features = ["nalgebra-0_34"]

[[bench]]
name = "projective"
path = "benches/projective.rs"
harness = false

[[bench]]
name = "specialized"
path = "benches/specialized.rs"
harness = false

[dependencies.approx]
version = "0.5"

[dependencies.generic-array]
version = "1"

[dependencies.nalgebra-0-32]
version = "0.32"
optional = true
package = "nalgebra"

[dependencies.nalgebra-0-33]
version = "0.33"
optional = true
package = "nalgebra"

[dependencies.nalgebra-0-34]
version = "0.34"
optional = true
package = "nalgebra"

[dependencies.num-traits]
version = "0.2"

[dependencies.proptest]
version = "1"
optional = true

[dependencies.rerun-0-28]
version = "0.28"
features = ["sdk"]
optional = true
default-features = false
package = "rerun"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.typenum]
version = "1"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tracing]
version = "0.1"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[build-dependencies.clifford-codegen]
version = "0.3.0"
optional = true

[build-dependencies.proc-macro2]
version = "1"
optional = true

[build-dependencies.quote]
version = "1"
optional = true

[lints.clippy]
missing_docs_in_private_items = "deny"
uninlined_format_args = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.rust]
missing_docs = "deny"
warnings = "deny"