-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
udp_async: Implement async traits of upcoming async-embedded-nal > 0.3
See-Also: rust-embedded-community/embedded-nal#73
- Loading branch information
Showing
6 changed files
with
221 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "std-embedded-nal" | ||
version = "0.1.3" | ||
authors = ["chrysn <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
description = "Implementation of the `embedded-nal` traits for large devices that support the standard library" | ||
categories = ["embedded", "hardware-support"] | ||
|
@@ -12,15 +12,19 @@ repository = "https://gitlab.com/chrysn/std-embedded-nal" | |
|
||
[dependencies] | ||
embedded-nal = "0.6" | ||
embedded-nal-async = { version = "0.1", optional = true } | ||
embedded-nal-async = { git = "https://github.com/rust-embedded-community/embedded-nal", optional = true } | ||
embedded-io = { version = "0.4", optional = true, features = [ "std" ] } | ||
async-std = { version = "1.12", optional = true } | ||
# If enabled, these traits are implemented as well; they're experimental and | ||
# will hopefully wind up in alter embedded-nal versions, so enabling this has | ||
# no stability guarantees. | ||
embedded-nal-tcpextensions = { version = "0.1", optional = true } | ||
|
||
async-io = "^1.9" | ||
nix = { version = "0.25", features = [ "socket", "net", "uio" ] } | ||
|
||
[features] | ||
async = [ "embedded-nal-async", "async-std" ] | ||
async = [ "embedded-nal-async", "async-std", "embedded-io" ] | ||
|
||
[dev-dependencies] | ||
mio = { version = "0.8", features = [ "os-ext" ] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.