summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 0c67d0639b1470b773962fb83dca27e8fac62167 (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
104
105
106
107
108
109
110
111
[package]
name = "just_enough_vcs"
edition = "2024"
license-file = "LICENSE-MIT"
authors = ["Weicao-CatilGrass (GitHub)"]

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

[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",
    "systems/storage",
    "utils/cfg_file",
    "utils/cfg_file/cfg_file_derive",
    "utils/cfg_file/cfg_file_test",
    "utils/data_struct",
    "utils/hex_display",
    "utils/sha1_hash",
    "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"

[dev-dependencies]
tokio = { version = "1.48", features = ["rt"] }
criterion = "0.8"

[[bench]]
name = "sheet_benchmark"
harness = false

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

# Documents
vcs_docs = { path = "docs" }

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

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

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