@@ -24,35 +24,6 @@ tokio = { version = "1.32" }
24
24
tracing = { version = " 0.1" }
25
25
uuid = { version = " 1.6" , default-features = false , features = [" v4" , " serde" ] }
26
26
27
- # Ref https://github.com/cross-rs/cross/blob/main/docs/custom_images.md#adding-dependencies-to-existing-images
28
- [workspace .metadata .cross .target .aarch64-unknown-linux-gnu ]
29
- pre-build = [
30
- " dpkg --add-architecture $CROSS_DEB_ARCH" ,
31
- " apt-get update && apt-get --assume-yes install protobuf-compiler:$CROSS_DEB_ARCH"
32
- ]
33
- [workspace .metadata .cross .target .aarch64-unknown-linux-musl ]
34
- pre-build = [
35
- " dpkg --add-architecture $CROSS_DEB_ARCH" ,
36
- " apt-get update && apt-get --assume-yes install protobuf-compiler:$CROSS_DEB_ARCH"
37
- ]
38
- [workspace .metadata .cross .target .x86_64-unknown-linux-gnu ]
39
- pre-build = [
40
- " dpkg --add-architecture $CROSS_DEB_ARCH" ,
41
- " apt-get update && apt-get --assume-yes install protobuf-compiler:$CROSS_DEB_ARCH"
42
- ]
43
- [workspace .metadata .cross .target .x86_64-unknown-linux-musl ]
44
- pre-build = [
45
- " dpkg --add-architecture $CROSS_DEB_ARCH" ,
46
- " apt-get update && apt-get --assume-yes install protobuf-compiler:$CROSS_DEB_ARCH"
47
- ]
48
- [workspace .metadata .cross .target .x86_64-apple-darwin ]
49
- pre-build = [
50
- " brew install protobuf"
51
- ]
52
- [workspace .metadata .cross .target .aarch64-apple-darwin ]
53
- pre-build = [
54
- " brew install protobuf"
55
- ]
56
27
57
28
[profile .release ]
58
29
lto = true # Optimize our binary at link stage.
0 commit comments