Pumpkin/pumpkin-world/Cargo.toml
Alexander Medvedev 98d1406646 Implement session.lock
Lock session.lock so other processes know that we currently read and write to the level. This is vanilla behavior.

Test:
Tested to start the a new server while on was locking the file, and got `Failed to lock level: AlreadyLocked("session.lock")` as expected
2024-12-27 16:04:40 +01:00

48 lines
911 B
TOML

[package]
name = "pumpkin-world"
version.workspace = true
edition.workspace = true
[dependencies]
pumpkin-nbt = { path = "../pumpkin-nbt" }
pumpkin-core = { path = "../pumpkin-core" }
pumpkin-config = { path = "../pumpkin-config" }
pumpkin-macros = { path = "../pumpkin-macros" }
tokio.workspace = true
rayon.workspace = true
derive_more.workspace = true
thiserror.workspace = true
serde.workspace = true
serde_json.workspace = true
log.workspace = true
num-traits.workspace = true
num-derive.workspace = true
dashmap = "6.1.0"
# Compression
flate2 = "1.0"
lz4 = "1.28.0"
file-guard = "0.2.0"
enum_dispatch = "0.3.13"
fastnbt = { git = "https://github.com/owengage/fastnbt.git" }
noise = "0.9.0"
rand = "0.8.5"
[dev-dependencies]
criterion = { version = "0.5.1", features = ["html_reports"] }
[[bench]]
name = "chunk_noise"
harness = false
[[bench]]
name = "chunk_noise_populate"
harness = false