forked from ferrumc-rs/ferrumc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
111 lines (88 loc) · 2.16 KB
/
Cargo.toml
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 = "ferrumc"
version = "0.1.1"
edition = "2021"
build = "build/build.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# Async
tokio = { version = "1.40", features = ["full", "tracing"] }
futures = "0.3.30"
async-trait = "0.1"
# Multi-threading
parking_lot = "0.12.3"
# Error handling
anyhow = "1.0.89"
thiserror = "1.0.61"
# Logging
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
console-subscriber = "0.4.0"
# Serialization / Deserialization
serde = { version = "1.0", features = ["derive"] }
serde_derive = "1.0"
serde_json = "1.0.119"
toml = "0.8.14"
flexbuffers = "2.0.0"
bincode = "2.0.0-rc.3"
# Configuration
config = "0.14.0"
lazy_static = "1.5.0"
# NBT and Anvil
fastnbt = "2.5.0"
fastanvil = "0.31.0"
simdnbt = { path = "src/crates/yoinked/simdnbt/simdnbt" }
simdnbt-derive = { path = "src/crates/yoinked/simdnbt/simdnbt-derive" }
# Binary
byteorder = "1.5.0"
uuid = { version = "1.9.1", features = ["v4", "v3", "v5"] }
# Compression
include-flate = "0.3.0"
flate2 = "1.0"
bzip2 = "0.4.4"
lz4_flex = "0.11.3"
zstd = "0.13.2"
# OS
which = "6.0.3"
# Custom crates
ferrumc_macros = { path = "src/crates/ferrumc_macros" }
ferrumc_codec = { path = "src/crates/ferurmc_codec" }
nbt-lib = { path = 'src/crates/nbt-workspace/nbt-lib', features = ["derive"] }
# Database
moka = { version = "0.12.8", features = ["future"] }
heed = "0.20.5"
# Misc
dashmap = "6.1"
hashbrown = { version = "0.14.5", features = ["serde"] }
rand = "0.9.0-alpha.1"
base64 = "0.22.1"
rayon = "1.10.0"
macro_rules_attribute = "0.2.0"
deepsize = "0.2.0"
deepsize_derive = "0.1.2"
# CLI
clap = { version = "4.5" }
clap_derive = "4.5"
indicatif = "0.17.8"
num_cpus = "1.16.0"
# Compile Time Reflections (?)
inventory = "0.3.15"
# Set the cache to the highest level for development
[profile.dev.package.moka]
opt-level = 3
[lib]
name = "ferrumc"
path = "src/lib.rs"
[[bin]]
name = "ferrumc"
path = "src/main.rs"
[build-dependencies]
# Build
winres = "0.1.12"
[dev-dependencies]
# Benches
criterion = { version = "0.5.1", features = ["html_reports"] }
[[bench]]
name = "benches"
harness = false
path = "./src/benches/bench_nbt_ser_de.rs"