d3c4e4a20a
This introduces a `Pender` struct with enum cases for thread-mode, interrupt-mode and custom callback executors. This avoids calls through function pointers when using only the thread or interrupt executors. Faster, and friendlier to `cargo-call-stack`. `embassy-executor` now has `arch-xxx` Cargo features to select the arch and to enable the builtin executors (thread and interrupt).
26 lines
1.2 KiB
TOML
26 lines
1.2 KiB
TOML
[package]
|
|
edition = "2021"
|
|
name = "embassy-std-examples"
|
|
version = "0.1.0"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[dependencies]
|
|
embassy-sync = { version = "0.1.0", path = "../../embassy-sync", features = ["log"] }
|
|
embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["arch-std", "executor-thread", "log", "nightly", "integrated-timers"] }
|
|
embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["log", "std", "nightly"] }
|
|
embassy-net = { version = "0.1.0", path = "../../embassy-net", features=[ "std", "nightly", "log", "medium-ethernet", "tcp", "udp", "dns", "dhcpv4", "unstable-traits", "proto-ipv6"] }
|
|
embassy-net-driver = { version = "0.1.0", path = "../../embassy-net-driver" }
|
|
embedded-io = { version = "0.4.0", features = ["async", "std", "futures"] }
|
|
critical-section = { version = "1.1", features = ["std"] }
|
|
|
|
async-io = "1.6.0"
|
|
env_logger = "0.9.0"
|
|
futures = { version = "0.3.17" }
|
|
log = "0.4.14"
|
|
nix = "0.26.2"
|
|
libc = "0.2.101"
|
|
clap = { version = "3.0.0-beta.5", features = ["derive"] }
|
|
rand_core = { version = "0.6.3", features = ["std"] }
|
|
heapless = { version = "0.7.5", default-features = false }
|
|
static_cell = "1.0"
|