# 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 = "embassy-executor" version = "0.6.3" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "async/await executor designed for embedded usage" documentation = "https://docs.embassy.dev/embassy-executor" readme = "README.md" categories = [ "embedded", "no-std", "asynchronous", ] license = "MIT OR Apache-2.0" repository = "https://github.com/embassy-rs/embassy" [package.metadata.docs.rs] default-target = "thumbv7em-none-eabi" features = [ "defmt", "arch-cortex-m", "executor-thread", "executor-interrupt", ] targets = ["thumbv7em-none-eabi"] [package.metadata.embassy_docs] features = ["defmt"] src_base = "https://github.com/embassy-rs/embassy/blob/embassy-executor-v$VERSION/embassy-executor/src/" src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-executor/src/" [[package.metadata.embassy_docs.flavors]] features = [ "arch-std", "executor-thread", ] name = "std" target = "x86_64-unknown-linux-gnu" [[package.metadata.embassy_docs.flavors]] features = [ "arch-wasm", "executor-thread", ] name = "wasm" target = "wasm32-unknown-unknown" [[package.metadata.embassy_docs.flavors]] features = [ "arch-cortex-m", "executor-thread", "executor-interrupt", ] name = "cortex-m" target = "thumbv7em-none-eabi" [[package.metadata.embassy_docs.flavors]] features = [ "arch-riscv32", "executor-thread", ] name = "riscv32" target = "riscv32imac-unknown-none-elf" [lib] name = "embassy_executor" path = "src/lib.rs" [[test]] name = "test" path = "tests/test.rs" [[test]] name = "ui" path = "tests/ui.rs" [dependencies.avr-device] version = "0.5.3" optional = true [dependencies.cortex-m] version = "0.7.6" optional = true [dependencies.critical-section] version = "1.1" [dependencies.defmt] version = "0.3" optional = true [dependencies.document-features] version = "0.2.7" [dependencies.embassy-executor-macros] version = "0.6.2" [dependencies.embassy-time-driver] version = "0.1.0" optional = true [dependencies.embassy-time-queue-driver] version = "0.1.0" optional = true [dependencies.js-sys] version = "0.3" optional = true [dependencies.log] version = "0.4.14" optional = true [dependencies.portable-atomic] version = "1.5" optional = true [dependencies.rtos-trace] version = "0.1.2" optional = true [dependencies.wasm-bindgen] version = "0.2.82" optional = true [dev-dependencies.critical-section] version = "1.1" features = ["std"] [dev-dependencies.trybuild] version = "1.0" [features] _arch = [] arch-avr = [ "_arch", "dep:portable-atomic", "dep:avr-device", ] arch-cortex-m = [ "_arch", "dep:cortex-m", ] arch-riscv32 = ["_arch"] arch-spin = ["_arch"] arch-std = [ "_arch", "critical-section/std", ] arch-wasm = [ "_arch", "dep:wasm-bindgen", "dep:js-sys", "critical-section/std", ] executor-interrupt = [] executor-thread = [] integrated-timers = [ "dep:embassy-time-driver", "dep:embassy-time-queue-driver", ] nightly = ["embassy-executor-macros/nightly"] task-arena-size-1024 = [] task-arena-size-10240 = [] task-arena-size-1048576 = [] task-arena-size-12288 = [] task-arena-size-128 = [] task-arena-size-1280 = [] task-arena-size-131072 = [] task-arena-size-1536 = [] task-arena-size-16384 = [] task-arena-size-163840 = [] task-arena-size-192 = [] task-arena-size-196608 = [] task-arena-size-2048 = [] task-arena-size-20480 = [] task-arena-size-24576 = [] task-arena-size-256 = [] task-arena-size-2560 = [] task-arena-size-262144 = [] task-arena-size-3072 = [] task-arena-size-320 = [] task-arena-size-32768 = [] task-arena-size-327680 = [] task-arena-size-384 = [] task-arena-size-393216 = [] task-arena-size-4096 = [] task-arena-size-40960 = [] task-arena-size-49152 = [] task-arena-size-512 = [] task-arena-size-5120 = [] task-arena-size-524288 = [] task-arena-size-6144 = [] task-arena-size-64 = [] task-arena-size-640 = [] task-arena-size-65536 = [] task-arena-size-655360 = [] task-arena-size-768 = [] task-arena-size-786432 = [] task-arena-size-8192 = [] task-arena-size-81920 = [] task-arena-size-98304 = [] turbowakers = []