-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
57 lines (48 loc) · 1.56 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
# Copyright (C) 2023 Nitrokey GmbH
# SPDX-License-Identifier: CC0-1.0
[package]
name = "se05x"
version = "0.1.7"
authors = ["Nitrokey GmbH <[email protected]>"]
edition = "2021"
repository = "https://github.com/Nitrokey/se05x"
license = "LGPL-3.0-only"
description = "Driver for the NXP SE05X"
[dependencies]
aes = { version = "0.8.3", optional = true }
bitflags = "2.3.2"
cmac = { version = "0.7.2", optional = true }
crc16 = "0.4"
delog = "0.1"
embedded-hal = "0.2.7"
heapless = "0.7"
hex-literal = "0.4.1"
iso7816 = "0.1.1"
lpc55-hal = { version = "0.3.0", optional = true }
lpc55-hal-04 = { package = "lpc55-hal", version = "0.4.0", optional = true }
nrf-hal-common = { version = "0.15.0", optional = true }
rand = { version = "0.8.5", optional = true, default-features = false }
serde = { version = "1.0.185", default-features = false, features = ["derive"], optional = true }
serde_bytes = { version = "0.11.14", optional = true, default-features = false }
typed-builder = { version = "0.20.0", optional = true }
[features]
default = ["aes-session"]
serde = ["dep:serde", "serde_bytes"]
builder = ["typed-builder"]
log-all = []
log-trace = []
log-debug = []
log-info = []
log-warn = []
log-error = []
log-none = []
nrf = ["nrf-hal-common"]
lpc55 = ["lpc55-v0.3"]
"lpc55-v0.3" = ["dep:lpc55-hal"]
"lpc55-v0.4" = ["dep:lpc55-hal-04"]
aes-session = ["aes", "cmac", "rand"]
serde_bytes = ["dep:serde_bytes"]
[package.metadata.docs.rs]
features = ["aes-session", "builder", "serde"]
[patch.crates-io]
lpc55-hal = { git = "https://github.com/Nitrokey/lpc55-hal", tag = "v0.3.0-nitrokey.2" }