summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 16b7360ec534a80bc5fd9e8f3b4349c162f6476a (plain)
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
[package]
name = "just_enough_vcs"
edition = "2024"
license-file = "LICENSE-MIT.md"
authors = ["Weicao-CatilGrass (GitHub)"]

[features]
all = ["cfg_file", "tcp_connection", "string_proc", "vcs"]
cfg_file = []
tcp_connection = []
string_proc = []
vcs = []

[workspace]
members = [
    "crates/utils/cfg_file",
    "crates/utils/cfg_file/cfg_file_derive",
    "crates/utils/cfg_file/cfg_file_test",

    "crates/utils/tcp_connection",
    "crates/utils/tcp_connection/tcp_connection_test",

    "crates/utils/string_proc",

    "crates/service",
    "crates/service/service_macros",

    "crates/vcs",
    "crates/vcs/vcs_test",
]

[workspace.package]
version = "0.1.0"

[profile.dev]
opt-level = 0
debug = true
split-debuginfo = "unpacked"
codegen-units = 16
incremental = true
lto = false
panic = "unwind"

[profile.release]
opt-level = 3
debug = false
split-debuginfo = "off"
codegen-units = 1
incremental = false
lto = "fat"
panic = "abort"
strip = "symbols"

[dependencies]
cfg_file = { path = "crates/utils/cfg_file" }
tcp_connection = { path = "crates/utils/tcp_connection" }
string_proc = { path = "crates/utils/string_proc" }

vcs = { path = "crates/vcs" }