/
Cargo.toml
92 lines (84 loc) · 3.45 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[package]
name = "vault"
version = "0.1.0"
edition = "2018"
[dependencies]
log = "0.4.14"
num-derive = { version = "0.3.3", default-features = false }
num-traits = { version = "0.2.14", default-features = false }
xous = "0.9.60"
xous-ipc = "0.9.60"
rkyv = { version = "0.4.3", features = [
"const_generics",
], default-features = false }
log-server = { package = "xous-api-log", version = "0.1.56" }
xous-names = { package = "xous-api-names", version = "0.9.58" }
gam = { path = "../../services/gam" }
graphics-server = { path = "../../services/graphics-server" }
locales = { path = "../../locales" }
tts-frontend = { path = "../../services/tts" }
usb-device-xous = { path = "../../services/usb-device-xous" }
xous-usb-hid = { git = "https://github.com/betrusted-io/xous-usb-hid.git", branch = "main" }
pddb = { path = "../../services/pddb" }
modals = { path = "../../services/modals" }
trng = { path = "../../services/trng" }
susres = { package = "xous-api-susres", version = "0.9.56" }
ime-plugin-api = { path = "../../services/ime-plugin-api" }
content-plugin-api = { path = "../../services/content-plugin-api" } # all content canvas providers must provide this API
backup = { path = "libraries/backup" }
byteorder = { version = "1.4.3", default-features = false }
arrayref = "0.3.6"
subtle = { version = "2.5.0", features = ["core_hint_black_box"] }
rand_core = "0.6.3"
ticktimer-server = { package = "xous-api-ticktimer", version = "0.9.56" }
userprefs = { path = "../../libs/userprefs" }
# opensk
ctap-crypto = { path = "libraries/crypto" }
cbor = { path = "libraries/cbor" }
persistent_store = { path = "libraries/persistent_store" }
ed25519-compact = { version = "1", default-features = false, optional = true }
rand = { version = "0.8.5", optional = true }
# ux formatting
hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
chrono = { version = "0.4.33", default-features = false, features = ["std"] }
# password generation
passwords = "3.1.9"
# totp
sha1 = "0.10.6"
hmac = "0.12.1"
digest = "0.9.0"
base32 = "0.4.0"
sha2 = { version = "0.10.8" }
sntpc = { version = "0.3.1" }
net = { path = "../../services/net" }
com_rs = { git = "https://github.com/betrusted-io/com_rs", rev = "891bdd3ca8e41f81510d112483e178aea3e3a921" }
# performance profiling
perflib = { path = "../../libs/perflib", optional = true }
utralib = { version = "0.1.24", optional = true, default-features = false }
# testing
random-pick = { version = "1.2.15", optional = true }
[dev-dependencies]
enum-iterator = "0.6.0"
[features]
precursor = []
hosted = []
renode = []
tts = []
with_ctap1 = ["ctap-crypto/with_ctap1"]
autotest = []
multireset = [] # allows credential reset more than once per boot
vaultperf = [
"perflib",
"xous/v2p",
"utralib",
"utralib/precursor",
] # vault is the performance logging manager. Do not use concurrently with "shellperf", as there can only be one manager.
vault-testing = ["random-pick"]
# introduce a slight delay after UX boxes swap, in case of race conditions. Shouldn't be necessary anymore, but kept around in case there's a new edge case we missed.
ux-swap-delay = []
osk-upgrade = [
] # placeholder to select out OpenSK's "vendor upgrade" over HID, which we don't use because we have our own upgrade path.
xous = [
] # marks xous-specific code segments deep inside the CTAP crate. Mostly to help evaluate if a patch is even feasible in the future.
ed25519 = ["ed25519-compact"]
default = ["with_ctap1", "ed25519", "xous"] # testing removed for release tag