0
0
mirror of https://github.com/Snowiiii/Pumpkin.git synced 2024-12-03 17:16:08 +00:00
Pumpkin/Cargo.toml
kralverde 979877f048
"populate noise" step of chunk generation (#319)
* implement populate noise step of chunk generation

* fix gitignore

* pass thru seed

* add counter for edge case

* add entire chunk test case

* remove eclipse file

* remove packet timing

* precompute float divisions

* unsafe speed up

* slight aquifer optimization

* tweak block pos packing

* optimize perlin map

* precompute aquifer random positions

* fix aquifer regression

* refactor samplers, add tests to aquifer, and move chunk extractor to the extractors

* fix base density function error and add a bunch of test cases

* ignore expensive tests by default

* remove un-needed lifetimes

* remove minecraft prefix from block lookups

* fix populate noise bench

* slight optimizations

* read files at runtime to speed up test compilation speed and remove ignores

* remove new lines from test data so people stop freaking out about line count

* make extractor the same

* leverage branch prediction

---------

Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
2024-12-02 19:01:37 +01:00

66 lines
1.1 KiB
TOML

[workspace]
resolver = "2"
members = [
"pumpkin-config",
"pumpkin-core",
"pumpkin-entity",
"pumpkin-inventory",
"pumpkin-macros/",
"pumpkin-protocol/",
"pumpkin-registry/",
"pumpkin-world",
"pumpkin/",
]
[workspace.package]
version = "0.1.0"
edition = "2021"
[profile.dev.package."*"]
opt-level = 3
[profile.dev]
opt-level = 1
[profile.release]
lto = true
codegen-units = 1
[profile.bench]
debug = true
[profile.profiling]
inherits = "release"
debug = true
[workspace.dependencies]
log = "0.4"
tokio = { version = "1.41", features = [
"fs",
"io-util",
"macros",
"net",
"rt-multi-thread",
"sync",
"io-std",
"signal",
] }
thiserror = "2"
num-traits = "0.2"
num-derive = "0.4"
bytes = "1.8"
# Concurrency/Parallelism and Synchronization
rayon = "1.10.0"
parking_lot = { version = "0.12.3", features = ["send_guard"] }
crossbeam = "0.8.4"
uuid = { version = "1.11.0", features = ["serde", "v3", "v4"] }
derive_more = { version = "1.0.0", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
itertools = "0.13.0"