forked from Volkalex28/channel-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
36 lines (33 loc) · 1.7 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[package]
name = "channel-bridge"
version = "0.8.0"
edition = "2021"
categories = ["embedded", "network"]
keywords = ["embedded", "network"]
description = "Blocking and async Sender and Receiver traits and implementations."
repository = "https://github.com/ivmarkov/channel-bridge"
license = "MIT OR Apache-2.0"
readme = "README.md"
rust-version = "1.75"
[features]
default = ["std"]
std = ["embedded-io?/std", "embedded-svc?/std", "serde/std"]
portable-atomic = ["atomic-waker/portable-atomic"]
edge-ws = ["dep:edge-ws", "embassy-futures", "embedded-io", "embedded-io-async", "log", "heapless", "postcard"]
embedded-svc = ["dep:embedded-svc", "embassy-futures", "log", "heapless", "postcard"]
wasm = ["gloo-net", "futures", "postcard/alloc"]
[dependencies]
log = { version = "0.4", default-features = false, optional = true }
atomic-waker = { version = "1.1.1", default-features = false }
serde = { version = "1", default-features = false, features = ["derive"] }
heapless = { version = "0.8", optional = true }
prost = { version = "0.11", optional = true }
postcard = { version = "1.0.2", default-features = false, optional = true }
gloo-net = { version = "0.4", default-features = false, features = ["websocket"], optional = true }
futures = { version = "0.3", default-features = false, features = ["alloc"], optional = true }
embassy-sync = "0.5"
embassy-futures = { version = "0.1", optional = true }
embedded-io = { version = "0.6", default-features = false, optional = true }
embedded-io-async = { version = "0.6", default-features = false, optional = true }
embedded-svc = { version = "0.27", default-features = false, optional = true }
edge-ws = { version = "0.2", default-features = false, optional = true, features = ["io"] }