-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
48 lines (40 loc) · 1.07 KB
/
Cargo.toml
File metadata and controls
48 lines (40 loc) · 1.07 KB
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
[package]
name = "brisc-emu"
description = "A simple RISC-V i{mac} {64/32}-bit emulator"
version = "0.0.1"
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
publish = false
[lints]
workspace = true
[dependencies]
# Local
brisc-hw.workspace = true
# External
thiserror.workspace = true
elf = { version = "0.8.0", default-features = false }
# `test-utils` feature
rstest = { workspace = true, optional = true }
tracing = { workspace = true, optional = true }
tracing-subscriber = { workspace = true, optional = true }
[dev-dependencies]
tracing.workspace = true
tracing-subscriber.workspace = true
rstest.workspace = true
criterion.workspace = true
const-hex = { version = "1.15.0", features = ["hex"] }
[features]
default = [ "64-bit", "a", "c", "m" ]
test-utils = [ "dep:rstest", "dep:tracing", "dep:tracing-subscriber" ]
# Architecture features
64-bit = [ "brisc-hw/64-bit" ]
m = [ "brisc-hw/m" ]
a = [ "brisc-hw/a" ]
c = [ "brisc-hw/c" ]
[[bench]]
harness = false
name = "emu"
path = "benches/bench.rs"