# 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 = "embedded-svc" version = "0.28.0" authors = ["Ivan Markov "] description = "A set of traits for services higher level than embedded-hal and typically found in embedded microcontrollers with WiFi or BLE support." readme = "README.md" keywords = [ "embedded", "svc", "hal", ] categories = [ "embedded", "hardware-support", ] license = "MIT OR Apache-2.0" repository = "https://github.com/esp-rs/embedded-svc" resolver = "2" [dependencies.defmt] version = "0.3" optional = true [dependencies.embedded-io] version = "0.6" default-features = false [dependencies.embedded-io-async] version = "0.6" default-features = false [dependencies.enumset] version = "1" default-features = false [dependencies.heapless] version = "0.8" [dependencies.log] version = "0.4" optional = true default-features = false [dependencies.num_enum] version = "0.7" optional = true default-features = false [dependencies.serde] version = "1" features = ["derive"] optional = true default-features = false [dependencies.strum] version = "0.25" features = ["derive"] optional = true default-features = false [dependencies.strum_macros] version = "0.25" optional = true [features] alloc = [ "embedded-io/alloc", "embedded-io-async/alloc", "serde/alloc", "defmt?/alloc", ] default = [ "std", "use_serde", "use_strum", "use_numenum", "log", ] defmt = [ "dep:defmt", "heapless/defmt-03", "embedded-io/defmt-03", "embedded-io-async/defmt-03", ] experimental = [] nightly = [] std = [ "alloc", "embedded-io/std", "embedded-io-async/std", "serde/std", "strum?/std", "num_enum?/std", ] use_numenum = ["num_enum"] use_serde = [ "dep:serde", "enumset/serde", "heapless/serde", ] use_strum = [ "strum", "strum_macros", ]