-
Notifications
You must be signed in to change notification settings - Fork 45
/
Cargo.toml
70 lines (63 loc) · 2.09 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
# Licensed under the Apache-2.0 license
[package]
name = "caliptra-rom"
version = "0.1.0"
edition = "2021"
rust-version = "1.70"
[dependencies]
caliptra-cfi-lib = { workspace = true, default-features = false, features = ["cfi", "cfi-counter" ] }
caliptra-cfi-derive.workspace = true
caliptra_common = { workspace = true, default-features = false, features = ["rom"] }
caliptra-drivers.workspace = true
caliptra-error = { workspace = true, default-features = false }
caliptra-image-types = { workspace = true, default-features = false }
caliptra-image-verify = { workspace = true, default-features = false }
caliptra-kat.workspace = true
caliptra-lms-types.workspace = true
caliptra-registers.workspace = true
caliptra-x509 = { workspace = true, default-features = false }
ufmt.workspace = true
zerocopy.workspace = true
zeroize.workspace = true
[build-dependencies]
cfg-if.workspace = true
hex.workspace = true
x509-parser.workspace = true
[dev-dependencies]
caliptra-api.workspace = true
caliptra-builder.workspace = true
caliptra-emu-cpu.workspace = true
caliptra-hw-model.workspace = true
caliptra-image-elf.workspace = true
caliptra-image-fake-keys.workspace = true
caliptra-image-gen.workspace = true
caliptra-image-crypto.workspace = true
caliptra-image-types.workspace = true
caliptra-test.workspace = true
elf.workspace = true
hex.workspace = true
memoffset.workspace = true
openssl.workspace = true
[features]
riscv = []
default = ["std"]
emu = ["caliptra-drivers/emu"]
std = [
"caliptra_common/std",
"caliptra-image-types/std",
"caliptra-image-verify/std",
"caliptra-x509/std",
"ufmt/std",
]
fpga_realtime = ["caliptra-hw-model/fpga_realtime"]
itrng = ["caliptra-hw-model/itrng"]
verilator = ["caliptra-hw-model/verilator"]
no-fmc = []
fake-rom = []
no-cfi = ["caliptra-image-verify/no-cfi", "caliptra-drivers/no-cfi"]
slow_tests = []
"hw-1.0" = ["caliptra-builder/hw-1.0", "caliptra-drivers/hw-1.0", "caliptra-registers/hw-1.0", "caliptra-hw-model/hw-1.0"]
fips-test-hooks = ["caliptra-drivers/fips-test-hooks", "caliptra-image-verify/fips-test-hooks"]
[[bin]]
name = "asm_tests"
path = "test-fw/asm_tests.rs"