chunkgen 0.2.0

Minecraft world generation library
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "chunkgen"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Minecraft world generation library"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/garfxld/chunkgen"

[lib]
name = "chunkgen"
path = "src/lib.rs"

[[example]]
name = "amplified"
path = "examples/amplified.rs"

[[example]]
name = "datapack"
path = "examples/datapack.rs"

[[example]]
name = "debug_world"
path = "examples/debug_world.rs"

[[example]]
name = "flat_world"
path = "examples/flat_world.rs"

[[example]]
name = "large_biomes"
path = "examples/large_biomes.rs"

[[example]]
name = "single_biome"
path = "examples/single_biome.rs"

[[example]]
name = "vanilla"
path = "examples/vanilla.rs"

[dependencies.arc-swap]
version = "1.9.2"

[dependencies.cranelift-codegen]
version = "0.134"

[dependencies.cranelift-frontend]
version = "0.134"

[dependencies.cranelift-jit]
version = "0.134"

[dependencies.cranelift-module]
version = "0.134"

[dependencies.cranelift-native]
version = "0.134"

[dependencies.flate2]
version = "1.1.9"

[dependencies.glam]
version = "0.33.2"
features = ["serde"]

[dependencies.parking_lot]
version = "0.12.5"
features = [
    "nightly",
    "arc_lock",
]

[dependencies.rayon]
version = "1.12.0"

[dependencies.rustc-hash]
version = "2.1.3"

[dependencies.serde]
version = "1.0.229"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0.151"

[dependencies.sha2]
version = "0.10.9"

[dependencies.shulkr]
version = "0.1.3"

[dependencies.shulkr-data]
version = "0.1.3"

[dependencies.simdnbt]
version = "0.10"

[dependencies.smallvec]
version = "1.15.2"
features = ["const_generics"]

[dependencies.thiserror]
version = "2.0.19"

[dependencies.tracing]
version = "0.1.44"

[dependencies.zip]
version = "8.6.0"
features = ["deflate"]
default-features = false

[dev-dependencies.shulkr]
version = "0.1.3"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[lints.clippy]
absolute_paths = "warn"
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
missing_const_for_fn = "warn"
undocumented_unsafe_blocks = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.unwrap_used]
level = "warn"
priority = -2

[profile.bench]
debug = 2

[profile.dev]
opt-level = 3
codegen-units = 16
debug = 0
debug-assertions = false
overflow-checks = false

[profile.profiling]
debug = 2
inherits = "release"

[profile.release]
lto = true
codegen-units = 1
panic = "abort"