# 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"
rust-version = "1.77"
name = "esp_bno055"
version = "0.1.5"
authors = ["Ryosuke1218 <81555178+Ryosuke1218@users.noreply.github.com>"]
build = "build.rs"
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "BNO055 9-axis IMU driver to use esp"
documentation = "https://docs.rs/esp_bno055"
readme = "README.md"
keywords = [
    "bno055",
    "esp_idf_hal",
]
license-file = "LICENSE"
repository = "https://github.com/kr-work/esp_bno055"
resolver = "2"

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

[profile.dev]
opt-level = "z"
debug = 2

[profile.release]
opt-level = "s"

[lib]
name = "esp_bno055"
path = "src/lib.rs"
harness = false

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

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

[dependencies.anyhow]
version = "1.0.91"

[dependencies.bitflags]
version = "2.6.0"

[dependencies.byteorder]
version = "1.5.0"

[dependencies.esp-idf-hal]
version = "0.44.1"

[dependencies.esp-idf-svc]
version = "0.49"
default-features = false

[dependencies.esp-idf-sys]
version = "0.35.0"

[dependencies.log]
version = "0.4"
default-features = false

[dependencies.mint]
version = "0.5.9"

[dependencies.num-derive]
version = "0.4.2"

[dependencies.num-traits]
version = "0.2.19"

[build-dependencies.embuild]
version = "0.32.0"

[features]
alloc = ["esp-idf-svc/alloc"]
default = [
    "std",
    "embassy",
    "esp-idf-svc/native",
]
embassy = [
    "esp-idf-svc/embassy-sync",
    "esp-idf-svc/critical-section",
    "esp-idf-svc/embassy-time-driver",
]
experimental = ["esp-idf-svc/experimental"]
nightly = ["esp-idf-svc/nightly"]
pio = ["esp-idf-svc/pio"]
std = [
    "alloc",
    "esp-idf-svc/binstart",
    "esp-idf-svc/std",
]
