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

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

[workspace]
members = [
    "docs",
    "ffi",
    "protocol",
    "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",
]

[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
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" }
protocol = { path = "protocol" }
sheet_system = { path = "systems/sheet" }
vault_system = { path = "systems/vault" }
workspace_system = { path = "systems/workspace" }

serde.workspace = true