2019-01-15 15:13:11 +00:00
|
|
|
[package]
|
|
|
|
name = "veloren-world"
|
2021-06-12 08:14:07 +00:00
|
|
|
version = "0.10.0"
|
2019-01-15 15:13:11 +00:00
|
|
|
authors = ["Joshua Barretto <joshua.s.barretto@gmail.com>"]
|
2022-01-26 14:03:27 +00:00
|
|
|
edition = "2021"
|
2019-01-15 15:13:11 +00:00
|
|
|
|
2020-09-29 12:29:18 +00:00
|
|
|
[features]
|
2023-01-06 02:06:28 +00:00
|
|
|
use-dyn-lib = ["common-dynlib"]
|
|
|
|
be-dyn-lib = []
|
2021-07-14 08:55:11 +00:00
|
|
|
simd = ["vek/platform_intrinsics", "packed_simd"]
|
2024-02-19 22:02:34 +00:00
|
|
|
bin_compression = ["lz-fear", "deflate", "flate2", "image/jpeg", "num-traits", "fallible-iterator", "rstar", "cli"]
|
|
|
|
cli = ["clap", "signal-hook", "indicatif"]
|
2020-09-29 12:29:18 +00:00
|
|
|
|
|
|
|
default = ["simd"]
|
|
|
|
|
2019-01-15 15:13:11 +00:00
|
|
|
[dependencies]
|
|
|
|
common = { package = "veloren-common", path = "../common" }
|
2021-07-02 20:07:45 +00:00
|
|
|
common_base = { package = "veloren-common-base", path = "../common/base"}
|
2020-12-13 17:11:55 +00:00
|
|
|
common-net = { package = "veloren-common-net", path = "../common/net" }
|
2023-01-06 02:06:28 +00:00
|
|
|
common-dynlib = {package = "veloren-common-dynlib", path = "../common/dynlib", optional = true}
|
2021-03-13 16:21:02 +00:00
|
|
|
|
2023-05-10 08:33:01 +00:00
|
|
|
bincode = { workspace = true }
|
2022-09-08 21:24:14 +00:00
|
|
|
bitvec = "1.0.1"
|
2023-05-10 08:33:01 +00:00
|
|
|
enum-map = { workspace = true }
|
2023-10-16 21:43:05 +00:00
|
|
|
enumset = "1.1.3"
|
2023-05-10 08:33:01 +00:00
|
|
|
fxhash = { workspace = true }
|
|
|
|
image = { workspace = true }
|
|
|
|
itertools = { workspace = true }
|
|
|
|
vek = { workspace = true }
|
2021-01-05 18:10:47 +00:00
|
|
|
noise = { version = "0.7", default-features = false }
|
2023-05-10 08:33:01 +00:00
|
|
|
num = { workspace = true }
|
|
|
|
ordered-float = { workspace = true }
|
|
|
|
hashbrown = { workspace = true }
|
|
|
|
lazy_static = { workspace = true }
|
|
|
|
tracing = { workspace = true }
|
|
|
|
rand = { workspace = true }
|
|
|
|
rand_chacha = { workspace = true }
|
2023-05-04 08:44:07 +00:00
|
|
|
arr_macro = "0.2.1"
|
2023-09-28 14:51:32 +00:00
|
|
|
packed_simd = { version = "0.3.9", optional = true }
|
2023-05-10 08:33:01 +00:00
|
|
|
rayon = { workspace = true }
|
|
|
|
serde = { workspace = true }
|
|
|
|
ron = { workspace = true }
|
2024-03-03 23:47:35 +00:00
|
|
|
# inline_tweak = { workspace = true, features = ["derive"] }
|
2022-01-17 06:10:36 +00:00
|
|
|
kiddo = "0.2"
|
2023-05-10 08:33:01 +00:00
|
|
|
strum = { workspace = true }
|
2021-03-23 22:14:44 +00:00
|
|
|
|
2021-04-20 21:33:46 +00:00
|
|
|
# compression benchmarks
|
2024-02-10 10:30:36 +00:00
|
|
|
lz-fear = { version = "0.2", optional = true }
|
2021-11-19 13:01:08 +00:00
|
|
|
deflate = { version = "1.0.0", optional = true }
|
2021-04-20 21:33:46 +00:00
|
|
|
flate2 = { version = "1.0.20", optional = true }
|
2023-05-10 08:33:01 +00:00
|
|
|
num-traits = { workspace = true, optional = true }
|
2024-03-20 08:24:03 +00:00
|
|
|
fallible-iterator = { version = "0.3.0", optional = true }
|
2023-05-04 08:44:07 +00:00
|
|
|
rstar = { version = "0.10", optional = true }
|
2023-05-10 08:33:01 +00:00
|
|
|
clap = { workspace = true, optional = true }
|
2024-02-19 22:02:34 +00:00
|
|
|
signal-hook = { version = "0.3.6", optional = true }
|
|
|
|
indicatif = { version = "0.17.8", optional = true }
|
2021-04-20 21:33:46 +00:00
|
|
|
|
2019-05-21 00:57:16 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-05-28 18:42:29 +00:00
|
|
|
common-frontend = { package = "veloren-common-frontend", path = "../common/frontend" }
|
2023-08-27 16:13:32 +00:00
|
|
|
criterion = { version = "0.5.1", default-features=false, features=["rayon", "cargo_bench_support"]}
|
2021-05-28 18:42:29 +00:00
|
|
|
csv = "1.1.3"
|
2022-01-26 21:08:38 +00:00
|
|
|
tracing-subscriber = { version = "0.3.7", default-features = false, features = ["fmt", "time", "ansi", "smallvec", "env-filter"] }
|
2024-03-20 08:24:03 +00:00
|
|
|
minifb = "0.25"
|
|
|
|
rusqlite = { version = "0.30.0", features = ["array", "vtab", "bundled", "trace"] }
|
2021-02-04 12:47:46 +00:00
|
|
|
svg_fmt = "0.4"
|
2021-01-05 19:04:16 +00:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
harness = false
|
|
|
|
name = "tree"
|
2021-04-20 21:33:46 +00:00
|
|
|
|
2024-03-02 22:31:42 +00:00
|
|
|
[[bench]]
|
|
|
|
harness = false
|
|
|
|
name = "cave"
|
|
|
|
|
2021-04-29 02:32:13 +00:00
|
|
|
[[example]]
|
2021-04-20 21:33:46 +00:00
|
|
|
name = "chunk_compression_benchmarks"
|
|
|
|
required-features = ["bin_compression"]
|
2021-05-03 21:23:43 +00:00
|
|
|
|
2023-04-16 21:01:00 +00:00
|
|
|
[[example]]
|
|
|
|
name = "world_generate_time"
|
|
|
|
|
2021-06-28 19:02:57 +00:00
|
|
|
[[example]]
|
|
|
|
name = "world_block_statistics"
|
|
|
|
required-features = ["bin_compression"]
|
|
|
|
|
2021-05-03 21:23:43 +00:00
|
|
|
[[example]]
|
|
|
|
name = "heightmap_visualization"
|
|
|
|
required-features = ["bin_compression"]
|
2024-02-19 22:02:34 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "batch_generate"
|
|
|
|
required-features = ["cli"]
|