-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
65 lines (57 loc) · 1.68 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
[package]
name = "clean-architecture-with-rust"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
publish = false
[[bin]]
name = "clean-architecture-with-rust-cli"
path = "src/bin/cli.rs"
[[bin]]
name = "clean-architecture-with-rust-web"
path = "src/bin/web.rs"
[[bin]]
name = "clean-architecture-with-rust-desktop"
path = "src/bin/desktop.rs"
[workspace]
members = [
"crates/adapter",
"crates/application",
"crates/cli",
"crates/db",
"crates/desktop-egui",
"crates/domain",
"crates/infrastructure",
"crates/json-boundary",
"crates/web-app-api",
"crates/web-app-kern",
"crates/web-app-seed",
"crates/web-server-warp"
]
exclude = [ "crates/web-app" ]
[workspace.package]
authors = ["Markus Kohlhase <markus.kohlhase@slowtec.de>"]
version = "0.0.0"
edition = "2021"
rust-version = "1.79"
[dependencies]
cawr-infrastructure = "0.0.0"
[patch.crates-io]
cawr-adapter = { path = "crates/adapter" }
cawr-application = { path = "crates/application" }
cawr-cli = { path = "crates/cli" }
cawr-db = { path = "crates/db" }
cawr-desktop-egui = { path = "crates/desktop-egui" }
cawr-domain = { path = "crates/domain" }
cawr-infrastructure = { path = "crates/infrastructure" }
cawr-json-boundary = { path = "crates/json-boundary" }
cawr-web-app-api = { path = "crates/web-app-api" }
cawr-web-app-kern = { path = "crates/web-app-kern" }
cawr-web-app-seed = { path = "crates/web-app-seed" }
cawr-web-server-warp = { path = "crates/web-server-warp" }
[profile.release]
lto = true
opt-level = 3
codegen-units = 1
strip = true