mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
use workspace dependencies to make our life easier maintaining them :)
This commit is contained in:
parent
5ade37e0a5
commit
3a19669d53
20
Cargo.lock
generated
20
Cargo.lock
generated
@ -477,6 +477,9 @@ name = "bitflags"
|
|||||||
version = "2.2.1"
|
version = "2.2.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "24a6904aef64d73cf10ab17ebace7befb918b82164785cb89907993be7f83813"
|
checksum = "24a6904aef64d73cf10ab17ebace7befb918b82164785cb89907993be7f83813"
|
||||||
|
dependencies = [
|
||||||
|
"serde",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "bitvec"
|
name = "bitvec"
|
||||||
@ -5321,17 +5324,6 @@ dependencies = [
|
|||||||
"serde",
|
"serde",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "ron"
|
|
||||||
version = "0.7.1"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "88073939a61e5b7680558e6be56b419e208420c2adb92be54921fa6b72283f1a"
|
|
||||||
dependencies = [
|
|
||||||
"base64 0.13.1",
|
|
||||||
"bitflags 1.3.2",
|
|
||||||
"serde",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ron"
|
name = "ron"
|
||||||
version = "0.8.0"
|
version = "0.8.0"
|
||||||
@ -6998,7 +6990,7 @@ name = "veloren-common"
|
|||||||
version = "0.10.0"
|
version = "0.10.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"approx 0.4.0",
|
"approx 0.4.0",
|
||||||
"bitflags 1.3.2",
|
"bitflags 2.2.1",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if 1.0.0",
|
||||||
"chrono",
|
"chrono",
|
||||||
"chrono-tz",
|
"chrono-tz",
|
||||||
@ -7017,12 +7009,12 @@ dependencies = [
|
|||||||
"lazy_static",
|
"lazy_static",
|
||||||
"num-derive",
|
"num-derive",
|
||||||
"num-traits",
|
"num-traits",
|
||||||
"ordered-float 2.10.0",
|
"ordered-float 3.7.0",
|
||||||
"petgraph 0.6.3",
|
"petgraph 0.6.3",
|
||||||
"rand 0.8.5",
|
"rand 0.8.5",
|
||||||
"rand_chacha 0.3.1",
|
"rand_chacha 0.3.1",
|
||||||
"rayon",
|
"rayon",
|
||||||
"ron 0.7.1",
|
"ron 0.8.0",
|
||||||
"roots",
|
"roots",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
|
39
Cargo.toml
39
Cargo.toml
@ -116,6 +116,45 @@ systems = ["x86_64-linux"]
|
|||||||
name = "veloren-nix"
|
name = "veloren-nix"
|
||||||
key = "veloren-nix.cachix.org-1:zokfKJqVsNV6kI/oJdLF6TYBdNPYGSb+diMVQPn/5Rc="
|
key = "veloren-nix.cachix.org-1:zokfKJqVsNV6kI/oJdLF6TYBdNPYGSb+diMVQPn/5Rc="
|
||||||
|
|
||||||
|
[workspace.dependencies]
|
||||||
|
lazy_static = "1.4.0"
|
||||||
|
rand = { version = "0.8" }
|
||||||
|
rand_chacha = { version = "0.3" }
|
||||||
|
bincode = { version = "1.3.3" }
|
||||||
|
bitflags = { version = "2.2.1" }
|
||||||
|
slab = { version = "0.4.2" }
|
||||||
|
chrono = { version = "0.4.24", default-features=false, features = ["clock", "std", "wasmbind", "serde"] }
|
||||||
|
chrono-tz = { version = "0.8", features = ["serde"] }
|
||||||
|
inline_tweak = { version = "1.0.8" }
|
||||||
|
|
||||||
|
tokio = { version = "1.20", default-features = false, features = ["rt"] }
|
||||||
|
tracing = { version = "0.1" }
|
||||||
|
futures-util = { version = "0.3.7", default-features = false }
|
||||||
|
prometheus = { version = "0.13", default-features = false}
|
||||||
|
prometheus-hyper = "0.1.4"
|
||||||
|
|
||||||
|
strum = { version = "0.24", features = ["derive"] }
|
||||||
|
enum-map = { version = "2.4" }
|
||||||
|
hashbrown = { version = "0.13", features = ["rayon", "serde", "nightly"] }
|
||||||
|
fxhash = { version = "0.2.1" }
|
||||||
|
crossbeam-utils = { version = "0.8.1"}
|
||||||
|
crossbeam-channel = { version = "0.5"}
|
||||||
|
ordered-float = { version = "3", default-features = false }
|
||||||
|
num = { version = "0.4" }
|
||||||
|
num-traits = { version = "0.2" }
|
||||||
|
vek = { version = "0.15.8", features = ["serde"] }
|
||||||
|
itertools = { version = "0.10" }
|
||||||
|
|
||||||
|
serde = { version = "1.0.118", features = ["derive"] }
|
||||||
|
serde_json = { version = "1.0.50" }
|
||||||
|
ron = { version = "0.8", default-features = false}
|
||||||
|
|
||||||
|
specs = { version = "0.18", features = ["nightly"] }
|
||||||
|
image = { version = "0.24", default-features = false, features = ["png"] }
|
||||||
|
rayon = { version = "1.5" }
|
||||||
|
|
||||||
|
clap = { version = "4.2", features = ["derive"]}
|
||||||
|
|
||||||
[patch.crates-io]
|
[patch.crates-io]
|
||||||
vek = { git = "https://github.com/yoanlcq/vek.git", rev = "84d5cb65841d46599a986c5477341bea4456be26" }
|
vek = { git = "https://github.com/yoanlcq/vek.git", rev = "84d5cb65841d46599a986c5477341bea4456be26" }
|
||||||
# patch wgpu so we can use wgpu-profiler crate
|
# patch wgpu so we can use wgpu-profiler crate
|
||||||
|
@ -21,9 +21,7 @@ ComboMelee2(
|
|||||||
],
|
],
|
||||||
energy_cost_per_strike: 5,
|
energy_cost_per_strike: 5,
|
||||||
meta: (
|
meta: (
|
||||||
capabilities: (
|
// The ability will parry melee attacks in the buildup portion
|
||||||
// The ability will parry melee attacks in the buildup portion
|
capabilities: ("BUILDUP_PARRIES"),
|
||||||
bits: 0b00100000,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
)
|
)
|
@ -21,9 +21,7 @@ ComboMelee2(
|
|||||||
],
|
],
|
||||||
energy_cost_per_strike: 5,
|
energy_cost_per_strike: 5,
|
||||||
meta: (
|
meta: (
|
||||||
capabilities: (
|
// The ability will parry melee attacks in the buildup portion
|
||||||
// The ability will parry melee attacks in the buildup portion
|
capabilities: ("BUILDUP_PARRIES"),
|
||||||
bits: 0b00100000,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
)
|
)
|
@ -40,9 +40,7 @@ ComboMelee2(
|
|||||||
energy_cost_per_strike: 2.5,
|
energy_cost_per_strike: 2.5,
|
||||||
auto_progress: true,
|
auto_progress: true,
|
||||||
meta: (
|
meta: (
|
||||||
capabilities: (
|
// The ability will parry melee attacks in the buildup portion
|
||||||
// The ability will parry melee attacks in the buildup portion
|
capabilities: ("BUILDUP_PARRIES"),
|
||||||
bits: 0b00100000,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
)
|
)
|
@ -37,9 +37,7 @@ ComboMelee2(
|
|||||||
],
|
],
|
||||||
energy_cost_per_strike: 0,
|
energy_cost_per_strike: 0,
|
||||||
meta: (
|
meta: (
|
||||||
capabilities: (
|
// Blocks melee attacks at 50% strength
|
||||||
// Blocks melee attacks at 50% strength
|
capabilities: ("BUILDUP_BLOCKS"),
|
||||||
bits: 0b00000100,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
)
|
)
|
@ -22,9 +22,7 @@ ComboMelee2(
|
|||||||
],
|
],
|
||||||
energy_cost_per_strike: 5,
|
energy_cost_per_strike: 5,
|
||||||
meta: (
|
meta: (
|
||||||
capabilities: (
|
// The ability will parry melee attacks in the buildup portion
|
||||||
// The ability will parry melee attacks in the buildup portion
|
capabilities: ("BUILDUP_PARRIES"),
|
||||||
bits: 0b00100000,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
)
|
)
|
@ -21,9 +21,7 @@ ComboMelee2(
|
|||||||
],
|
],
|
||||||
energy_cost_per_strike: 5,
|
energy_cost_per_strike: 5,
|
||||||
meta: (
|
meta: (
|
||||||
capabilities: (
|
// The ability will parry melee attacks in the buildup portion
|
||||||
// The ability will parry melee attacks in the buildup portion
|
capabilities: ("BUILDUP_PARRIES"),
|
||||||
bits: 0b00100000,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
)
|
)
|
@ -26,9 +26,7 @@ ComboMelee2(
|
|||||||
],
|
],
|
||||||
energy_cost_per_strike: 5,
|
energy_cost_per_strike: 5,
|
||||||
meta: (
|
meta: (
|
||||||
capabilities: (
|
// The ability will parry melee attacks in the buildup portion
|
||||||
// The ability will parry melee attacks in the buildup portion
|
capabilities: ("BUILDUP_PARRIES"),
|
||||||
bits: 0b00100000,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
)
|
)
|
@ -22,15 +22,15 @@ common-net = { package = "veloren-common-net", path = "../common/net" }
|
|||||||
network = { package = "veloren-network", path = "../network", features = ["compression","quic"], default-features = false }
|
network = { package = "veloren-network", path = "../network", features = ["compression","quic"], default-features = false }
|
||||||
|
|
||||||
byteorder = "1.3.2"
|
byteorder = "1.3.2"
|
||||||
tokio = { version = "1.20", default-features = false, features = ["rt-multi-thread"] }
|
tokio = { workspace = true, features = ["rt-multi-thread"] }
|
||||||
quinn = "0.8"
|
quinn = "0.8"
|
||||||
image = { version = "0.24", default-features = false, features = ["png"] }
|
image = { workspace = true }
|
||||||
num = "0.4"
|
num = { workspace = true }
|
||||||
tracing = { version = "0.1", default-features = false }
|
tracing = { workspace = true }
|
||||||
rayon = "1.5"
|
rayon = { workspace = true }
|
||||||
specs = { version = "0.18", features = ["serde", "storage-event-control", "derive"] }
|
specs = { workspace = true, features = ["serde", "storage-event-control", "derive"] }
|
||||||
vek = { version = "0.15.8", features = ["serde"] }
|
vek = { workspace = true }
|
||||||
hashbrown = { version = "0.13", features = ["rayon", "serde", "nightly"] }
|
hashbrown = { workspace = true }
|
||||||
authc = { git = "https://gitlab.com/veloren/auth.git", rev = "fb3dcbc4962b367253f8f2f92760ef44d2679c9a" }
|
authc = { git = "https://gitlab.com/veloren/auth.git", rev = "fb3dcbc4962b367253f8f2f92760ef44d2679c9a" }
|
||||||
|
|
||||||
#TODO: put bot in a different crate
|
#TODO: put bot in a different crate
|
||||||
@ -39,9 +39,9 @@ async-channel = { version = "1.6", optional = true }
|
|||||||
common-ecs = { package = "veloren-common-ecs", path = "../common/ecs", optional = true }
|
common-ecs = { package = "veloren-common-ecs", path = "../common/ecs", optional = true }
|
||||||
voxygen-i18n-helpers = { package = "veloren-voxygen-i18n-helpers", path = "../voxygen/i18n-helpers", optional = true }
|
voxygen-i18n-helpers = { package = "veloren-voxygen-i18n-helpers", path = "../voxygen/i18n-helpers", optional = true }
|
||||||
client-i18n = { package = "veloren-client-i18n", path = "i18n", optional = true }
|
client-i18n = { package = "veloren-client-i18n", path = "i18n", optional = true }
|
||||||
serde = { version = "1.0", features = [ "rc", "derive" ], optional = true }
|
serde = { workspace = true, features = [ "rc" ], optional = true }
|
||||||
ron = { version = "0.8", default-features = false, optional = true }
|
ron = { workspace = true, optional = true }
|
||||||
clap = { version = "4.2", optional = true }
|
clap = { workspace = true, optional = true }
|
||||||
rustyline = { version = "11.0.0", optional = true }
|
rustyline = { version = "11.0.0", optional = true }
|
||||||
## logging
|
## logging
|
||||||
termcolor = { version = "1.1", optional = true }
|
termcolor = { version = "1.1", optional = true }
|
||||||
|
@ -9,19 +9,19 @@ version = "0.13.0"
|
|||||||
# Assets
|
# Assets
|
||||||
common = {package = "veloren-common", path = "../../common"}
|
common = {package = "veloren-common", path = "../../common"}
|
||||||
common-assets = {package = "veloren-common-assets", path = "../../common/assets"}
|
common-assets = {package = "veloren-common-assets", path = "../../common/assets"}
|
||||||
ron = "0.8"
|
ron = { workspace = true }
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { workspace = true }
|
||||||
# Localization
|
# Localization
|
||||||
unic-langid = { version = "0.9"}
|
unic-langid = { version = "0.9"}
|
||||||
intl-memoizer = { git = "https://github.com/juliancoffee/fluent-rs.git", branch = "patched"}
|
intl-memoizer = { git = "https://github.com/juliancoffee/fluent-rs.git", branch = "patched"}
|
||||||
fluent = { git = "https://github.com/juliancoffee/fluent-rs.git", branch = "patched"}
|
fluent = { git = "https://github.com/juliancoffee/fluent-rs.git", branch = "patched"}
|
||||||
fluent-bundle = { git = "https://github.com/juliancoffee/fluent-rs.git", branch = "patched"}
|
fluent-bundle = { git = "https://github.com/juliancoffee/fluent-rs.git", branch = "patched"}
|
||||||
# Utility
|
# Utility
|
||||||
hashbrown = { version = "0.13", features = ["serde", "nightly"] }
|
hashbrown = { workspace = true }
|
||||||
deunicode = "1.0"
|
deunicode = "1.0"
|
||||||
tracing = "0.1"
|
tracing = { workspace = true }
|
||||||
# Bin
|
# Bin
|
||||||
clap = { version = "4.2", features = ["suggestions", "std", "help", "usage", "error-context"], default-features = false, optional = true }
|
clap = { workspace = true, optional = true }
|
||||||
fluent-syntax = { git = "https://github.com/juliancoffee/fluent-rs.git", branch = "patched"}
|
fluent-syntax = { git = "https://github.com/juliancoffee/fluent-rs.git", branch = "patched"}
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
@ -20,71 +20,69 @@ default = ["simd"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
||||||
common-base = { package = "veloren-common-base", path = "base" }
|
common-base = { package = "veloren-common-base", path = "base" }
|
||||||
# inline_tweak = "1.0.8"
|
# inline_tweak = { workspace = true }
|
||||||
|
|
||||||
# Serde
|
# Serde
|
||||||
serde = { version = "1.0.110", features = ["derive", "rc"] }
|
serde = { workspace = true, features = ["rc"] }
|
||||||
|
|
||||||
# Util
|
# Util
|
||||||
enum-map = "2.4"
|
enum-map = "2.4"
|
||||||
vek = { version = "0.15.8", features = ["serde"] }
|
vek = { workspace = true }
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
chrono = { version = "0.4.24", default-features=false, features = ["clock", "std", "wasmbind", "serde"] }
|
chrono = { workspace = true }
|
||||||
chrono-tz = "0.8"
|
chrono-tz = { workspace = true }
|
||||||
itertools = "0.10"
|
itertools = { workspace = true }
|
||||||
|
serde_json = { workspace = true }
|
||||||
sha2 = "0.10"
|
sha2 = "0.10"
|
||||||
serde_json = "1.0.50"
|
|
||||||
|
|
||||||
# Strum
|
# Strum
|
||||||
strum = { version = "0.24", features = ["derive"] }
|
strum = { workspace = true }
|
||||||
|
|
||||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||||
approx = "0.4.0"
|
approx = "0.4.0"
|
||||||
crossbeam-utils = "0.8.1"
|
crossbeam-utils = { workspace = true }
|
||||||
bitflags = "1.2"
|
crossbeam-channel = { workspace = true }
|
||||||
crossbeam-channel = "0.5"
|
bitflags = { workspace = true, features = ["serde"] }
|
||||||
lazy_static = "1.4.0"
|
lazy_static = { workspace = true }
|
||||||
num-derive = "0.3"
|
num-derive = "0.3"
|
||||||
num-traits = "0.2"
|
num-traits = { workspace = true }
|
||||||
ordered-float = { version = "2.0.1", default-features = false }
|
ordered-float = { workspace = true }
|
||||||
rayon = "1.5"
|
rayon = { workspace = true }
|
||||||
roots = "0.0.6"
|
roots = "0.0.6"
|
||||||
spin_sleep = "1.0"
|
spin_sleep = "1.0"
|
||||||
tracing = { version = "0.1", default-features = false }
|
tracing = { workspace = true }
|
||||||
uuid = { version = "0.8.1", default-features = false, features = ["serde", "v4"] }
|
uuid = { version = "0.8.1", default-features = false, features = ["serde", "v4"] }
|
||||||
rand = "0.8"
|
rand = { workspace = true }
|
||||||
fxhash = "0.2.1"
|
fxhash = { workspace = true }
|
||||||
|
|
||||||
# Assets
|
# Assets
|
||||||
common-assets = {package = "veloren-common-assets", path = "assets"}
|
common-assets = {package = "veloren-common-assets", path = "assets"}
|
||||||
dot_vox = "5.1"
|
dot_vox = "5.1"
|
||||||
|
|
||||||
# Assets
|
|
||||||
serde_repr = "0.1.6"
|
serde_repr = "0.1.6"
|
||||||
|
|
||||||
# csv import
|
# csv import
|
||||||
ron = { version = "0.7", default-features = false, optional = true }
|
ron = { workspace = true, optional = true }
|
||||||
# csv export
|
# csv export
|
||||||
csv = { version = "1.1.3", optional = true }
|
csv = { version = "1.1.3", optional = true }
|
||||||
# graphviz exporters
|
# graphviz exporters
|
||||||
petgraph = { version = "0.6", optional = true }
|
petgraph = { version = "0.6", optional = true }
|
||||||
# K-d trees used for RRT pathfinding
|
# K-d trees used for RRT pathfinding
|
||||||
kiddo = { version = "0.2", optional = true }
|
kiddo = { version = "0.2", optional = true }
|
||||||
clap = { version = "4.2", optional = true }
|
clap = { workspace = true, optional = true }
|
||||||
|
|
||||||
# Data structures
|
# Data structures
|
||||||
hashbrown = { version = "0.13", features = ["rayon", "serde", "nightly"] }
|
hashbrown = { workspace = true }
|
||||||
|
slab = { workspace = true }
|
||||||
slotmap = { version = "1.0", features = ["serde"] }
|
slotmap = { version = "1.0", features = ["serde"] }
|
||||||
indexmap = { version = "1.3.0", features = ["rayon"] }
|
indexmap = { version = "1.3.0", features = ["rayon"] }
|
||||||
slab = "0.4.2"
|
|
||||||
|
|
||||||
# ECS
|
# ECS
|
||||||
specs = { version = "0.18", features = ["serde", "storage-event-control", "nightly"] }
|
specs = { workspace = true, features = ["serde", "storage-event-control"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
#bench
|
#bench
|
||||||
criterion = "0.3"
|
criterion = "0.3"
|
||||||
rand_chacha = "0.3"
|
rand_chacha = { workspace = true }
|
||||||
|
|
||||||
#test
|
#test
|
||||||
tracing-subscriber = { version = "0.3.7", default-features = false, features = ["fmt", "time", "ansi", "smallvec", "env-filter"] }
|
tracing-subscriber = { version = "0.3.7", default-features = false, features = ["fmt", "time", "ansi", "smallvec", "env-filter"] }
|
||||||
|
@ -6,16 +6,16 @@ description = "Crate for game loading assets for veloren."
|
|||||||
version = "0.10.0"
|
version = "0.10.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
lazy_static = "1.4.0"
|
lazy_static = { workspace = true }
|
||||||
assets_manager = {version = "0.10", features = ["bincode", "ron", "json"]}
|
assets_manager = {version = "0.10", features = ["bincode", "ron", "json"]}
|
||||||
ron = { version = "0.8", default-features = false }
|
ron = { workspace = true }
|
||||||
dot_vox = "5.1"
|
dot_vox = "5.1"
|
||||||
wavefront = "0.2" # TODO: Use vertex-colors branch when we have models that have them
|
wavefront = "0.2" # TODO: Use vertex-colors branch when we have models that have them
|
||||||
image = { version = "0.24", default-features = false, features = ["png"] }
|
image = { workspace = true }
|
||||||
tracing = "0.1"
|
tracing = { workspace = true }
|
||||||
|
|
||||||
# asset tweak
|
# asset tweak
|
||||||
serde = {version = "1.0", features = ["derive"], optional = true}
|
serde = { workspace = true, optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
walkdir = "2.3.2"
|
walkdir = "2.3.2"
|
||||||
|
@ -9,7 +9,7 @@ version = "0.10.0"
|
|||||||
tracy = ["profiling", "profiling/profile-with-tracy"]
|
tracy = ["profiling", "profiling/profile-with-tracy"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tracing = { version = "0.1", default-features = false }
|
tracing = { workspace = true }
|
||||||
directories-next = "2.0"
|
directories-next = "2.0"
|
||||||
|
|
||||||
# Profiling / Tracy
|
# Profiling / Tracy
|
||||||
|
@ -8,4 +8,4 @@ edition = "2021"
|
|||||||
find_folder = {version = "0.3.0"}
|
find_folder = {version = "0.3.0"}
|
||||||
libloading = {version = "0.8"}
|
libloading = {version = "0.8"}
|
||||||
notify = {version = "5.0.0"}
|
notify = {version = "5.0.0"}
|
||||||
tracing = "0.1"
|
tracing = { workspace = true }
|
||||||
|
@ -8,11 +8,11 @@ version = "0.10.0"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
||||||
tracing = { version = "0.1", default-features = false }
|
tracing = { workspace = true }
|
||||||
common-base = { package = "veloren-common-base", path = "../base" }
|
common-base = { package = "veloren-common-base", path = "../base" }
|
||||||
|
|
||||||
# ECS
|
# ECS
|
||||||
specs = { version = "0.18", features = ["serde", "storage-event-control"] }
|
specs = { workspace = true, features = ["serde", "storage-event-control"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
#bench
|
#bench
|
||||||
|
@ -13,7 +13,7 @@ common-base = { package = "veloren-common-base", path = "../base" }
|
|||||||
|
|
||||||
# Logging
|
# Logging
|
||||||
termcolor = "1.1"
|
termcolor = "1.1"
|
||||||
tracing = { version = "0.1", default-features = false }
|
tracing = { workspace = true }
|
||||||
tracing-appender = "0.2.0"
|
tracing-appender = "0.2.0"
|
||||||
tracing-log = "0.1.1"
|
tracing-log = "0.1.1"
|
||||||
tracing-subscriber = { version = "0.3.7", default-features = false, features = ["env-filter", "fmt", "time", "ansi", "smallvec", "tracing-log"]}
|
tracing-subscriber = { version = "0.3.7", default-features = false, features = ["env-filter", "fmt", "time", "ansi", "smallvec", "tracing-log"]}
|
||||||
|
@ -11,21 +11,21 @@ default = ["simd"]
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
common = {package = "veloren-common", path = "../../common"}
|
common = {package = "veloren-common", path = "../../common"}
|
||||||
#inline_tweak = "1.0.2"
|
#inline_tweak = { workspace = true }
|
||||||
|
|
||||||
bincode = "1.3.3"
|
bincode = { workspace = true }
|
||||||
flate2 = "1.0.20"
|
flate2 = "1.0.20"
|
||||||
image = { version = "0.24", default-features = false, features = ["png", "jpeg"] }
|
image = { workspace = true, features = ["jpeg"] }
|
||||||
num-traits = "0.2"
|
num-traits = { workspace = true }
|
||||||
sum_type = "0.2.0"
|
sum_type = "0.2.0"
|
||||||
vek = { version = "0.15.8", features = ["serde"] }
|
vek = { workspace = true }
|
||||||
tracing = { version = "0.1", default-features = false }
|
tracing = { workspace = true }
|
||||||
|
|
||||||
# Data structures
|
# Data structures
|
||||||
hashbrown = { version = "0.13", features = ["rayon", "serde", "nightly"] }
|
hashbrown = { workspace = true }
|
||||||
|
|
||||||
# ECS
|
# ECS
|
||||||
specs = { version = "0.18", features = ["serde", "storage-event-control"] }
|
specs = { workspace = true, features = ["serde", "storage-event-control"] }
|
||||||
|
|
||||||
# Serde
|
# Serde
|
||||||
serde = { version = "1.0.110", features = ["derive"] }
|
serde = { workspace = true }
|
||||||
|
@ -233,7 +233,6 @@ fn armor_stats() -> Result<(), Box<dyn Error>> {
|
|||||||
let pretty_config = PrettyConfig::new()
|
let pretty_config = PrettyConfig::new()
|
||||||
.depth_limit(4)
|
.depth_limit(4)
|
||||||
.separate_tuple_members(true)
|
.separate_tuple_members(true)
|
||||||
.decimal_floats(true)
|
|
||||||
.enumerate_arrays(true);
|
.enumerate_arrays(true);
|
||||||
|
|
||||||
let mut path = ASSETS_PATH.clone();
|
let mut path = ASSETS_PATH.clone();
|
||||||
@ -432,7 +431,6 @@ fn weapon_stats() -> Result<(), Box<dyn Error>> {
|
|||||||
let pretty_config = PrettyConfig::new()
|
let pretty_config = PrettyConfig::new()
|
||||||
.depth_limit(4)
|
.depth_limit(4)
|
||||||
.separate_tuple_members(true)
|
.separate_tuple_members(true)
|
||||||
.decimal_floats(true)
|
|
||||||
.enumerate_arrays(true);
|
.enumerate_arrays(true);
|
||||||
|
|
||||||
let mut path = ASSETS_PATH.clone();
|
let mut path = ASSETS_PATH.clone();
|
||||||
|
@ -2894,7 +2894,7 @@ pub enum SwordStance {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bitflags::bitflags! {
|
bitflags::bitflags! {
|
||||||
#[derive(Default, Serialize, Deserialize)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq, Default, Serialize, Deserialize)]
|
||||||
// If more are ever needed, first check if any not used anymore, as some were only used in intermediary stages so may be free
|
// If more are ever needed, first check if any not used anymore, as some were only used in intermediary stages so may be free
|
||||||
pub struct Capability: u8 {
|
pub struct Capability: u8 {
|
||||||
// There used to be a capability here, to keep ordering the same below this is now a placeholder
|
// There used to be a capability here, to keep ordering the same below this is now a placeholder
|
||||||
|
@ -119,14 +119,14 @@ impl Component for Alignment {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bitflags::bitflags! {
|
bitflags::bitflags! {
|
||||||
#[derive(Default)]
|
#[derive(Clone, Copy, Debug, Default)]
|
||||||
pub struct BehaviorCapability: u8 {
|
pub struct BehaviorCapability: u8 {
|
||||||
const SPEAK = 0b00000001;
|
const SPEAK = 0b00000001;
|
||||||
const TRADE = 0b00000010;
|
const TRADE = 0b00000010;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
bitflags::bitflags! {
|
bitflags::bitflags! {
|
||||||
#[derive(Default)]
|
#[derive(Clone, Copy, Debug, Default)]
|
||||||
pub struct BehaviorState: u8 {
|
pub struct BehaviorState: u8 {
|
||||||
const TRADING = 0b00000001;
|
const TRADING = 0b00000001;
|
||||||
const TRADING_ISSUER = 0b00000010;
|
const TRADING_ISSUER = 0b00000010;
|
||||||
|
@ -7,7 +7,7 @@ use vek::*;
|
|||||||
pub const ZONE_SIZE: u32 = 32;
|
pub const ZONE_SIZE: u32 = 32;
|
||||||
|
|
||||||
bitflags::bitflags! {
|
bitflags::bitflags! {
|
||||||
#[derive(Serialize, Deserialize)]
|
#[derive(Debug, Clone, Copy, Serialize, Deserialize)]
|
||||||
pub struct Flags: u8 {
|
pub struct Flags: u8 {
|
||||||
const SNOW_COVERED = 0b00000001;
|
const SNOW_COVERED = 0b00000001;
|
||||||
const IS_BUILDING = 0b00000010;
|
const IS_BUILDING = 0b00000010;
|
||||||
|
@ -16,24 +16,24 @@ common-net = { package = "veloren-common-net", path = "../net" }
|
|||||||
common-ecs = { package = "veloren-common-ecs", path = "../ecs" }
|
common-ecs = { package = "veloren-common-ecs", path = "../ecs" }
|
||||||
common-base = { package = "veloren-common-base", path = "../base" }
|
common-base = { package = "veloren-common-base", path = "../base" }
|
||||||
|
|
||||||
rayon = "1.5"
|
rayon = { workspace = true }
|
||||||
num_cpus = "1.0"
|
num_cpus = "1.0"
|
||||||
tracing = { version = "0.1", default-features = false }
|
tracing = { workspace = true }
|
||||||
vek = { version = "0.15.8", features = ["serde"] }
|
vek = { workspace = true }
|
||||||
|
|
||||||
# Data structures
|
# Data structures
|
||||||
hashbrown = { version = "0.13", features = ["rayon", "serde", "nightly"] }
|
hashbrown = { workspace = true }
|
||||||
|
|
||||||
# ECS
|
# ECS
|
||||||
specs = { version = "0.18", features = ["serde", "storage-event-control", "derive"] }
|
specs = { workspace = true, features = ["serde", "storage-event-control", "derive"] }
|
||||||
|
|
||||||
# Plugins
|
# Plugins
|
||||||
scopeguard = "1.1.0"
|
scopeguard = "1.1.0"
|
||||||
serde = { version = "1.0.110", features = ["derive"], optional = true }
|
serde = { workspace = true, optional = true }
|
||||||
toml = { version = "0.7", optional = true }
|
toml = { version = "0.7", optional = true }
|
||||||
tar = { version = "0.4.37", optional = true }
|
tar = { version = "0.4.37", optional = true }
|
||||||
wasmer = { version = "2.0.0", optional = true, default-features = false, features = ["wat", "default-cranelift", "default-universal"] }
|
wasmer = { version = "2.0.0", optional = true, default-features = false, features = ["wat", "default-cranelift", "default-universal"] }
|
||||||
bincode = { version = "1.3.1", optional = true }
|
bincode = { workspace = true, optional = true }
|
||||||
plugin-api = { package = "veloren-plugin-api", path = "../../plugin/api", optional = true }
|
plugin-api = { package = "veloren-plugin-api", path = "../../plugin/api", optional = true }
|
||||||
timer-queue = "0.1.0"
|
timer-queue = "0.1.0"
|
||||||
|
|
||||||
|
@ -15,23 +15,23 @@ common-net = { package = "veloren-common-net", path = "../net" }
|
|||||||
common-ecs = { package = "veloren-common-ecs", path = "../ecs" }
|
common-ecs = { package = "veloren-common-ecs", path = "../ecs" }
|
||||||
common-base = { package = "veloren-common-base", path = "../base" }
|
common-base = { package = "veloren-common-base", path = "../base" }
|
||||||
|
|
||||||
rand = "0.8"
|
rand = { workspace = true }
|
||||||
rayon = "1.5"
|
rayon = { workspace = true }
|
||||||
tracing = { version = "0.1", default-features = false }
|
tracing = { workspace = true }
|
||||||
vek = { version = "0.15.8", features = ["serde"] }
|
vek = { workspace = true }
|
||||||
ordered-float = { version = "3", default-features = false }
|
ordered-float = { workspace = true }
|
||||||
itertools = "0.10"
|
itertools = { workspace = true }
|
||||||
|
|
||||||
# Data structures
|
# Data structures
|
||||||
hashbrown = { version = "0.13", features = ["rayon", "serde", "nightly"] }
|
hashbrown = { workspace = true }
|
||||||
indexmap = "1.3.0"
|
indexmap = "1.3.0"
|
||||||
slab = "0.4.2"
|
slab = { workspace = true }
|
||||||
|
|
||||||
# ECS
|
# ECS
|
||||||
specs = { version = "0.18", features = ["serde", "storage-event-control", "derive"] }
|
specs = { workspace = true, features = ["serde", "storage-event-control", "derive"] }
|
||||||
|
|
||||||
# Tweak running code
|
# Tweak running code
|
||||||
# inline_tweak = { version = "1.0.8", features = ["release_tweak"] }
|
# inline_tweak = { workspace = true, features = ["release_tweak"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
# Setup a State
|
# Setup a State
|
||||||
|
@ -18,44 +18,44 @@ default = ["metrics","compression","quic"]
|
|||||||
network-protocol = { package = "veloren-network-protocol", path = "protocol" }
|
network-protocol = { package = "veloren-network-protocol", path = "protocol" }
|
||||||
|
|
||||||
#serialisation
|
#serialisation
|
||||||
bincode = "1.3.2"
|
bincode = { workspace = true }
|
||||||
serde = { version = "1.0" }
|
serde = { workspace = true }
|
||||||
#ipv4/ipv6 behavior
|
#ipv4/ipv6 behavior
|
||||||
socket2 = "0.5.2"
|
socket2 = "0.5.2"
|
||||||
#sending
|
#sending
|
||||||
crossbeam-channel = "0.5"
|
crossbeam-channel = { workspace = true }
|
||||||
tokio = { version = "1.20", default-features = false, features = ["io-util", "macros", "rt", "net", "time"] }
|
tokio = { workspace = true, features = ["io-util", "macros", "net", "time"] }
|
||||||
tokio-stream = { version = "0.1.2", default-features = false }
|
tokio-stream = { version = "0.1.2", default-features = false }
|
||||||
#tracing and metrics
|
#tracing and metrics
|
||||||
tracing = { version = "0.1", default-features = false, features = ["attributes"]}
|
tracing = { workspace = true }
|
||||||
prometheus = { version = "0.13", default-features = false, optional = true }
|
prometheus = { workspace = true, optional = true }
|
||||||
#async
|
#async
|
||||||
futures-core = { version = "0.3", default-features = false }
|
futures-core = { version = "0.3", default-features = false }
|
||||||
futures-util = { version = "0.3.7", default-features = false, features = ["std"] }
|
futures-util = { workspace = true, features = ["std"] }
|
||||||
async-channel = "1.5.1" #use for .close() channels
|
async-channel = "1.6" #use for .close() channels
|
||||||
#mpsc channel registry
|
#mpsc channel registry
|
||||||
lazy_static = { version = "1.4", default-features = false }
|
lazy_static = { workspace = true }
|
||||||
rand = { version = "0.8" }
|
rand = { workspace = true }
|
||||||
#quic support
|
#quic support
|
||||||
quinn = { version = "0.8", optional = true }
|
quinn = { version = "0.8", optional = true }
|
||||||
rustls = "0.20.1"
|
rustls = "0.20.1"
|
||||||
#stream flags
|
#stream flags
|
||||||
bitflags = "2.2.1"
|
bitflags = { workspace = true }
|
||||||
lz-fear = { version = "0.1.1", optional = true }
|
lz-fear = { version = "0.1.1", optional = true }
|
||||||
# async traits
|
# async traits
|
||||||
async-trait = "0.1.42"
|
async-trait = "0.1.42"
|
||||||
bytes = "^1"
|
bytes = "^1"
|
||||||
# faster HashMaps
|
# faster HashMaps
|
||||||
hashbrown = { version = "0.13" }
|
hashbrown = { workspace = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tracing-subscriber = { version = "0.3.7", default-features = false, features = ["env-filter", "fmt", "time", "ansi", "smallvec"] }
|
tracing-subscriber = { version = "0.3.7", default-features = false, features = ["env-filter", "fmt", "time", "ansi", "smallvec"] }
|
||||||
tokio = { version = "1.20", default-features = false, features = ["io-std", "fs", "rt-multi-thread"] }
|
tokio = { workspace = true, default-features = false, features = ["io-std", "fs", "rt-multi-thread"] }
|
||||||
futures-util = { version = "0.3.7", default-features = false, features = ["sink", "std"] }
|
futures-util = { workspace = true, default-features = false, features = ["sink", "std"] }
|
||||||
clap = { version = "4.2", default-features = false, features = ["std", "color", "suggestions"] }
|
clap = { workspace = true }
|
||||||
shellexpand = "3.1.0"
|
shellexpand = "3.1.0"
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
prometheus-hyper = "0.1.2"
|
prometheus-hyper = { workspace = true }
|
||||||
criterion = { version = "0.3.4", features = ["default", "async_tokio"] }
|
criterion = { version = "0.3.4", features = ["default", "async_tokio"] }
|
||||||
#quic
|
#quic
|
||||||
rcgen = { version = "0.10"}
|
rcgen = { version = "0.10"}
|
||||||
|
@ -16,19 +16,19 @@ default = ["metrics"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
||||||
#tracing and metrics
|
#tracing and metrics
|
||||||
tracing = { version = "0.1", default-features = false }
|
tracing = { workspace = true }
|
||||||
prometheus = { version = "0.13", default-features = false, optional = true }
|
prometheus = { workspace = true, optional = true }
|
||||||
#stream flags
|
#stream flags
|
||||||
bitflags = "2.2.1"
|
bitflags = { workspace = true }
|
||||||
rand = { version = "0.8" }
|
rand = { workspace = true }
|
||||||
# async traits
|
# async traits
|
||||||
async-trait = "0.1.42"
|
async-trait = "0.1.42"
|
||||||
bytes = "^1"
|
bytes = "^1"
|
||||||
hashbrown = { version = "0.13" }
|
hashbrown = { workspace = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
async-channel = "1.5.1"
|
async-channel = "1.6"
|
||||||
tokio = { version = "1.20", default-features = false, features = ["rt", "macros"] }
|
tokio = { workspace = true, features = ["macros"] }
|
||||||
criterion = { version = "0.3.4", features = ["default", "async_tokio"] }
|
criterion = { version = "0.3.4", features = ["default", "async_tokio"] }
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
|
@ -5,6 +5,6 @@ authors = ["ccgauche <gaucheron.laurent@gmail.com>"]
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
serde = { version = "1.0.118", features = ["derive"] }
|
serde = { workspace = true }
|
||||||
common = { package = "veloren-common", path = "../../common", features = ["no-assets"] }
|
common = { package = "veloren-common", path = "../../common", features = ["no-assets"] }
|
||||||
bincode = "1.3.1"
|
bincode = { workspace = true }
|
||||||
|
@ -7,8 +7,8 @@ edition = "2021"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
plugin-api = { package = "veloren-plugin-api", path = "../api" }
|
plugin-api = { package = "veloren-plugin-api", path = "../api" }
|
||||||
plugin-derive = { package = "veloren-plugin-derive", path = "../derive"}
|
plugin-derive = { package = "veloren-plugin-derive", path = "../derive"}
|
||||||
serde = {version = "1.0.118", features = ["derive"]}
|
serde = { workspace = true }
|
||||||
bincode = "1.3.1"
|
bincode = { workspace = true }
|
||||||
|
|
||||||
[[example]]
|
[[example]]
|
||||||
name = "hello"
|
name = "hello"
|
||||||
|
@ -6,18 +6,18 @@ edition = "2021"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
common = { package = "veloren-common", path = "../common" }
|
common = { package = "veloren-common", path = "../common" }
|
||||||
world = { package = "veloren-world", path = "../world" }
|
world = { package = "veloren-world", path = "../world" }
|
||||||
ron = "0.8"
|
ron = { workspace = true }
|
||||||
serde = { version = "1.0.110", features = ["derive"] }
|
serde = { workspace = true }
|
||||||
hashbrown = { version = "0.13", features = ["rayon", "serde", "nightly"] }
|
hashbrown = { workspace = true }
|
||||||
enum-map = { version = "2.4", features = ["serde"] }
|
enum-map = { workspace = true, features = ["serde"] }
|
||||||
vek = { version = "0.15.8", features = ["serde"] }
|
vek = { workspace = true }
|
||||||
rmp-serde = "1.1.0"
|
rmp-serde = "1.1.0"
|
||||||
anymap2 = "0.13"
|
anymap2 = "0.13"
|
||||||
tracing = "0.1"
|
tracing = { workspace = true }
|
||||||
atomic_refcell = "0.1"
|
atomic_refcell = "0.1"
|
||||||
slotmap = { version = "1.0.6", features = ["serde"] }
|
slotmap = { version = "1.0.6", features = ["serde"] }
|
||||||
rand = { version = "0.8", features = ["small_rng"] }
|
rand = { workspace = true, features = ["small_rng"] }
|
||||||
rand_chacha = "0.3"
|
rand_chacha = { workspace = true }
|
||||||
fxhash = "0.2.1"
|
fxhash = { workspace = true }
|
||||||
itertools = "0.10.3"
|
itertools = { workspace = true }
|
||||||
rayon = "1.5"
|
rayon = { workspace = true }
|
||||||
|
@ -35,18 +35,18 @@ common-net = { package = "veloren-common-net", path = "../common/net" }
|
|||||||
common-frontend = { package = "veloren-common-frontend", path = "../common/frontend" }
|
common-frontend = { package = "veloren-common-frontend", path = "../common/frontend" }
|
||||||
world = { package = "veloren-world", path = "../world", optional = true }
|
world = { package = "veloren-world", path = "../world", optional = true }
|
||||||
|
|
||||||
tokio = { version = "1.20", default-features = false, features = ["rt-multi-thread"] }
|
tokio = { workspace = true, features = ["rt-multi-thread"] }
|
||||||
num_cpus = "1.0"
|
num_cpus = "1.0"
|
||||||
cansi = "2.2.1"
|
cansi = "2.2.1"
|
||||||
clap = { version = "4.2", features = ["derive"] }
|
clap = { workspace = true }
|
||||||
crossterm = "0.26"
|
crossterm = "0.26"
|
||||||
lazy_static = "1"
|
lazy_static = { workspace = true }
|
||||||
signal-hook = "0.3.6"
|
signal-hook = "0.3.6"
|
||||||
shell-words = "1.0.0"
|
shell-words = "1.0.0"
|
||||||
tracing = { version = "0.1", default-features = false }
|
tracing = { workspace = true }
|
||||||
ron = {version = "0.8", default-features = false}
|
ron = { workspace = true }
|
||||||
serde = {version = "1.0", features = [ "rc", "derive" ]}
|
serde = { workspace = true, features = [ "rc", "derive" ]}
|
||||||
strum = { version = "0.24" }
|
strum = { workspace = true }
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
mimalloc = "0.1.29"
|
mimalloc = "0.1.29"
|
||||||
|
@ -30,41 +30,41 @@ server-agent = {package = "veloren-server-agent", path = "agent"}
|
|||||||
|
|
||||||
#inline_tweak = "1.0.8"
|
#inline_tweak = "1.0.8"
|
||||||
|
|
||||||
specs = { version = "0.18", features = ["shred-derive"] }
|
specs = { workspace = true, features = ["shred-derive"] }
|
||||||
|
|
||||||
strum = { version = "0.24", features = ["derive"] }
|
strum = { workspace = true }
|
||||||
bincode = "1.3.2"
|
bincode = { workspace = true }
|
||||||
num_cpus = "1.0"
|
num_cpus = "1.0"
|
||||||
tracing = "0.1"
|
tracing = { workspace = true }
|
||||||
vek = { version = "0.15.8", features = ["serde"] }
|
vek = { workspace = true }
|
||||||
futures-util = "0.3.7"
|
futures-util = { workspace = true }
|
||||||
tokio = { version = "1.20", default-features = false, features = ["rt"] }
|
tokio = { workspace = true }
|
||||||
prometheus-hyper = "0.1.4"
|
prometheus-hyper = { workspace = true }
|
||||||
quinn = "0.8"
|
quinn = "0.8"
|
||||||
rustls = { version = "0.20", default-features = false }
|
rustls = { version = "0.20", default-features = false }
|
||||||
rustls-pemfile = { version = "1", default-features = false }
|
rustls-pemfile = { version = "1", default-features = false }
|
||||||
atomicwrites = "0.4"
|
atomicwrites = "0.4"
|
||||||
chrono = { version = "0.4.24", default-features=false, features = ["clock", "std", "wasmbind", "serde"] }
|
chrono = { workspace = true }
|
||||||
chrono-tz = { version = "0.8", features = ["serde"] }
|
chrono-tz = { workspace = true }
|
||||||
drop_guard = { version = "0.3.0" }
|
drop_guard = { version = "0.3.0" }
|
||||||
humantime = "2.1.0"
|
humantime = "2.1.0"
|
||||||
itertools = "0.10"
|
itertools = { workspace = true }
|
||||||
lazy_static = "1.4.0"
|
lazy_static = { workspace = true }
|
||||||
ron = { version = "0.8", default-features = false }
|
ron = { workspace = true }
|
||||||
serde = { version = "1.0.110", features = ["derive"] }
|
serde = { workspace = true }
|
||||||
serde_json = "1.0.50"
|
serde_json = { workspace = true }
|
||||||
rand = { version = "0.8", features = ["small_rng"] }
|
rand = { workspace = true, features = ["small_rng"] }
|
||||||
hashbrown = { version = "0.13", features = ["rayon", "serde", "nightly"] }
|
hashbrown = { workspace = true }
|
||||||
parking_lot = { version = "0.12" }
|
parking_lot = { version = "0.12" }
|
||||||
rayon = "1.5"
|
rayon = { workspace = true }
|
||||||
crossbeam-channel = "0.5"
|
crossbeam-channel = { workspace = true }
|
||||||
prometheus = { version = "0.13", default-features = false}
|
prometheus = { workspace = true }
|
||||||
portpicker = { git = "https://github.com/xMAC94x/portpicker-rs", rev = "df6b37872f3586ac3b21d08b56c8ec7cd92fb172" }
|
portpicker = { git = "https://github.com/xMAC94x/portpicker-rs", rev = "df6b37872f3586ac3b21d08b56c8ec7cd92fb172" }
|
||||||
authc = { git = "https://gitlab.com/veloren/auth.git", rev = "fb3dcbc4962b367253f8f2f92760ef44d2679c9a" }
|
authc = { git = "https://gitlab.com/veloren/auth.git", rev = "fb3dcbc4962b367253f8f2f92760ef44d2679c9a" }
|
||||||
slab = "0.4"
|
slab = "0.4"
|
||||||
rand_distr = "0.4.0"
|
rand_distr = "0.4.0"
|
||||||
enumset = "1.0.8"
|
enumset = "1.0.8"
|
||||||
enum-map = "2.4"
|
enum-map = { workspace = true }
|
||||||
noise = { version = "0.7", default-features = false }
|
noise = { version = "0.7", default-features = false }
|
||||||
censor = "0.3"
|
censor = "0.3"
|
||||||
|
|
||||||
|
@ -16,9 +16,9 @@ common-ecs = { package = "veloren-common-ecs", path = "../../common/ecs" }
|
|||||||
common-dynlib = { package = "veloren-common-dynlib", path = "../../common/dynlib", optional = true}
|
common-dynlib = { package = "veloren-common-dynlib", path = "../../common/dynlib", optional = true}
|
||||||
rtsim = { package = "veloren-rtsim", path = "../../rtsim" }
|
rtsim = { package = "veloren-rtsim", path = "../../rtsim" }
|
||||||
|
|
||||||
specs = { version = "0.18", features = ["shred-derive"] }
|
specs = { workspace = true, features = ["shred-derive"] }
|
||||||
vek = { version = "0.15.8", features = ["serde"] }
|
vek = { workspace = true }
|
||||||
rand = { version = "0.8", features = ["small_rng"] }
|
rand = { workspace = true, features = ["small_rng"] }
|
||||||
tracing = "0.1"
|
tracing = { workspace = true }
|
||||||
itertools = "0.10"
|
itertools = { workspace = true }
|
||||||
lazy_static = "1.4.0"
|
lazy_static = { workspace = true }
|
||||||
|
@ -83,10 +83,10 @@ egui_wgpu_backend = {git = "https://github.com/hasenbanck/egui_wgpu_backend.git"
|
|||||||
egui_winit_platform = {version = "0.8", optional = true }
|
egui_winit_platform = {version = "0.8", optional = true }
|
||||||
|
|
||||||
# ECS
|
# ECS
|
||||||
specs = { version = "0.18", features = ["serde", "storage-event-control", "derive"] }
|
specs = { workspace = true, features = ["serde", "storage-event-control"] }
|
||||||
|
|
||||||
# Mathematics
|
# Mathematics
|
||||||
vek = {version = "0.15.8", features = ["serde"]}
|
vek = { workspace = true }
|
||||||
levenshtein = "1.0.5"
|
levenshtein = "1.0.5"
|
||||||
|
|
||||||
# Controller
|
# Controller
|
||||||
@ -96,44 +96,44 @@ gilrs = {version = "0.10.0", features = ["serde-serialize"]}
|
|||||||
server = { package = "veloren-server", path = "../server", optional = true, default-features = false, features = ["worldgen"] }
|
server = { package = "veloren-server", path = "../server", optional = true, default-features = false, features = ["worldgen"] }
|
||||||
|
|
||||||
# CLI
|
# CLI
|
||||||
clap = { version = "4.2", features = ["derive"] }
|
clap = { workspace = true }
|
||||||
|
|
||||||
# Utility
|
# Utility
|
||||||
assets_manager = {version = "0.10", features = ["ab_glyph"]}
|
assets_manager = {version = "0.10", features = ["ab_glyph"]}
|
||||||
backtrace = "0.3.40"
|
backtrace = "0.3.40"
|
||||||
bincode = "1.3.1"
|
bincode = { workspace = true }
|
||||||
chrono = { version = "0.4.24", default-features=false, features = ["clock", "std", "wasmbind", "serde"] }
|
chrono = { workspace = true }
|
||||||
chumsky = "0.9"
|
chumsky = "0.9"
|
||||||
cpal = "0.14"
|
cpal = "0.14"
|
||||||
copy_dir = "0.1.2"
|
copy_dir = "0.1.2"
|
||||||
crossbeam-utils = "0.8.1"
|
crossbeam-utils = { workspace = true }
|
||||||
crossbeam-channel = "0.5"
|
crossbeam-channel = { workspace = true }
|
||||||
# TODO: remove
|
# TODO: remove
|
||||||
directories-next = "2.0"
|
directories-next = "2.0"
|
||||||
dot_vox = "5.1"
|
dot_vox = "5.1"
|
||||||
enum-iterator = "1.1.0"
|
enum-iterator = "1.1.0"
|
||||||
guillotiere = "0.6.2"
|
guillotiere = "0.6.2"
|
||||||
etagere = "0.2.7"
|
etagere = "0.2.7"
|
||||||
hashbrown = {version = "0.13", features = ["rayon", "serde", "nightly"]}
|
hashbrown = { workspace = true }
|
||||||
image = {version = "0.24", default-features = false, features = ["ico", "png"]}
|
image = { workspace = true, features = ["ico"]}
|
||||||
lazy_static = "1.4.0"
|
lazy_static = { workspace = true }
|
||||||
native-dialog = { version = "0.6.3", optional = true }
|
native-dialog = { version = "0.6.3", optional = true }
|
||||||
num = "0.4"
|
num = { workspace = true }
|
||||||
ordered-float = { version = "3", default-features = false }
|
ordered-float = { workspace = true }
|
||||||
rand = "0.8"
|
rand = { workspace = true }
|
||||||
rand_chacha = "0.3"
|
rand_chacha = { workspace = true }
|
||||||
rayon = "1.5"
|
rayon = { workspace = true }
|
||||||
rodio = {version = "0.15", default-features = false, features = ["vorbis"]}
|
rodio = {version = "0.15", default-features = false, features = ["vorbis"]}
|
||||||
ron = {version = "0.8", default-features = false}
|
ron = { workspace = true }
|
||||||
serde = {version = "1.0", features = [ "rc", "derive" ]}
|
serde = { workspace = true, features = [ "rc" ]}
|
||||||
slab = "0.4.2"
|
slab = { workspace = true }
|
||||||
strum = { version = "0.24", features = ["derive"] }
|
strum = { workspace = true }
|
||||||
tracing = "0.1"
|
tracing = { workspace = true }
|
||||||
treeculler = "0.2"
|
treeculler = "0.2"
|
||||||
tokio = { version = "1.20", default-features = false, features = ["rt-multi-thread"] }
|
tokio = { workspace = true, features = ["rt-multi-thread"] }
|
||||||
num_cpus = "1.0"
|
num_cpus = "1.0"
|
||||||
inline_tweak = "1.0.2"
|
inline_tweak = { workspace = true }
|
||||||
itertools = "0.10.0"
|
itertools = { workspace = true }
|
||||||
|
|
||||||
# Discord RPC
|
# Discord RPC
|
||||||
discord-sdk = { version = "0.3.0", optional = true }
|
discord-sdk = { version = "0.3.0", optional = true }
|
||||||
@ -154,7 +154,7 @@ mumble-link = "0.1.0"
|
|||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
criterion = "0.3"
|
criterion = "0.3"
|
||||||
world = {package = "veloren-world", path = "../world"}
|
world = {package = "veloren-world", path = "../world"}
|
||||||
rayon = "1.5.0"
|
rayon = { workspace = true }
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
harness = false
|
harness = false
|
||||||
|
@ -13,10 +13,10 @@ default = ["simd"]
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
common = {package = "veloren-common", path = "../../common"}
|
common = {package = "veloren-common", path = "../../common"}
|
||||||
# inline_tweak = "1.0.2"
|
# inline_tweak = { workspace = true }
|
||||||
bytemuck = { version = "1.4", features=["derive"] }
|
bytemuck = { version = "1.4", features=["derive"] }
|
||||||
vek = {version = "0.15.8", features = ["serde"]}
|
vek = { workspace = true }
|
||||||
common-dynlib = {package = "veloren-common-dynlib", path = "../../common/dynlib", optional = true}
|
common-dynlib = {package = "veloren-common-dynlib", path = "../../common/dynlib", optional = true}
|
||||||
|
|
||||||
# Hot Reloading
|
# Hot Reloading
|
||||||
lazy_static = {version = "1.4.0", optional = true}
|
lazy_static = { workspace = true, optional = true}
|
||||||
|
@ -13,7 +13,7 @@ client = {package = "veloren-client", path = "../../client"}
|
|||||||
common = {package = "veloren-common", path = "../../common"}
|
common = {package = "veloren-common", path = "../../common"}
|
||||||
egui = "0.12"
|
egui = "0.12"
|
||||||
egui_winit_platform = "0.8"
|
egui_winit_platform = "0.8"
|
||||||
lazy_static = "1.4.0"
|
lazy_static = { workspace = true }
|
||||||
common-dynlib = {package = "veloren-common-dynlib", path = "../../common/dynlib", optional = true}
|
common-dynlib = {package = "veloren-common-dynlib", path = "../../common/dynlib", optional = true}
|
||||||
|
|
||||||
|
|
||||||
|
@ -10,4 +10,4 @@ common-net = {package = "veloren-common-net", path = "../../common/net"}
|
|||||||
common = {package = "veloren-common", path = "../../common"}
|
common = {package = "veloren-common", path = "../../common"}
|
||||||
i18n = {package = "veloren-client-i18n", path = "../../client/i18n"}
|
i18n = {package = "veloren-client-i18n", path = "../../client/i18n"}
|
||||||
# Utility
|
# Utility
|
||||||
tracing = "0.1"
|
tracing = { workspace = true }
|
||||||
|
@ -18,39 +18,39 @@ common_base = { package = "veloren-common-base", path = "../common/base"}
|
|||||||
common-net = { package = "veloren-common-net", path = "../common/net" }
|
common-net = { package = "veloren-common-net", path = "../common/net" }
|
||||||
common-dynlib = {package = "veloren-common-dynlib", path = "../common/dynlib", optional = true}
|
common-dynlib = {package = "veloren-common-dynlib", path = "../common/dynlib", optional = true}
|
||||||
|
|
||||||
bincode = "1.3.1"
|
bincode = { workspace = true }
|
||||||
bitvec = "1.0.1"
|
bitvec = "1.0.1"
|
||||||
enum-iterator = "1.1.3"
|
enum-iterator = "1.1.3"
|
||||||
enum-map = "2.4"
|
enum-map = { workspace = true }
|
||||||
fxhash = "0.2.1"
|
fxhash = { workspace = true }
|
||||||
image = { version = "0.24", default-features = false, features = ["png"] }
|
image = { workspace = true }
|
||||||
itertools = "0.10"
|
itertools = { workspace = true }
|
||||||
vek = { version = "0.15.8", features = ["serde"] }
|
vek = { workspace = true }
|
||||||
noise = { version = "0.7", default-features = false }
|
noise = { version = "0.7", default-features = false }
|
||||||
num = "0.4"
|
num = { workspace = true }
|
||||||
ordered-float = "3"
|
ordered-float = { workspace = true }
|
||||||
hashbrown = { version = "0.13", features = ["rayon", "serde", "nightly"] }
|
hashbrown = { workspace = true }
|
||||||
lazy_static = "1.4.0"
|
lazy_static = { workspace = true }
|
||||||
tracing = { version = "0.1", default-features = false }
|
tracing = { workspace = true }
|
||||||
rand = "0.8"
|
rand = { workspace = true }
|
||||||
rand_chacha = "0.3"
|
rand_chacha = { workspace = true }
|
||||||
arr_macro = "0.2.1"
|
arr_macro = "0.2.1"
|
||||||
packed_simd = { package = "packed_simd_2", version = "0.3.8", optional = true }
|
packed_simd = { package = "packed_simd_2", version = "0.3.8", optional = true }
|
||||||
rayon = "1.5"
|
rayon = { workspace = true }
|
||||||
serde = { version = "1.0.110", features = ["derive"] }
|
serde = { workspace = true }
|
||||||
ron = { version = "0.8", default-features = false }
|
ron = { workspace = true }
|
||||||
inline_tweak = "1.0.2"
|
inline_tweak = { workspace = true }
|
||||||
kiddo = "0.2"
|
kiddo = "0.2"
|
||||||
strum = "0.24.0"
|
strum = { workspace = true }
|
||||||
|
|
||||||
# compression benchmarks
|
# compression benchmarks
|
||||||
lz-fear = { version = "0.1.1", optional = true }
|
lz-fear = { version = "0.1.1", optional = true }
|
||||||
deflate = { version = "1.0.0", optional = true }
|
deflate = { version = "1.0.0", optional = true }
|
||||||
flate2 = { version = "1.0.20", optional = true }
|
flate2 = { version = "1.0.20", optional = true }
|
||||||
num-traits = { version = "0.2", optional = true }
|
num-traits = { workspace = true, optional = true }
|
||||||
fallible-iterator = { version = "0.2.0", optional = true }
|
fallible-iterator = { version = "0.2.0", optional = true }
|
||||||
rstar = { version = "0.10", optional = true }
|
rstar = { version = "0.10", optional = true }
|
||||||
clap = { version = "4.2", optional = true }
|
clap = { workspace = true, optional = true }
|
||||||
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
@ -61,7 +61,6 @@ tracing-subscriber = { version = "0.3.7", default-features = false, features = [
|
|||||||
minifb = "0.24"
|
minifb = "0.24"
|
||||||
rusqlite = { version = "0.28.0", features = ["array", "vtab", "bundled", "trace"] }
|
rusqlite = { version = "0.28.0", features = ["array", "vtab", "bundled", "trace"] }
|
||||||
svg_fmt = "0.4"
|
svg_fmt = "0.4"
|
||||||
strum = "0.24"
|
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
harness = false
|
harness = false
|
||||||
|
Loading…
Reference in New Issue
Block a user