sensor-fusion 0.1.6

Sensor Fusion Filters for Attitude and Heading Reference Systems (AHRS)
# 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 = "sensor-fusion"
version = "0.1.6"
authors = ["Martin Budden"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sensor Fusion Filters for Attitude and Heading Reference Systems (AHRS)"
readme = "README.md"
keywords = [
    "sensor-fusion",
    "no-std",
    "Madgwick",
    "Mahony",
    "Kalman",
]
categories = [
    "embedded",
    "mathematics",
    "no-std",
    "science::robotics",
    "aerospace::drones",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/martinbudden/crate-sensor-fusion"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["libm"]
libm = [
    "dep:libm",
    "num-traits/libm",
    "vqm/libm",
]
no_align = ["vqm/no_align"]
simd = ["vqm/simd"]
std = [
    "vqm/std",
    "num-traits/std",
]

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

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

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

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

[dependencies.libm]
version = "0.2.16"
optional = true

[dependencies.num-traits]
version = "0.2.19"
default-features = false

[dependencies.vqm]
version = "0.1.9"

[dev-dependencies.approx]
version = "0.5.1"
default-features = false

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

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

[build-dependencies.rustc_version]
version = "0.4.1"

[profile.debugging]
debug = 2
inherits = "dev"

[profile.dev]
opt-level = 0
lto = false
codegen-units = 256
debug = "line-tables-only"
debug-assertions = true
rpath = false
panic = "unwind"
overflow-checks = true
incremental = true
strip = "none"

[profile.dev.package."*"]
debug = 0

[profile.release]
opt-level = 3
lto = false
codegen-units = 16
debug = 0
debug-assertions = false
rpath = false
panic = "abort"
overflow-checks = false
incremental = false
strip = "none"

[profile.release-lto]
lto = true
inherits = "release"