28 lines
998 B
TOML
28 lines
998 B
TOML
[package]
|
|
name = "common"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
block-mesh = { version = "0.2.0", optional = true }
|
|
ron = { version = "0.8", optional = true }
|
|
serde = { version = "1.0", optional = true }
|
|
strum = { version = "0.24", optional = true }
|
|
strum_macros = { version = "0.24", optional = true }
|
|
bevy = { version = "0.11", default-features = false, optional = true }
|
|
dot_vox = { version = "4.1.0", optional = true }
|
|
thiserror = { version = "1.0", optional = true }
|
|
|
|
|
|
[features]
|
|
# there are probably some invalid and untested combinations of these!
|
|
two_dimensional = []
|
|
three_dimensional = [ "block-mesh", "two_dimensional" ]
|
|
serde = ["dep:serde", "dep:ron", "two_dimensional", "three_dimensional", "std"]
|
|
bevy = ["dep:bevy"]
|
|
import_dot_vox = ["dep:dot_vox"]
|
|
block-mesh = ["dep:block-mesh"]
|
|
std = ["dep:strum", "dep:strum_macros", "dep:thiserror"]
|
|
fixed_arrays_instead_of_vecs = [] |