Files
Pumpkin/pumpkin/Cargo.toml
Alexander Medvedev 386fe547ad use rust's new file::try_lock
I was already waiting for this for a long time, now in the newest rust 1.89 it got stabilized :D
https://doc.rust-lang.org/stable/std/fs/struct.File.html#method.try_lock
2025-08-11 21:03:29 +02:00

96 lines
2.1 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.4", features = ["sha1"] }
rsa-der = "0.3"
# authentication
ureq = { version = "3.0.12", 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.2"
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"]