# 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 = "anise"
version = "0.9.4"
authors = ["Christopher Rabotin <christopher.rabotin@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core of the ANISE library"
homepage = "https://nyxspace.com/"
readme = "README.md"
license = "MPL-2.0"
repository = "https://github.com/nyx-space/anise"

[package.metadata.docs.rs]
all-features = true
rustdoc-ars = [
    "--cfg",
    "docrs",
    "--generate-link-to-definition",
]

[features]
analysis = [
    "rayon",
    "serde-lexpr",
    "csv",
    "hyperdual",
]
default = [
    "metaload",
    "analysis",
]
embed_ephem = [
    "rust-embed",
    "ureq",
]
metaload = [
    "url",
    "ureq",
    "platform-dirs",
    "regex",
    "serde_dhall",
]
python = [
    "pyo3",
    "pyo3-log",
    "numpy",
    "ndarray",
    "rayon",
]
validation = []

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

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

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

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

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

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

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

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

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

[dependencies.bytes]
version = "1.6.0"

[dependencies.const_format]
version = "0.2"

[dependencies.crc32fast]
version = "1.4.2"

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

[dependencies.der]
version = "0.7.8"
features = [
    "derive",
    "alloc",
    "real",
]

[dependencies.hifitime]
version = "4.2.3"

[dependencies.hyperdual]
version = "1.4.0"
optional = true

[dependencies.indexmap]
version = "2.11.4"

[dependencies.log]
version = "0.4"

[dependencies.memmap2]
version = "0.9.4"

[dependencies.nalgebra]
version = "0.34"
features = ["serde-serialize"]
default-features = true

[dependencies.ndarray]
version = ">= 0.17, < 0.18"
optional = true

[dependencies.numpy]
version = "0.27"
optional = true

[dependencies.platform-dirs]
version = "0.3.0"
optional = true

[dependencies.pyo3]
version = "0.27"
features = ["multiple-pymethods"]
optional = true

[dependencies.pyo3-log]
version = "0.13"
optional = true

[dependencies.rayon]
version = "1.10.0"
optional = true

[dependencies.regex]
version = "1.10.5"
optional = true

[dependencies.rust-embed]
version = "8.4.0"
features = [
    "interpolate-folder-path",
    "include-exclude",
]
optional = true

[dependencies.serde]
version = "1"

[dependencies.serde-lexpr]
version = "0.1.3"
optional = true

[dependencies.serde_derive]
version = "1"

[dependencies.serde_dhall]
version = "0.13"
optional = true
default-features = false

[dependencies.snafu]
version = "0.8.0"
features = ["backtrace"]

[dependencies.tabled]
version = "=0.20"

[dependencies.ureq]
version = "3.0.10"
features = ["rustls"]
optional = true
default-features = false

[dependencies.url]
version = "2.5.0"
optional = true

[dependencies.zerocopy]
version = "0.8.0"
features = ["derive"]

[dev-dependencies.approx]
version = "0.5.1"

[dev-dependencies.arrow]
version = "57.1.0"

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

[dev-dependencies.iai-callgrind]
version = "0.16"

[dev-dependencies.parquet]
version = "57.1.0"

[dev-dependencies.polars]
version = "0.51.0"
features = [
    "lazy",
    "parquet",
]

[dev-dependencies.pretty_env_logger]
version = "0.5"

[dev-dependencies.rand]
version = "0.10.0"

[dev-dependencies.rand_pcg]
version = "0.10.0"

[dev-dependencies.rayon]
version = "1.7"

[dev-dependencies.rstest]
version = "0.26.1"

[dev-dependencies.rust-spice]
version = "0.7.6"

[dev-dependencies.serde_yml]
version = "0.0.12"

[build-dependencies.ureq]
version = "3.0.10"
features = ["rustls"]
optional = true
default-features = false
