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

[features]
all = [
    "utils",
    "lib",
]
utils = [
    "cfg_file",
    "data_struct",
    "sha1_hash",
    "tcp_connection",
    "string_proc",
]
cfg_file = []
data_struct = []
sha1_hash = []
tcp_connection = []
string_proc = []
lib = []

[workspace]
members = [
    "docs",
    "ffi",
    "systems/_asset",
    "systems/_asset/macros",
    "systems/_asset/test",
    "systems/_constants",
    "systems/_constants/macros",
    "systems/action",
    "systems/action/action_macros",
    "systems/sheet",
    "systems/sheet/macros",
    "utils/cfg_file",
    "utils/cfg_file/cfg_file_derive",
    "utils/cfg_file/cfg_file_test",
    "utils/data_struct",
    "utils/sha1_hash",
    "utils/string_proc",
    "utils/tcp_connection",
    "utils/tcp_connection/tcp_connection_test",

    # LEGACY AREA
    "legacy_data",
    "legacy_data/tests",
    "legacy_actions",
    # LEGACY AREA
]

[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"

[build-dependencies]
chrono = "0.4"
toml = "0.9"

[dependencies]
# ffi
jvlib = { path = "ffi" }

# Documents
vcs_docs = { path = "docs" }

# Utils
cfg_file = { path = "utils/cfg_file" }
data_struct = { path = "utils/data_struct" }
sha1_hash = { path = "utils/sha1_hash" }
tcp_connection = { path = "utils/tcp_connection" }
string_proc = { path = "utils/string_proc" }

# Systems
asset_system = { path = "systems/_asset" }
constants = { path = "systems/_constants" }
action_system = { path = "systems/action" }
sheet_system = { path = "systems/sheet" }

# Legacy
vcs_data = { path = "legacy_data" }
vcs_actions = { path = "legacy_actions" }