mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
13b6d4d534
Erased almost every instance of WORLD_SIZE and replaced it with a local power of two, map_size_lg (which respects certain invariants; see common/src/terrain/map.rs for more details about MapSizeLg). This also means we can avoid a dependency on the world crate from client, as desired. Now that the rest of the code is not expecting a fixed WORLD_SIZE, the next step is to arrange for maps to store their world size, and to use that world size as a basis prior to loading the map (as well, probably, as prior to configuring some of the noise functions).
45 lines
1.3 KiB
TOML
45 lines
1.3 KiB
TOML
[package]
|
|
name = "veloren-common"
|
|
version = "0.6.0"
|
|
authors = ["Joshua Barretto <joshua.s.barretto@gmail.com>", "Maciej Ćwięka <mckol363@gmail.com>", "Imbris <imbrisf@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
no-assets = []
|
|
|
|
[dependencies]
|
|
arraygen = "0.1.13"
|
|
specs-idvs = { git = "https://gitlab.com/veloren/specs-idvs.git", branch = "specs-git" }
|
|
|
|
roots = "0.0.5"
|
|
specs = { git = "https://github.com/amethyst/specs.git", features = ["serde", "storage-event-control"], rev = "7a2e348ab2223818bad487695c66c43db88050a5" }
|
|
vek = { version = "0.11.0", features = ["serde"] }
|
|
dot_vox = "4.0"
|
|
image = { version = "0.22.5", default-features = false, features = ["png"] }
|
|
serde = { version = "1.0.110", features = ["derive"] }
|
|
serde_json = "1.0.50"
|
|
ron = { version = "0.6", default-features = false }
|
|
tracing = { version = "0.1", default-features = false }
|
|
rand = "0.7"
|
|
rayon = "1.3.0"
|
|
lazy_static = "1.4.0"
|
|
hashbrown = { version = "0.7.2", features = ["rayon", "serde", "nightly"] }
|
|
find_folder = "0.3.0"
|
|
parking_lot = "0.9.0"
|
|
crossbeam = "0.7"
|
|
notify = "5.0.0-pre.3"
|
|
indexmap = "1.3.0"
|
|
sum_type = "0.2.0"
|
|
authc = { git = "https://gitlab.com/veloren/auth.git", rev = "223a4097f7ebc8d451936dccb5e6517194bbf086" }
|
|
|
|
[dev-dependencies]
|
|
criterion = "0.3"
|
|
|
|
[[bench]]
|
|
name = "chonk_benchmark"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "color_benchmark"
|
|
harness = false
|