summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 78216b0a98806805454bb561c1c9772102b9838f (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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
[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/_config",
    "systems/_constants",
    "systems/_constants/macros",
    "systems/_framework",
    "systems/_framework/space_macro",
    "systems/sheet",
    "systems/sheet/macros",
    "systems/vault",
    "systems/workspace",
    "utils/data_struct",
    "utils/hex_display",
    "utils/sha1_hash",
    "utils/tcp_connection",
    "utils/tcp_connection/tcp_connection_test",

    # LEGACY AREA
    "legacy_actions",
    "legacy_data",
    "legacy_data/tests",
    "legacy_systems/action",
    "legacy_systems/action/action_macros",
    "legacy_utils/cfg_file",
    "legacy_utils/cfg_file/cfg_file_derive",
    "legacy_utils/cfg_file/cfg_file_test",
    # LEGACY AREA
]

[workspace.package]
version = "0.1.0"

[workspace.dependencies]
# Macro & code gen
proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "2.0", features = ["full", "extra-traits"] }

# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
toml = "0.9"

# Text processing
just_fmt = "0.1.2"
regex = "1.12"

# Async runtime
tokio = { version = "1.50", features = ["full"] }

# Error handling
thiserror = "2"

[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

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

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

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

# Documents
vcs_docs = { path = "docs" }

# Utils
cfg_file = { path = "legacy_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" }
config_system = { path = "systems/_config" }
constants = { path = "systems/_constants" }
framework = { path = "systems/_framework" }
sheet_system = { path = "systems/sheet" }
vault_system = { path = "systems/vault" }
workspace_system = { path = "systems/workspace" }

# Legacy
vcs_data = { path = "legacy_data" }
vcs_actions = { path = "legacy_actions" }
action_system = { path = "legacy_systems/action" }

serde.workspace = true