[package] name = "ahrs-fusion" version = "0.4.0" edition = "2021" description = "Port of NXP Sensor Fusion (as written by Adafruit)" license-file = "LICENSE" repository = "https://github.com/gauteh/ahrs-fusion" authors = ["Gaute Hope "] [workspace] members = [ ".", "python" ] [lib] name = "ahrs_fusion" crate-type = ["rlib"] [dependencies] cty = "0" micromath = { version = "2", optional = true, features = [ "quaternion", "vector" ]} pyo3 = { version = "0.16.3", optional = true, features = ["extension-module", "abi3-py39"] } [build-dependencies] cc = "1" bindgen = "0" [features] build-bin = [ "micromath" ] python = [ "pyo3" ] [[bin]] name = "ahrs-csv" required-features = [ "build-bin" ]