forked from oxidecomputer/omicron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
135 lines (124 loc) · 3.43 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[workspace]
members = [
"bootstore",
"common",
"ddm-admin-client",
"deploy",
"end-to-end-tests",
"gateway",
"gateway-cli",
"gateway-client",
"internal-dns",
"internal-dns-client",
"nexus",
"nexus/authz-macros",
"nexus/db-macros",
"nexus/db-model",
"nexus/defaults",
"nexus/passwords",
"nexus/test-utils",
"nexus/test-utils-macros",
"nexus/types",
"nexus-client",
"package",
"rpaths",
"sled-agent",
"sled-agent-client",
"sp-sim",
"oxide-client",
"oximeter/oximeter",
"oximeter/collector",
"oximeter/db",
"oximeter/instruments",
"oximeter/producer",
"oximeter/oximeter-macro-impl",
"oximeter-client",
"test-utils",
"wicket",
"wicketd",
"wicketd-client"
]
default-members = [
"common",
"ddm-admin-client",
"deploy",
"gateway",
"gateway-cli",
"gateway-client",
"internal-dns",
"internal-dns-client",
"nexus",
"nexus/authz-macros",
"nexus/db-macros",
"nexus/db-model",
"nexus/defaults",
"nexus/passwords",
"nexus/types",
"nexus-client",
"package",
"rpaths",
"sled-agent",
"sled-agent-client",
"sp-sim",
"oxide-client",
"oximeter/oximeter",
"oximeter/collector",
"oximeter/db",
"oximeter/instruments",
"oximeter/producer",
"oximeter/oximeter-macro-impl",
"oximeter-client",
"test-utils",
]
resolver = "2"
[profile.dev]
panic = "abort"
# `bindgen` is used by `samael`'s build script; building it with optimizations
# makes that build script run ~5x faster, more than offsetting the additional
# build time added to `bindgen` itself.
[profile.dev.package.bindgen]
opt-level = 3
# `lalrpop` is used by `polar-core`'s build script; building it with
# optimizations makes that build script run ~20x faster, more than offsetting
# the additional build time added to `lalrpop` itself.
[profile.dev.package.lalrpop]
opt-level = 3
# `polar-core` is exercised heavily during the test suite and it's worthwhile to
# have it built with optimizations.
[profile.dev.package.polar-core]
opt-level = 3
# Password hashing is expensive by construction. Build the hashing libraries
# with optimizations to significantly speed up tests.
[profile.dev.package.argon2]
opt-level = 3
[profile.dev.package.rust-argon2]
opt-level = 3
[profile.release]
panic = "abort"
#
# It's common during development to use a local copy of dropshot, propolis,
# crucible, or steno in the parent directory. If you want to use those,
# uncomment one of these blocks.
#
#[patch."https://github.com/oxidecomputer/dropshot"]
#dropshot = { path = "../dropshot/dropshot" }
#[patch."https://github.com/oxidecomputer/steno"]
#steno = { path = "../steno" }
#[patch."https://github.com/oxidecomputer/propolis"]
#propolis-client = { path = "../propolis/lib/propolis-client" }
#[patch."https://github.com/oxidecomputer/crucible"]
#crucible-client-typess = { path = "../crucible/crucible-client-typess" }
#
# Local client generation during development.
#
#[patch."https://github.com/oxidecomputer/progenitor"]
#progenitor = { path = "../progenitor/progenitor" }
#[patch."https://github.com/oxidecomputer/typify"]
#typify = { path = "../typify/typify" }
#
# We maintain a fork of pq-sys to address upstream issues. See the
# README.oxide.md in the "oxide" branch of our fork for details.
#
[patch.crates-io.pq-sys]
git = 'https://github.com/oxidecomputer/pq-sys'
branch = "oxide/omicron"