[package]
edition = "2024"
rust-version = "1.89"
name = "voxel-framework"
version = "0.10.0"
authors = ["Cristhofer <cristraviesodeleon@gmail.com>"]
build = false
exclude = [
".codex",
".codex/**",
".claude/**",
".atl/**",
".github/**",
"openspec/**",
"Cargo.toml.orig",
"worlds/**",
"CLAUDE.md",
"docs/sdd/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A reusable voxel engine framework built on Bevy"
homepage = "https://github.com/cristhofert/voxel-framework"
documentation = "https://docs.rs/voxel-framework"
readme = "README.md"
keywords = [
"voxel",
"bevy",
"gamedev",
"voxel-engine",
"procedural",
]
categories = [
"game-development",
"rendering",
"graphics",
]
license = "LGPL-3.0-or-later"
repository = "https://github.com/cristhofert/voxel-framework"
[package.metadata.docs.rs]
all-features = true
[features]
crafting = ["items"]
default = [
"items",
"crafting",
"mobs",
]
items = [
"dep:tempfile",
"dep:windows-sys",
]
mobs = []
tracing = ["dep:tracing"]
tracy = [
"tracing",
"dep:tracing-tracy",
"dep:tracing-subscriber",
]
[lib]
name = "voxel_framework"
path = "src/lib.rs"
[[example]]
name = "basic_world"
path = "examples/basic_world.rs"
required-features = ["items"]
[[example]]
name = "content_definitions"
path = "examples/content_definitions.rs"
required-features = ["items"]
[[example]]
name = "effect_definitions"
path = "examples/effect_definitions.rs"
[[example]]
name = "hud"
path = "examples/hud.rs"
[[example]]
name = "minetest"
path = "examples/minetest.rs"
required-features = [
"items",
"crafting",
"mobs",
]
[[example]]
name = "player_focus"
path = "examples/player_focus.rs"
[[example]]
name = "stats_definitions"
path = "examples/stats_definitions.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[dependencies.bevy]
version = "0.18"
features = [
"bevy_asset",
"bevy_render",
"bevy_pbr",
"bevy_core_pipeline",
"multi_threaded",
"bevy_ui",
"bevy_text",
"bevy_sprite",
"bevy_state",
"bevy_audio",
"vorbis",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tempfile]
version = "=3.27.0"
optional = true
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
optional = true
[dependencies.tracing-subscriber]
version = "0.3"
optional = true
[dependencies.tracing-tracy]
version = "0.11"
optional = true
[dev-dependencies.bevy]
version = "0.18"
features = [
"bevy_winit",
"wayland",
"bevy_mesh",
"bevy_audio",
"vorbis",
]
[target."cfg(windows)".dependencies.windows-sys]
version = "=0.61.2"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_Security_Authorization",
"Win32_Storage_FileSystem",
"Win32_System_Threading",
"Win32_System_SystemServices",
]
optional = true
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 3