# 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 = "aimu" version = "0.2.3" description = "Motion control for handheld computers equipped with a BMI160/BMI260 IMU." readme = "README.md" keywords = [ "imu", "gyro", "gamepad", "motion", "handheld", ] license-file = "LICENSE" repository = "https://gitlab.com/awahab/aimu" [profile.release] lto = true strip = "symbols" [dependencies.anyhow] version = "1.0.75" [dependencies.async-trait] version = "0.1.73" optional = true [dependencies.bmi160] version = "0.1.2" optional = true [dependencies.bmi270] version = "0.1.0" optional = true [dependencies.clap] version = "4.4.6" features = ["derive"] optional = true [dependencies.evdev] version = "0.12.1" [dependencies.gamepad_motion] version = "0.1.2" [dependencies.glam] version = "0.24.2" features = ["serde"] [dependencies.linux-embedded-hal] version = "0.3.2" [dependencies.serde] version = "1.0.189" features = ["derive"] [dependencies.thiserror] version = "1.0.49" [dependencies.toml] version = "0.8.4" [features] bmi160 = ["dep:bmi160"] bmi260 = ["dep:bmi270"] cli = ["dep:clap"] default = ["dynamic"] dynamic = [ "cli", "bmi160", "bmi260", ]