# 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"
rust-version = "1.88"
name = "nesso"
version = "0.0.3"
authors = ["Nesso RS Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK facade for Arduino Nesso N1 on ESP32-C6."
homepage = "https://github.com/anapeksha/nesso-rs"
documentation = "https://docs.rs/nesso"
readme = "README.md"
keywords = [
    "esp32c6",
    "embedded",
    "nesso",
    "arduino",
    "no-std",
]
categories = [
    "embedded",
    "hardware-support",
    "no-std",
]
license = "MIT"
repository = "https://github.com/anapeksha/nesso-rs"
resolver = "2"

[package.metadata.docs.rs]
default-target = "riscv32imac-unknown-none-elf"
targets = ["riscv32imac-unknown-none-elf"]
cargo-args = [
    "-Z",
    "build-std=core,alloc",
]

[features]
ble = [
    "dep:esp-radio",
    "dep:esp-rtos",
    "esp-radio/ble",
]
default = []
env = []
wifi = [
    "dep:embassy-futures",
    "dep:esp-radio",
    "dep:esp-rtos",
    "esp-radio/wifi",
]

[lib]
name = "nesso"
path = "src/lib.rs"
test = false
bench = false

[dependencies.bmi2]
version = "0.1.2"
default-features = false

[dependencies.embassy-futures]
version = "0.1.2"
optional = true
default-features = false

[dependencies.embedded-graphics]
version = "0.8.1"
default-features = false

[dependencies.embedded-hal]
version = "1.0.0"
default-features = false

[dependencies.embedded-storage]
version = "0.3.1"

[dependencies.esp-hal]
version = "~1.1.1"
features = [
    "esp32c6",
    "rt",
    "unstable",
]
default-features = false

[dependencies.esp-radio]
version = "0.18.0"
features = [
    "esp-alloc",
    "esp32c6",
    "unstable",
]
optional = true
default-features = false

[dependencies.esp-rtos]
version = "0.3.0"
features = [
    "esp-alloc",
    "esp-radio",
    "esp32c6",
]
optional = true
default-features = false

[dependencies.esp-storage]
version = "0.9.0"
features = ["esp32c6"]
default-features = false

[dependencies.heapless]
version = "0.8.0"
default-features = false

[dependencies.libm]
version = "0.2.15"
default-features = false

[lints.clippy]
large_stack_frames = "deny"
mem_forget = "deny"

[lints.rust]
unsafe_code = "forbid"
