forked from tpm-rs/tpm-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
39 lines (36 loc) · 1.03 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
[workspace]
resolver = "2"
members = [
"base",
"client",
"errors",
"marshalable",
"marshalable-derive",
"server",
"unionify",
"unionify-derive"
]
[workspace.dependencies]
# Third party dependencies
bitflags = "2.4.2"
hex-literal = { version = "0.4.1" }
open-enum = "0.4.1"
proc-macro2 = "1"
quote = "1"
safe-discriminant = "0.2.0"
syn = {version = "2", features = ["full"]}
trybuild = { version = "1.0.89", features = ["diff"] }
zerocopy = { version = "0.7.0", features = ["derive"] }
# Common workspace crates
tpm2-rs-base = { path = "base" }
tpm2-rs-client = { path = "client" }
tpm2-rs-errors = { path = "errors" }
tpm2-rs-marshalable = { path = "marshalable" }
tpm2-rs-marshalable-derive = { path = "marshalable-derive" }
tpm2-rs-server = { path = "server" }
tpm2-rs-unionify = { path = "unionify" }
tpm2-rs-unionify-derive = { path = "unionify-derive" }
[profile.release]
lto = true # default is lto = false
codegen-units = 1 # default is codegen-units = 16
strip = true # default is strip = "none"