File tree Expand file tree Collapse file tree 4 files changed +1
-43
lines changed Expand file tree Collapse file tree 4 files changed +1
-43
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ FROM chef AS builder
16
16
COPY --from=planner /app/recipe.json recipe.json
17
17
RUN cargo chef cook --release --recipe-path recipe.json
18
18
COPY . .
19
+ RUN cargo build --release --bin cli
19
20
RUN mv target/${CARGO_BUILD_TARGET}/release /out
20
21
21
22
FROM scratch AS prod
Original file line number Diff line number Diff line change @@ -40,17 +40,3 @@ features = ["postgres"]
40
40
[dependencies .tokio ]
41
41
version = " 1.36.0"
42
42
features = [" full" ]
43
-
44
- [lib ]
45
- path = " src/lib.rs"
46
- name = " adapter"
47
- test = true
48
- doctest = true
49
- bench = true
50
- doc = true
51
- plugin = false
52
- proc-macro = false
53
- harness = true
54
- edition = " 2021"
55
- required-features = []
56
- crate-type = [" rlib" ]
Original file line number Diff line number Diff line change 1
- bin = []
2
1
bench = []
3
2
test = []
4
3
example = []
@@ -40,17 +39,3 @@ features = ["derive"]
40
39
[dependencies .tracing-subscriber ]
41
40
version = " 0.3.18"
42
41
features = [" env-filter" ]
43
-
44
- [lib ]
45
- path = " src/lib.rs"
46
- name = " common"
47
- test = true
48
- doctest = true
49
- bench = true
50
- doc = true
51
- plugin = false
52
- proc-macro = false
53
- harness = true
54
- edition = " 2021"
55
- required-features = []
56
- crate-type = [" rlib" ]
Original file line number Diff line number Diff line change @@ -18,17 +18,3 @@ version = "0.1.77"
18
18
[dependencies .serde ]
19
19
version = " 1.0"
20
20
features = [" derive" ]
21
-
22
- [lib ]
23
- path = " src/lib.rs"
24
- name = " rust_core"
25
- test = true
26
- doctest = true
27
- bench = true
28
- doc = true
29
- plugin = false
30
- proc-macro = false
31
- harness = true
32
- edition = " 2021"
33
- required-features = []
34
- crate-type = [" rlib" ]
You can’t perform that action at this time.
0 commit comments