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"]
|
2022-01-17 06:10:36 +00:00
|
|
|
bin_compression = ["lz-fear", "deflate", "flate2", "image/jpeg", "num-traits", "fallible-iterator", "clap", "rstar"]
|
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 }
|
|
|
|
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"
|
2022-09-08 19:51:02 +00:00
|
|
|
packed_simd = { package = "packed_simd_2", version = "0.3.8", optional = true }
|
2023-05-10 08:33:01 +00:00
|
|
|
rayon = { workspace = true }
|
|
|
|
serde = { workspace = true }
|
|
|
|
ron = { workspace = true }
|
|
|
|
inline_tweak = { workspace = true }
|
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
|
|
|
|
lz-fear = { version = "0.1.1", 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 }
|
2021-06-28 19:02:57 +00:00
|
|
|
fallible-iterator = { version = "0.2.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 }
|
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"] }
|
2023-05-04 20:56:40 +00:00
|
|
|
minifb = "0.24"
|
2023-04-09 09:39:57 +00:00
|
|
|
rusqlite = { version = "0.28.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
|
|
|
|
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"]
|