Skip to content

Commit

Permalink
Only require linux-embedded-hal on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinmit committed Jul 8, 2022
1 parent ac19d80 commit 58be25f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ embedded-hal-async = { version = "0.1.0-alpha.1", optional = true }
nb = { version = "1", optional = true }

[dev-dependencies]
linux-embedded-hal = "0.3"
embedded-hal-mock = "0.7"

[target.'cfg(linux)'.dev-dependencies]
linux-embedded-hal = "0.3"

[profile.release]
lto = true

Expand Down

0 comments on commit 58be25f

Please sign in to comment.