# 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 = "device-envoy-esp"
version = "0.0.5-alpha.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Build ESP32 applications with composable device abstractions"
homepage = "https://github.com/CarlKCarlK/device-envoy"
documentation = "https://docs.rs/device-envoy-esp"
readme = "README.md"
keywords = [
    "embedded",
    "esp32",
    "esp32c6",
    "esp32s3",
    "ws2812",
]
categories = [
    "embedded",
    "asynchronous",
    "no-std",
    "hardware-support",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/CarlKCarlK/device-envoy"

[package.metadata.docs.rs]
all-features = false
no-default-features = true
default-target = "riscv32imac-unknown-none-elf"
targets = ["riscv32imac-unknown-none-elf"]
features = ["doc-images"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
compile-fail-tests = []
doc-images = ["dep:embed-doc-image"]
host = []

[lib]
name = "device_envoy_esp"
path = "src/lib.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[test]]
name = "button_five_compile"
path = "tests/embedded/button_five_compile.rs"
harness = false

[[test]]
name = "button_watch_five_compile"
path = "tests/embedded/button_watch_five_compile.rs"
harness = false

[[test]]
name = "clock_sync_two_compile"
path = "tests/embedded/clock_sync_two_compile.rs"
harness = false

[[test]]
name = "compile_fail"
path = "tests/compile_fail.rs"

[[test]]
name = "ir_colon_form_compile_fail"
path = "tests/embedded/ir_colon_form_compile_fail.rs"
harness = false
required-features = ["compile-fail-tests"]

[[test]]
name = "ir_duplicate_channel_compile_fail"
path = "tests/embedded/ir_duplicate_channel_compile_fail.rs"
harness = false
required-features = ["compile-fail-tests"]

[[test]]
name = "ir_four_receivers_compile"
path = "tests/embedded/ir_four_receivers_compile.rs"
harness = false

[[test]]
name = "ir_kepler_four_receivers_compile"
path = "tests/embedded/ir_kepler_four_receivers_compile.rs"
harness = false

[[test]]
name = "ir_mapping_four_receivers_compile"
path = "tests/embedded/ir_mapping_four_receivers_compile.rs"
harness = false

[[test]]
name = "ir_two_receivers_compile"
path = "tests/embedded/ir_two_receivers_compile.rs"
harness = false

[[test]]
name = "ir_visibility_compile"
path = "tests/embedded/ir_visibility_compile.rs"
harness = false

[[test]]
name = "lcd_text_duplicate_address_compile_fail"
path = "tests/embedded/lcd_text_duplicate_address_compile_fail.rs"
harness = false
required-features = ["compile-fail-tests"]

[[test]]
name = "lcd_text_four_addresses_compile"
path = "tests/embedded/lcd_text_four_addresses_compile.rs"
harness = false

[[test]]
name = "led2d_two_panels_compile"
path = "tests/embedded/led2d_two_panels_compile.rs"
harness = false

[[test]]
name = "led4_two_displays_compile"
path = "tests/embedded/led4_two_displays_compile.rs"
harness = false

[[test]]
name = "led_five_compile"
path = "tests/embedded/led_five_compile.rs"
harness = false

[[test]]
name = "led_strip_spi_two_strips_compile"
path = "tests/embedded/led_strip_spi_two_strips_compile.rs"
harness = false

[[test]]
name = "led_strip_two_strips_compile"
path = "tests/embedded/led_strip_two_strips_compile.rs"
harness = false

[[test]]
name = "rfid_one_compile"
path = "tests/embedded/rfid_one_compile.rs"
harness = false

[[test]]
name = "wifi_auto_portal"
path = "tests/wifi_auto_portal.rs"

[dependencies.device-envoy-core]
version = "0.0.5-alpha.3"
features = ["wifi"]

[dependencies.embassy-executor]
version = "0.9.0"

[dependencies.embassy-futures]
version = "0.1.2"

[dependencies.embassy-sync]
version = "0.7.2"

[dependencies.embassy-time]
version = "0.5.0"

[dependencies.embed-doc-image]
version = "0.1.4"
optional = true

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

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

[dependencies.heapless]
version = "0.8.0"
features = ["serde"]

[dependencies.paste]
version = "1.0"

[dependencies.portable-atomic]
version = "1.11.1"
features = ["critical-section"]

[dependencies.serde]
version = "1.0"
features = ["derive"]
default-features = false

[dependencies.smart-leds]
version = "0.4.0"

[dependencies.static_cell]
version = "2.1.0"

[dependencies.time]
version = "0.3"
default-features = false

[dev-dependencies]

[target.'cfg(all(target_os = "none", target_arch = "riscv32"))'.dependencies.embassy-net]
version = "0.8.0"
features = [
    "dhcpv4",
    "dns",
    "proto-ipv4",
    "udp",
    "tcp",
]

[target.'cfg(all(target_os = "none", target_arch = "riscv32"))'.dependencies.embedded-hal-bus]
version = "0.3.0"
features = ["async"]

[target.'cfg(all(target_os = "none", target_arch = "riscv32"))'.dependencies.esp-alloc]
version = "0.9.0"
features = ["esp32c6"]

[target.'cfg(all(target_os = "none", target_arch = "riscv32"))'.dependencies.esp-hal]
version = "1.0.0"
features = [
    "esp32c6",
    "unstable",
]

[target.'cfg(all(target_os = "none", target_arch = "riscv32"))'.dependencies.esp-hal-mfrc522]
version = "0.3.3"

[target.'cfg(all(target_os = "none", target_arch = "riscv32"))'.dependencies.esp-radio]
version = "0.17.0"
features = [
    "esp32c6",
    "wifi",
    "esp-alloc",
    "log-04",
    "unstable",
]
default-features = false

[target.'cfg(all(target_os = "none", target_arch = "riscv32"))'.dependencies.esp-rtos]
version = "0.2.0"
features = [
    "esp32c6",
    "embassy",
    "esp-radio",
    "esp-alloc",
]

[target.'cfg(all(target_os = "none", target_arch = "riscv32"))'.dependencies.esp-storage]
version = "0.8.1"
features = ["esp32c6"]

[target.'cfg(all(target_os = "none", target_arch = "riscv32"))'.dependencies.log]
version = "0.4"
default-features = false

[target.'cfg(all(target_os = "none", target_arch = "riscv32"))'.dev-dependencies.esp-backtrace]
version = "0.18.1"
features = [
    "esp32c6",
    "panic-handler",
    "halt-cores",
    "println",
]

[target.'cfg(all(target_os = "none", target_arch = "riscv32"))'.dev-dependencies.esp-bootloader-esp-idf]
version = "0.4.0"
features = ["esp32c6"]

[target.'cfg(all(target_os = "none", target_arch = "riscv32"))'.dev-dependencies.esp-println]
version = "0.16.1"
features = [
    "esp32c6",
    "uart",
    "log-04",
]
default-features = false

[target.'cfg(all(target_os = "none", target_arch = "riscv32"))'.dev-dependencies.log]
version = "0.4"
default-features = false

[target.'cfg(all(target_os = "none", target_arch = "xtensa"))'.dependencies.embassy-net]
version = "0.8.0"
features = [
    "dhcpv4",
    "dns",
    "proto-ipv4",
    "udp",
    "tcp",
]

[target.'cfg(all(target_os = "none", target_arch = "xtensa"))'.dependencies.embedded-hal-bus]
version = "0.3.0"
features = ["async"]

[target.'cfg(all(target_os = "none", target_arch = "xtensa"))'.dependencies.esp-alloc]
version = "0.9.0"
features = ["esp32s3"]

[target.'cfg(all(target_os = "none", target_arch = "xtensa"))'.dependencies.esp-hal]
version = "1.0.0"
features = [
    "esp32s3",
    "unstable",
]

[target.'cfg(all(target_os = "none", target_arch = "xtensa"))'.dependencies.esp-hal-mfrc522]
version = "0.3.3"

[target.'cfg(all(target_os = "none", target_arch = "xtensa"))'.dependencies.esp-radio]
version = "0.17.0"
features = [
    "esp32s3",
    "wifi",
    "esp-alloc",
    "log-04",
    "unstable",
]
default-features = false

[target.'cfg(all(target_os = "none", target_arch = "xtensa"))'.dependencies.esp-rtos]
version = "0.2.0"
features = [
    "esp32s3",
    "embassy",
    "esp-radio",
    "esp-alloc",
]

[target.'cfg(all(target_os = "none", target_arch = "xtensa"))'.dependencies.esp-storage]
version = "0.8.1"
features = ["esp32s3"]

[target.'cfg(all(target_os = "none", target_arch = "xtensa"))'.dependencies.log]
version = "0.4"
default-features = false

[target.'cfg(all(target_os = "none", target_arch = "xtensa"))'.dev-dependencies.esp-backtrace]
version = "0.18.1"
features = [
    "esp32s3",
    "panic-handler",
    "halt-cores",
    "println",
]

[target.'cfg(all(target_os = "none", target_arch = "xtensa"))'.dev-dependencies.esp-bootloader-esp-idf]
version = "0.4.0"
features = ["esp32s3"]

[target.'cfg(all(target_os = "none", target_arch = "xtensa"))'.dev-dependencies.esp-println]
version = "0.16.1"
features = [
    "esp32s3",
    "uart",
    "log-04",
]
default-features = false

[target.'cfg(all(target_os = "none", target_arch = "xtensa"))'.dev-dependencies.log]
version = "0.4"
default-features = false

[target.'cfg(not(target_os = "none"))'.dev-dependencies.png]
version = "0.17"

[target.'cfg(not(target_os = "none"))'.dev-dependencies.trybuild]
version = "1.0"
