0
0
mirror of https://github.com/Pumpkin-MC/Pumpkin synced 2025-04-16 04:05:36 +00:00
Files
Pumpkin/pumpkin-world/Cargo.toml
Hugo Planque 4672f61965 feat(player-data): Support saving and loading player NBT Data (#600)
* feat(player-data): Support saving and loading player NBT Data

* fix(player_data): ensure player data is save before continuing

* fix(player_data): implement NBTStorage for hunger data

* feat(player-data): allow setting world name in config

* fix(player-data): use correct method to retrieve world_name

* feat(player-data): move PlayerDataStorage to pumpkin-world

* fix(player-data): ci not building

* fix(player-data): ci not building

* feat(player-data): support inventory saving + review fix

* fix(player-data): forgot the format

* some fixes

* fix clippy

---------

Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
2025-03-24 20:55:41 +01:00

62 lines
1.2 KiB
TOML

[package]
name = "pumpkin-world"
version.workspace = true
edition.workspace = true
[dependencies]
pumpkin-nbt = { path = "../pumpkin-nbt" }
pumpkin-util = { path = "../pumpkin-util" }
pumpkin-config = { path = "../pumpkin-config" }
pumpkin-macros = { path = "../pumpkin-macros" }
pumpkin-data = { path = "../pumpkin-data" }
async-trait.workspace = true
futures.workspace = true
bytes.workspace = true
tokio.workspace = true
rayon.workspace = true
derive_more.workspace = true
uuid.workspace = true
thiserror.workspace = true
serde.workspace = true
serde_json.workspace = true
log.workspace = true
num-derive = "0.4"
sha2 = "0.10"
dashmap = "6.1"
num-traits = "0.2"
# Compression
flate2 = "1.1"
lz4 = "1.28"
zstd = "0.13.3"
itertools = "0.14.0"
file-guard = "0.2"
indexmap = "2.8"
enum_dispatch = "0.3"
noise = "0.9"
serde_json5 = "0.2.1"
derive-getters = "0.5.0"
tokio-util = { version = "0.7.14", features = ["rt"] }
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports", "async_tokio"] }
temp-dir = "0.1.14"
# Print log info inside tests when needed
env_logger = "0.11.7"
# Allows us to modify the config
pumpkin-config = { path = "../pumpkin-config", features = ["test_helper"] }
[[bench]]
name = "chunk_noise_populate"
harness = false