# 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 = "fusion-altitude"
version = "0.1.0"
authors = ["Wil Boayue <wil@wsbsolutions.com>"]
build = false
exclude = ["CLAUDE.md"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A no_std altitude and vertical-velocity estimator. Fuses barometric pressure with gravity-compensated vertical acceleration via a 2-state complementary observer. Companion to fusion-ahrs."
homepage = "https://github.com/wboayue/fusion-altitude/"
readme = "README.md"
keywords = [
    "altitude",
    "barometer",
    "sensor-fusion",
    "ahrs",
    "embedded",
]
categories = [
    "embedded",
    "algorithms",
    "science",
]
license = "MIT"
repository = "https://github.com/wboayue/fusion-altitude/"

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

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

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

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

[dependencies]

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

[dev-dependencies.fusion-ahrs]
version = "0.4"

[dev-dependencies.nalgebra]
version = "0.34"

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

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