-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
35 lines (31 loc) · 1.32 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
[package]
name = "amd-apcb"
version = "0.4.5"
authors = ["Oxide Computer"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# newer one than the one in zerocopy--required for WriteBytesExt (used by Parameters).
byteorder = { version = "1.4.3", default-features = false }
four-cc = { version = "0.3.0", default-features = false }
memoffset = "0.5"
modular-bitfield = { version = "0.11.2", default-features = false }
num-derive = { version = "0.4.2", features = [ ] }
num-traits = { version = "0.2.19", default-features = false }
paste = "1.0"
pre = { version = "0.2.1", default-features = false, features = [] }
static_assertions = "1.1.0"
zerocopy = "0.6.1"
serde = { version = "1.0", default-features = false, features = ["derive"], optional = true }
serde-hex = { version = "0.1.0", optional = true }
schemars = { version = "0.8.8", optional = true }
parse_int = { version = "0.6.0", optional = true }
thiserror = { version = "1.0.38", optional = true }
[features]
default = ["std"]
std = ["byteorder/std", "four-cc/std", "thiserror"]
schemars = ["std", "dep:schemars", "four-cc/schemars"]
serde = ["std", "dep:serde", "dep:parse_int", "four-cc/serde"]
serde-hex = ["std", "dep:serde", "dep:serde-hex"]
[dev-dependencies]
serde_yaml = "0.8.24" # for the example