-
Notifications
You must be signed in to change notification settings - Fork 26
/
Cargo.toml
147 lines (139 loc) · 4.17 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
136
137
138
139
140
141
142
143
144
145
146
147
[workspace]
resolver = "2"
members = [
"tools/bottlerocket-variant",
"tools/buildsys",
"tools/buildsys-config",
"tools/oci-cli-wrapper",
"tools/parse-datetime",
"tools/pipesys",
"tools/pubsys",
"tools/pubsys-config",
"tools/pubsys-setup",
"tools/testsys",
"tools/testsys-config",
"tools/unplug",
"tools/update-metadata",
"twoliter",
"tests/integration-tests",
]
[profile.release]
strip = "debuginfo"
codegen-units = 1
lto = true
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.1.0"
# CI backends to support (see 'cargo dist generate-ci')
ci = ["github"]
# The installers to generate for each app
installers = []
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["x86_64-unknown-linux-musl", "aarch64-unknown-linux-musl"]
[workspace.metadata.cross.build]
pre-build = [
# install golang and patch for krane-bundle
"apt update && apt --assume-yes install golang-1.22 patch",
"update-alternatives --install /usr/bin/go go /usr/lib/go-1.22/bin/go 10",
# give the builder access to the go build and module caches
"mkdir /.cache && chmod a+rw /.cache",
"mkdir /go && chmod a+rw /go",
]
[workspace.dependencies]
bottlerocket-types = { version = "0.0.14", git = "https://github.com/bottlerocket-os/bottlerocket-test-system", tag = "v0.0.14" }
bottlerocket-variant = { version = "0.1", path = "tools/bottlerocket-variant" }
buildsys = { version = "0.1", path = "tools/buildsys", lib = true, artifact = [ "bin:buildsys" ] }
buildsys-config = { version = "0.1", path = "tools/buildsys-config" }
krane-bundle = { version = "0.1", path = "tools/krane" }
oci-cli-wrapper = { version = "0.1", path = "tools/oci-cli-wrapper" }
parse-datetime = { version = "0.1", path = "tools/parse-datetime" }
pipesys = { version = "0.1", path = "tools/pipesys", lib = true, artifact = [ "bin:pipesys" ] }
pubsys = { version = "0.1", path = "tools/pubsys", artifact = [ "bin:pubsys" ] }
pubsys-config = { version = "0.1", path = "tools/pubsys-config" }
pubsys-setup = { version = "0.1", path = "tools/pubsys-setup", artifact = [ "bin:pubsys-setup" ] }
testsys = { version = "0.1", path = "tools/testsys", artifact = [ "bin:testsys" ] }
testsys-config = { version = "0.1", path = "tools/testsys-config" }
testsys-model = { version = "0.0.14", git = "https://github.com/bottlerocket-os/bottlerocket-test-system", tag = "v0.0.14" }
twoliter = { version = "0.6.0", path = "twoliter", artifact = [ "bin:twoliter" ] }
unplug = { version = "0.1", path = "tools/unplug", artifact = [ "bin:unplug" ] }
update-metadata = { version = "0.1", path = "tools/update-metadata" }
anyhow = "1"
async-recursion = "1"
async-stream = "0.3"
async-trait = "0.1"
async-walkdir = "1"
aws-config = "1"
aws-credential-types = "1"
aws-sdk-ebs = "1"
aws-sdk-ec2 = "1"
aws-sdk-kms = "1"
aws-sdk-ssm = "1"
aws-sdk-sts = "1"
aws-smithy-types = "1"
aws-types = "1"
base64 = "0.22"
bytes = "1"
chrono = { version = "0.4", default-features = false }
clap = "4"
coldsnap = { version = "0.6", default-features = false }
daemonize = "0.5"
duct = "0.13"
env_logger = "0.11"
fastrand = "2"
filetime = "0.2"
flate2 = "1"
futures = "0.3"
governor = "0.6"
guppy = "0.17"
handlebars = "5"
hex = "0.4"
home = "0.5"
indicatif = "0.17"
inotify = "0.10.2"
lazy_static = "1"
libc = "0.2"
log = "0.4"
maplit = "1"
nix = "0.28"
nonzero_ext = "0.3"
num_cpus = "1"
olpc-cjson = "0.1"
rand = { version = "0.8", default-features = false }
regex = "1"
reqwest = { version = "0.11", default-features = false }
seccompiler = "0.4"
semver = "1"
serde = "1"
serde_json = "1"
serde_plain = "1"
serde_yaml = "0.9"
sha2 = "0.10"
shell-words = "1"
simplelog = "0.12"
snafu = "0.8"
strum = "0.26"
tabled = "0.10"
tar = "0.4"
tempfile = "3"
term_size = "0.3"
tinytemplate = "1"
tokio = "1"
tokio-stream = "0.1"
tokio-retry = "0.3"
toml = "0.8"
tough = "0.18"
tough-kms = "0.10"
tough-ssm = "0.13"
tracing = "0.1"
tuftool = { version = "0.11.1", artifact = [ "bin:tuftool" ] }
uds = "0.4.1"
unescape = "0.1"
url = "2"
uuid = "1"
walkdir = "2"
which = "6"
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"