# 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 = "2021"
name = "affn"
version = "0.7.3"
authors = ["VPRamon <vallespuigramon@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Affine geometry primitives: strongly-typed coordinate systems, reference frames, and centers for scientific computing."
readme = "README.md"
keywords = [
    "geometry",
    "coordinates",
    "affine",
    "algebra",
    "science",
]
categories = [
    "science",
    "mathematics",
]
license = "AGPL-3.0-only"
repository = "https://github.com/Siderust/affn"

[features]
astro = ["qtty/astro"]
default = []
serde = [
    "dep:serde",
    "qtty/serde",
]

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

[[example]]
name = "basic_cartesian"
path = "examples/basic_cartesian.rs"

[[example]]
name = "conic_showcase"
path = "examples/conic_showcase.rs"

[[example]]
name = "parameterized_center"
path = "examples/parameterized_center.rs"

[[example]]
name = "serde_roundtrip"
path = "examples/serde_roundtrip.rs"

[[example]]
name = "spherical_roundtrip"
path = "examples/spherical_roundtrip.rs"

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

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

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

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

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

[dependencies.affn-derive]
version = "0.7"

[dependencies.qtty]
version = "0.8"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
default-features = false

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

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