2019-01-02 17:23:31 +00:00
|
|
|
[package]
|
2019-01-12 15:57:19 +00:00
|
|
|
name = "veloren-common"
|
2020-11-28 10:25:58 +00:00
|
|
|
version = "0.8.0"
|
2019-08-04 19:54:08 +00:00
|
|
|
authors = ["Joshua Barretto <joshua.s.barretto@gmail.com>", "Maciej Ćwięka <mckol363@gmail.com>", "Imbris <imbrisf@gmail.com>"]
|
2019-01-02 17:23:31 +00:00
|
|
|
edition = "2018"
|
|
|
|
|
2020-01-27 22:41:30 +00:00
|
|
|
[features]
|
|
|
|
no-assets = []
|
2020-08-29 04:33:20 +00:00
|
|
|
tracy = ["tracy-client"]
|
2020-09-29 12:29:18 +00:00
|
|
|
simd = ["vek/platform_intrinsics"]
|
2021-01-13 03:26:51 +00:00
|
|
|
bin_csv = ["csv", "structopt"]
|
2020-09-29 12:29:18 +00:00
|
|
|
|
|
|
|
default = ["simd"]
|
2020-01-27 22:41:30 +00:00
|
|
|
|
2019-01-02 17:23:31 +00:00
|
|
|
[dependencies]
|
2021-02-16 23:11:05 +00:00
|
|
|
|
2021-03-08 22:40:02 +00:00
|
|
|
common-base = { package = "veloren-common-base", path = "base" }
|
|
|
|
|
2021-02-16 23:11:05 +00:00
|
|
|
# Serde
|
|
|
|
serde = { version = "1.0.110", features = ["derive", "rc"] }
|
|
|
|
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2021-02-09 12:28:51 +00:00
|
|
|
approx = "0.4.0"
|
2020-07-18 00:05:28 +00:00
|
|
|
arraygen = "0.1.13"
|
2020-12-16 00:07:39 +00:00
|
|
|
crossbeam-utils = "0.8.1"
|
|
|
|
crossbeam-channel = "0.5"
|
2020-11-12 02:47:22 +00:00
|
|
|
enum-iterator = "0.6"
|
|
|
|
lazy_static = "1.4.0"
|
|
|
|
num-derive = "0.3"
|
|
|
|
num-traits = "0.2"
|
2020-12-16 09:42:36 +00:00
|
|
|
ordered-float = { version = "2.0.1", default-features = false }
|
2020-12-16 13:17:28 +00:00
|
|
|
rayon = "1.5"
|
2020-11-12 02:47:22 +00:00
|
|
|
roots = "0.0.6"
|
2020-11-10 21:39:10 +00:00
|
|
|
spin_sleep = "1.0"
|
2020-11-12 02:47:22 +00:00
|
|
|
tracing = { version = "0.1", default-features = false }
|
2021-03-03 20:44:30 +00:00
|
|
|
vek = { version = "=0.14.1", features = ["serde"] }
|
2020-12-13 17:11:55 +00:00
|
|
|
uuid = { version = "0.8.1", default-features = false, features = ["serde", "v4"] }
|
2021-02-16 23:11:05 +00:00
|
|
|
rand = "0.8"
|
2020-11-12 02:47:22 +00:00
|
|
|
|
2020-11-13 00:17:30 +00:00
|
|
|
# Assets
|
|
|
|
dot_vox = "4.0"
|
2020-12-16 09:42:36 +00:00
|
|
|
image = { version = "0.23.12", default-features = false, features = ["png"] }
|
2020-11-13 00:17:30 +00:00
|
|
|
|
2021-02-16 23:11:05 +00:00
|
|
|
# Assets
|
|
|
|
assets_manager = {version = "0.4.2", features = ["bincode", "ron", "json", "hot-reloading"]}
|
2020-11-13 00:17:30 +00:00
|
|
|
# Serde
|
|
|
|
ron = { version = "0.6", default-features = false }
|
|
|
|
serde_json = "1.0.50"
|
|
|
|
serde_repr = "0.1.6"
|
|
|
|
|
2021-02-16 23:11:05 +00:00
|
|
|
# esv export
|
2020-12-12 01:12:00 +00:00
|
|
|
csv = { version = "1.1.3", optional = true }
|
|
|
|
structopt = { version = "0.3.13", optional = true }
|
|
|
|
|
2020-08-29 04:33:20 +00:00
|
|
|
# Tracy
|
2020-12-15 23:51:07 +00:00
|
|
|
tracy-client = { version = "0.10.0", optional = true }
|
2020-08-29 04:33:20 +00:00
|
|
|
|
2021-02-16 23:11:05 +00:00
|
|
|
|
|
|
|
# Data structures
|
|
|
|
hashbrown = { version = "0.9", features = ["rayon", "serde", "nightly"] }
|
|
|
|
slotmap = { version = "1.0", features = ["serde"] }
|
|
|
|
indexmap = "1.3.0"
|
|
|
|
slab = "0.4.2"
|
|
|
|
|
|
|
|
# ECS
|
|
|
|
specs = { git = "https://github.com/amethyst/specs.git", features = ["serde", "storage-event-control", "nightly"], rev = "d4435bdf496cf322c74886ca09dd8795984919b4" }
|
|
|
|
specs-idvs = { git = "https://gitlab.com/veloren/specs-idvs.git", rev = "9fab7b396acd6454585486e50ae4bfe2069858a9" }
|
|
|
|
|
2019-09-03 23:00:50 +00:00
|
|
|
[dev-dependencies]
|
2020-12-12 01:12:00 +00:00
|
|
|
#bench
|
2019-09-03 23:00:50 +00:00
|
|
|
criterion = "0.3"
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "chonk_benchmark"
|
|
|
|
harness = false
|
2020-01-14 04:19:38 +00:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "color_benchmark"
|
|
|
|
harness = false
|
2020-12-12 01:12:00 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "csv_export"
|
2021-01-13 03:26:51 +00:00
|
|
|
required-features = ["bin_csv"]
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "csv_import"
|
|
|
|
required-features = ["bin_csv"]
|