Files
Pumpkin/pumpkin/Cargo.toml
spr-equinox e71bccf564 Load-level–based Chunk System (#1157)
* Make protochunk not have a lifetime

* Staged chunks

* fix

* new generation system init

* small optimize

* fix warning

* fmt

* new get chunk

* use write_radius

* save stage in protochunk

* clean up

* clean old fn

* fix bug

* support saving but broke shutdown

* fail to fix shutdown and still many problems need to solve

* fix shutdown

* fix chunk unload; give highest priority to get_chunk

* fix tick deadlock

* fix chunk level

* drop old channel

* rewrite run_decrease_update; fix a stupid error

* Update chunk_system.rs

* remove some log

* lighter dependency

* clean up

* fix ci

* clean up & merge

* Update chunk_system.rs

* fix a bug

* Proto Chunk Saving, safer io and remove debug output

Port Proto Chunk Saving From #1164

* fix a bug

* fetching chunk message level set to debug

* Update multi_noise.rs

---------

Co-authored-by: 4lve <72332750+4lve@users.noreply.github.com>
Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
2025-10-10 21:52:56 +02:00

96 lines
2.2 KiB
TOML

[package]
name = "pumpkin"
version.workspace = true
description = "Empowering everyone to host fast and efficient Minecraft servers."
edition.workspace = true
rust-version = "1.89"
[package.metadata.tauri-winres]
# FileDescription is handled as the Program name by Windows!
FileDescription = "Pumpkin"
OriginalFilename = "pumpkin.exe"
LegalCopyright = "Copyright © 2025 Aleksander Medvedev"
# Required to expose pumpkin plugin API
[lib]
doctest = false
[dependencies]
# pumpkin
pumpkin-util = { path = "../pumpkin-util" }
pumpkin-nbt = { path = "../pumpkin-nbt" }
pumpkin-config = { path = "../pumpkin-config" }
pumpkin-inventory = { path = "../pumpkin-inventory" }
pumpkin-world = { path = "../pumpkin-world" }
pumpkin-data = { path = "../pumpkin-data" }
pumpkin-protocol = { path = "../pumpkin-protocol" }
pumpkin-registry = { path = "../pumpkin-registry" }
pumpkin-macros = { path = "../pumpkin-macros" }
log.workspace = true
crossbeam.workspace = true
uuid.workspace = true
tokio.workspace = true
rayon.workspace = true
thiserror.workspace = true
async-trait.workspace = true
futures.workspace = true
# config
serde.workspace = true
serde_json.workspace = true
bytes.workspace = true
rand = "0.9"
num-bigint = "0.4"
# Console line reading
rustyline-async = "0.4.7"
# encryption
rsa = { version = "=0.10.0-rc.5", features = ["sha1"] }
rsa-der = "0.3"
# authentication
ureq = { version = "3.1.2", features = [
"json",
] }
sha1 = "=0.11.0-rc.0"
# velocity en
hmac = "=0.13.0-rc.0"
sha2 = "=0.11.0-rc.0"
base64 = "0.22.1"
# logging
simplelog = { version = "0.12.2", features = ["ansi_term"] }
# Remove time in favor of chrono?
time = "0.3"
# plugins
libloading = "0.8"
rustc-hash = "2.1.1"
# Task handling
tokio-util = { version = "0.7.16", features = ["rt"] }
# Memory profiling
dhat = { version = "0.3.3", optional = true }
flate2 = "1.1.4"
console-subscriber = { version = "0.4.1", optional = true }
[dev-dependencies]
tempfile.workspace = true
[features]
#https://nnethercote.github.io/dh_view/dh_view.html
#https://valgrind.org/docs/manual/dh-manual.html
dhat-heap = ["dep:dhat"]
console-subscriber = ["dep:console-subscriber"]
tokio_taskdump = ["pumpkin-world/tokio_taskdump"]