-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
58 lines (46 loc) · 1.58 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[package]
name = "at-cryptoauth"
version = "0.4.1-alpha.0"
authors = ["Kei Shirakizawa <[email protected]>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/BlackbirdHQ/at-cryptoauth-rs"
documentation = "https://docs.rs/at-cryptoauth"
description = "Driver for ATECC608 Crypto Authentication secure elements"
edition = "2018"
[dependencies]
crc = { version = "2.0.0", default-features = false }
heapless = "^0.7"
generic-array = "0.14.4"
log = { version = "^0.4", default-features = false, optional = true }
defmt = { version = "^0.3", optional = true }
[dependencies.embedded-hal]
version = "=1.0.0"
[dependencies.signature]
version = "1.2.2"
default-features = false
[dependencies.digest]
version = "0.9.0"
default-features = false
# Dependencies for the STM32L4XX example
[target.'cfg(all(target_arch = "arm", target_os = "none"))'.dev-dependencies]
cortex-m = "0.7.2"
cortex-m-rt = "0.7"
cortex-m-semihosting = "0.3.5"
panic-halt = "0.2.0"
panic-semihosting = "0.5.0"
# [target.'cfg(all(target_arch = "arm", target_os = "none"))'.dev-dependencies.stm32l4xx-hal]
# path = "../stm32l4xx-hal"
# features = ["rt", "stm32l475"]
# Dependencies for the RaspberryPi example
[target.armv7-unknown-linux-gnueabihf.dependencies]
env_logger = { version = "0.9", optional = true }
# linux-embedded-hal = { version = "0.4.0-alpha.1", optional = true }
openssl = { version = "0.10.30", features = ["vendored"], optional = true }
[features]
default = []
std = ["env_logger", "log", "openssl"]
[[example]]
name = "raspberrypi_atecc608"
required-features = ["std"]
[[example]]
name = "stm32l4xx_atecc608"