# 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.66" name = "oxide-spark" version = "0.3.3" authors = ["Cyril Marpaud "] description = "This crate enables sensor sampling & LED strips control over Wifi/MQTT on ESP Rust Board" readme = "README.md" keywords = [ "rust", "embedded", "esp32-c3", "led", "i2c-sensors", ] categories = ["embedded"] license = "CC-BY-SA-4.0" repository = "https://gitlab.com/cyril-marpaud/oxide-spark" resolver = "2" [package.metadata.esp-idf-sys] esp_idf_tools_install_dir = "out" [profile.dev] opt-level = "z" debug = 2 [profile.release] opt-level = "s" [lib] name = "oxide_spark" path = "src/lib.rs" [dependencies.anyhow] version = "1.0.72" [dependencies.config] version = "0.13.3" [dependencies.embedded-hal] version = "0.2.7" [dependencies.embedded-svc] version = "0.25" optional = true default-features = false [dependencies.esp-idf-hal] version = "0.41" optional = true default-features = false [dependencies.esp-idf-svc] version = "0.46" optional = true default-features = false [dependencies.esp-idf-sys] version = "0.33" default-features = false [dependencies.log] version = "0.4.17" default-features = false [dependencies.once_cell] version = "1.18.0" [dependencies.oxide-spark-utils] version = "0.3" [dependencies.rgb] version = "0.8.36" [dependencies.serde] version = "1.0.183" features = ["derive"] [dependencies.serde_json] version = "1.0.104" [dependencies.shared-bus] version = "0.2.5" features = ["std"] [dependencies.shtcx] version = "0.11.0" [dependencies.smart-leds] version = "0.3.0" [dependencies.strum] version = "0.23.0" features = ["derive"] [dependencies.thiserror] version = "1.0.44" [dependencies.tsl256x] version = "0.1.0" [dependencies.ws2812-esp32-rmt-driver] version = "0.6.0" [build-dependencies.embuild] version = "0.31.2" [features] all = [ "std", "nightly", "experimental", "embassy", ] alloc = [ "embedded-svc?/alloc", "esp-idf-hal?/alloc", "esp-idf-svc?/alloc", ] default = [ "std", "hal", "esp-idf-sys/native", ] embassy = [ "esp-idf-hal?/embassy-sync", "esp-idf-hal?/critical-section", "esp-idf-hal?/edge-executor", "esp-idf-svc?/embassy-time-driver", "esp-idf-svc?/embassy-time-isr-queue", ] experimental = [ "embedded-svc?/experimental", "esp-idf-svc?/experimental", ] hal = [ "esp-idf-hal", "embedded-svc", "esp-idf-svc", ] nightly = [ "embedded-svc?/nightly", "esp-idf-svc?/nightly", ] pio = ["esp-idf-sys/pio"] std = [ "alloc", "esp-idf-sys/std", "esp-idf-sys/binstart", "embedded-svc?/std", "esp-idf-hal?/std", "esp-idf-svc?/std", ]