forked from ryankurte/embedded-hal-compat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
35 lines (29 loc) · 1009 Bytes
/
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
[package]
name = "embedded-hal-compat"
description = "Compatibility layer for interoperability between different embedded-hal versions"
repository = "https://github.com/ryankurte/embedded-hal-compat"
keywords = [ "embedded", "embedded-hal", "no-std", "compat", "compatibility" ]
version = "0.13.0"
authors = ["Ryan Kurte <[email protected]>", "Diego Barrios Romero <[email protected]>"]
edition = "2018"
license = "MIT"
[features]
alloc = ["embedded-io?/alloc"]
defmt-03 = ["dep:defmt", "embedded-io?/defmt-03"]
embedded-io = ["dep:embedded-io"]
[dependencies]
defmt = { version = "0.3.0", optional = true }
embedded-io = { version = "0.6", optional = true }
nb = "1.1"
[dependencies.eh0_2]
package = "embedded-hal"
version = "0.2.7"
features = [ "unproven" ]
[dependencies.eh1_0]
package = "embedded-hal"
version = "1.0.0"
[package.metadata.docs.rs]
# To build locally:
# RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features --no-deps --open
all-features = true
rustdoc-args = ["--cfg", "docsrs"]