# 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 = "soil_moisture_hal" version = "0.1.4" authors = ["yotmst"] include = [ "**/*.rs", "Cargo.toml", ] description = "Module for the esp32 series, soil moisture sensor hal. was tested on esp32-c6 and soon on esp32-c3" readme = "README.md" keywords = [ "esp", "sensor", "hal", "embedded", "soil_moisture", ] categories = ["no-std"] license = "MIT OR Apache-2.0" repository = "https://github.com/yotam5/soil_moisture1.2c6" resolver = "2" [profile.dev] opt-level = "z" debug = 2 [profile.release] opt-level = "s" [lib] path = "src/lib.rs" [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 [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 = [ "esp-idf-sys/native", "hal", "esp-idf-sys/panic_handler", "esp-idf-sys/alloc_handler", ] 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", ]