Remove unused deps flagged by cargo-machete

This commit is contained in:
Imbris 2023-09-21 22:58:55 -04:00
parent c7dc51d52b
commit cd98dd5245
14 changed files with 5 additions and 100 deletions

74
Cargo.lock generated
View File

@ -1800,16 +1800,7 @@ version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4eeac5c5edb79e4e39fe8439ef35207780a11f69c52cbe424ce3dfad4cb78de6" checksum = "4eeac5c5edb79e4e39fe8439ef35207780a11f69c52cbe424ce3dfad4cb78de6"
dependencies = [ dependencies = [
"enum-iterator-derive 0.7.0", "enum-iterator-derive",
]
[[package]]
name = "enum-iterator"
version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7add3873b5dd076766ee79c8e406ad1a472c385476b9e38849f8eec24f1be689"
dependencies = [
"enum-iterator-derive 1.2.1",
] ]
[[package]] [[package]]
@ -1823,17 +1814,6 @@ dependencies = [
"syn 1.0.109", "syn 1.0.109",
] ]
[[package]]
name = "enum-iterator-derive"
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eecf8589574ce9b895052fa12d69af7a233f99e6107f5cb8dd1044f2a17bfdcb"
dependencies = [
"proc-macro2 1.0.66",
"quote 1.0.33",
"syn 2.0.29",
]
[[package]] [[package]]
name = "enum-map" name = "enum-map"
version = "2.6.1" version = "2.6.1"
@ -1935,16 +1915,6 @@ dependencies = [
"str-buf", "str-buf",
] ]
[[package]]
name = "etagere"
version = "0.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fcf22f748754352918e082e0039335ee92454a5d62bcaf69b5e8daf5907d9644"
dependencies = [
"euclid",
"svg_fmt",
]
[[package]] [[package]]
name = "euc" name = "euc"
version = "0.5.3" version = "0.5.3"
@ -4814,16 +4784,6 @@ dependencies = [
"getrandom 0.2.10", "getrandom 0.2.10",
] ]
[[package]]
name = "rand_distr"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31"
dependencies = [
"num-traits",
"rand 0.8.5",
]
[[package]] [[package]]
name = "rand_hc" name = "rand_hc"
version = "0.2.0" version = "0.2.0"
@ -6802,14 +6762,12 @@ dependencies = [
"rustyline", "rustyline",
"serde", "serde",
"specs", "specs",
"termcolor",
"tokio", "tokio",
"tracing", "tracing",
"vek 0.15.8", "vek 0.15.8",
"veloren-client-i18n", "veloren-client-i18n",
"veloren-common", "veloren-common",
"veloren-common-base", "veloren-common-base",
"veloren-common-ecs",
"veloren-common-frontend", "veloren-common-frontend",
"veloren-common-net", "veloren-common-net",
"veloren-common-state", "veloren-common-state",
@ -6829,7 +6787,6 @@ dependencies = [
"fluent-syntax", "fluent-syntax",
"hashbrown 0.13.2", "hashbrown 0.13.2",
"intl-memoizer", "intl-memoizer",
"ron 0.8.1",
"serde", "serde",
"tracing", "tracing",
"unic-langid", "unic-langid",
@ -6843,12 +6800,10 @@ version = "0.10.0"
dependencies = [ dependencies = [
"approx 0.5.1", "approx 0.5.1",
"bitflags 2.4.0", "bitflags 2.4.0",
"cfg-if 1.0.0",
"chrono", "chrono",
"chrono-tz", "chrono-tz",
"clap", "clap",
"criterion", "criterion",
"crossbeam-channel",
"crossbeam-utils 0.8.16", "crossbeam-utils 0.8.16",
"csv", "csv",
"dot_vox", "dot_vox",
@ -6936,7 +6891,6 @@ dependencies = [
"termcolor", "termcolor",
"tracing", "tracing",
"tracing-appender", "tracing-appender",
"tracing-log",
"tracing-subscriber", "tracing-subscriber",
"tracing-tracy", "tracing-tracy",
"veloren-common-base", "veloren-common-base",
@ -6988,13 +6942,10 @@ dependencies = [
name = "veloren-common-systems" name = "veloren-common-systems"
version = "0.10.0" version = "0.10.0"
dependencies = [ dependencies = [
"hashbrown 0.13.2",
"indexmap 1.9.3",
"itertools", "itertools",
"ordered-float 3.9.1", "ordered-float 3.9.1",
"rand 0.8.5", "rand 0.8.5",
"rayon", "rayon",
"slab",
"specs", "specs",
"tracing", "tracing",
"vek 0.15.8", "vek 0.15.8",
@ -7012,12 +6963,10 @@ dependencies = [
"async-channel", "async-channel",
"async-trait", "async-trait",
"bincode", "bincode",
"bitflags 2.4.0",
"bytes", "bytes",
"clap", "clap",
"criterion", "criterion",
"crossbeam-channel", "crossbeam-channel",
"futures-core",
"futures-util", "futures-util",
"hashbrown 0.13.2", "hashbrown 0.13.2",
"lazy_static", "lazy_static",
@ -7058,7 +7007,6 @@ dependencies = [
name = "veloren-plugin-api" name = "veloren-plugin-api"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"bincode",
"serde", "serde",
"veloren-common", "veloren-common",
] ]
@ -7096,7 +7044,6 @@ dependencies = [
"rand_chacha 0.3.1", "rand_chacha 0.3.1",
"rayon", "rayon",
"rmp-serde", "rmp-serde",
"ron 0.8.1",
"serde", "serde",
"slotmap 1.0.6", "slotmap 1.0.6",
"tracing", "tracing",
@ -7118,7 +7065,6 @@ dependencies = [
"crossbeam-channel", "crossbeam-channel",
"drop_guard", "drop_guard",
"enum-map", "enum-map",
"enumset",
"futures-util", "futures-util",
"hashbrown 0.13.2", "hashbrown 0.13.2",
"humantime", "humantime",
@ -7132,7 +7078,6 @@ dependencies = [
"prometheus-hyper", "prometheus-hyper",
"quinn", "quinn",
"rand 0.8.5", "rand 0.8.5",
"rand_distr",
"rayon", "rayon",
"refinery", "refinery",
"ron 0.8.1", "ron 0.8.1",
@ -7142,7 +7087,6 @@ dependencies = [
"schnellru", "schnellru",
"serde", "serde",
"serde_json", "serde_json",
"slab",
"specs", "specs",
"strum", "strum",
"tokio", "tokio",
@ -7169,13 +7113,9 @@ dependencies = [
"lazy_static", "lazy_static",
"rand 0.8.5", "rand 0.8.5",
"specs", "specs",
"tracing",
"vek 0.15.8", "vek 0.15.8",
"veloren-common", "veloren-common",
"veloren-common-base",
"veloren-common-dynlib", "veloren-common-dynlib",
"veloren-common-ecs",
"veloren-common-net",
"veloren-rtsim", "veloren-rtsim",
] ]
@ -7193,7 +7133,6 @@ dependencies = [
"serde", "serde",
"shell-words", "shell-words",
"signal-hook 0.3.17", "signal-hook 0.3.17",
"strum",
"tokio", "tokio",
"tracing", "tracing",
"tui", "tui",
@ -7212,7 +7151,6 @@ version = "0.15.0"
dependencies = [ dependencies = [
"assets_manager", "assets_manager",
"backtrace", "backtrace",
"bincode",
"bytemuck", "bytemuck",
"chrono", "chrono",
"chumsky", "chumsky",
@ -7230,9 +7168,7 @@ dependencies = [
"egui", "egui",
"egui_wgpu_backend", "egui_wgpu_backend",
"egui_winit_platform", "egui_winit_platform",
"enum-iterator 1.4.1",
"enum-map", "enum-map",
"etagere",
"euc", "euc",
"gilrs", "gilrs",
"glyph_brush", "glyph_brush",
@ -7283,7 +7219,6 @@ dependencies = [
"veloren-world", "veloren-world",
"wgpu", "wgpu",
"wgpu-profiler", "wgpu-profiler",
"window_clipboard",
"winit", "winit",
"winres", "winres",
] ]
@ -7332,7 +7267,6 @@ dependencies = [
"criterion", "criterion",
"csv", "csv",
"deflate", "deflate",
"enum-iterator 1.4.1",
"enum-map", "enum-map",
"fallible-iterator", "fallible-iterator",
"flate2", "flate2",
@ -7612,7 +7546,7 @@ checksum = "f093937725e242e5529fed27e08ff836c011a9ecc22e6819fb818c2ac6ff5f88"
dependencies = [ dependencies = [
"backtrace", "backtrace",
"cfg-if 1.0.0", "cfg-if 1.0.0",
"enum-iterator 0.7.0", "enum-iterator",
"enumset", "enumset",
"lazy_static", "lazy_static",
"leb128", "leb128",
@ -7665,7 +7599,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "918d2f0bb5eaa95a80c06be33f21dee92f40f12cd0982da34490d121a99d244b" checksum = "918d2f0bb5eaa95a80c06be33f21dee92f40f12cd0982da34490d121a99d244b"
dependencies = [ dependencies = [
"bytecheck", "bytecheck",
"enum-iterator 0.7.0", "enum-iterator",
"enumset", "enumset",
"indexmap 1.9.3", "indexmap 1.9.3",
"more-asserts", "more-asserts",
@ -7686,7 +7620,7 @@ dependencies = [
"corosensei", "corosensei",
"dashmap", "dashmap",
"derivative", "derivative",
"enum-iterator 0.7.0", "enum-iterator",
"fnv", "fnv",
"indexmap 1.9.3", "indexmap 1.9.3",
"lazy_static", "lazy_static",

View File

@ -7,7 +7,7 @@ edition = "2021"
[features] [features]
simd = ["vek/platform_intrinsics"] simd = ["vek/platform_intrinsics"]
plugins = ["common-state/plugins"] plugins = ["common-state/plugins"]
bin_bot = ["common-ecs", "serde", "ron", "clap", "rustyline", "common-frontend", "async-channel", "voxygen-i18n-helpers", "client-i18n"] bin_bot = ["serde", "ron", "clap", "rustyline", "common-frontend", "async-channel", "voxygen-i18n-helpers", "client-i18n"]
tracy = ["common-base/tracy"] tracy = ["common-base/tracy"]
tick_network = [] tick_network = []
@ -36,7 +36,6 @@ authc = { git = "https://gitlab.com/veloren/auth.git", rev = "abb1a705827984e117
#TODO: put bot in a different crate #TODO: put bot in a different crate
#bot only #bot only
async-channel = { version = "1.6", optional = true } async-channel = { version = "1.6", 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 = { workspace = true, features = [ "rc" ], optional = true } serde = { workspace = true, features = [ "rc" ], optional = true }
@ -44,7 +43,6 @@ ron = { workspace = true, optional = true }
clap = { workspace = true, optional = true } clap = { workspace = true, optional = true }
rustyline = { version = "12.0.0", optional = true } rustyline = { version = "12.0.0", optional = true }
## logging ## logging
termcolor = { version = "1.1", optional = true }
common-frontend = { package = "veloren-common-frontend", path = "../common/frontend", optional = true } common-frontend = { package = "veloren-common-frontend", path = "../common/frontend", optional = true }
[dev-dependencies] [dev-dependencies]

View File

@ -9,7 +9,6 @@ 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 = { workspace = true }
serde = { workspace = true } serde = { workspace = true }
# Localization # Localization
unic-langid = { version = "0.9"} unic-langid = { version = "0.9"}

View File

@ -28,7 +28,6 @@ serde = { workspace = true, features = ["rc"] }
# Util # Util
enum-map = "2.4" enum-map = "2.4"
vek = { workspace = true } vek = { workspace = true }
cfg-if = "1.0.0"
chrono = { workspace = true } chrono = { workspace = true }
chrono-tz = { workspace = true } chrono-tz = { workspace = true }
itertools = { workspace = true } itertools = { workspace = true }
@ -40,7 +39,6 @@ strum = { workspace = true }
approx = "0.5.1" approx = "0.5.1"
crossbeam-utils = { workspace = true } crossbeam-utils = { workspace = true }
crossbeam-channel = { workspace = true }
bitflags = { workspace = true, features = ["serde"] } bitflags = { workspace = true, features = ["serde"] }
lazy_static = { workspace = true } lazy_static = { workspace = true }
num-derive = "0.4.0" num-derive = "0.4.0"

View File

@ -15,7 +15,6 @@ common-base = { package = "veloren-common-base", path = "../base" }
termcolor = "1.1" termcolor = "1.1"
tracing = { workspace = true } tracing = { workspace = true }
tracing-appender = "0.2.0" tracing-appender = "0.2.0"
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"]}
# Tracy # Tracy

View File

@ -22,11 +22,6 @@ vek = { workspace = true }
ordered-float = { workspace = true } ordered-float = { workspace = true }
itertools = { workspace = true } itertools = { workspace = true }
# Data structures
hashbrown = { workspace = true }
indexmap = "1.3.0"
slab = { workspace = true }
# ECS # ECS
specs = { workspace = true, features = ["serde", "storage-event-control", "derive"] } specs = { workspace = true, features = ["serde", "storage-event-control", "derive"] }

View File

@ -30,7 +30,6 @@ tokio-stream = { version = "0.1.2", default-features = false }
tracing = { workspace = true } tracing = { workspace = true }
prometheus = { workspace = true, optional = true } prometheus = { workspace = true, optional = true }
#async #async
futures-core = { version = "0.3", default-features = false }
futures-util = { workspace = true, features = ["std"] } futures-util = { workspace = true, features = ["std"] }
async-channel = "1.6" #use for .close() channels async-channel = "1.6" #use for .close() channels
#mpsc channel registry #mpsc channel registry
@ -39,8 +38,6 @@ rand = { workspace = true }
#quic support #quic support
quinn = { version = "0.10", optional = true } quinn = { version = "0.10", optional = true }
rustls = "0.21" rustls = "0.21"
#stream flags
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"

View File

@ -7,4 +7,3 @@ edition = "2021"
[dependencies] [dependencies]
serde = { workspace = true } serde = { workspace = true }
common = { package = "veloren-common", path = "../../common", features = ["no-assets"] } common = { package = "veloren-common", path = "../../common", features = ["no-assets"] }
bincode = { workspace = true }

View File

@ -6,7 +6,6 @@ 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 = { workspace = true }
serde = { workspace = true } serde = { workspace = true }
hashbrown = { workspace = true } hashbrown = { workspace = true }
enum-map = { workspace = true, features = ["serde"] } enum-map = { workspace = true, features = ["serde"] }

View File

@ -46,7 +46,6 @@ shell-words = "1.0.0"
tracing = { workspace = true } tracing = { workspace = true }
ron = { workspace = true } ron = { workspace = true }
serde = { workspace = true, features = [ "rc", "derive" ]} serde = { workspace = true, features = [ "rc", "derive" ]}
strum = { workspace = true }
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
mimalloc = "0.1.29" mimalloc = "0.1.29"

View File

@ -61,9 +61,6 @@ crossbeam-channel = { workspace = true }
prometheus = { workspace = true } 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 = "abb1a705827984e11706d7bb97fb7a459e1e6533" } # xMAC94x/current_master_till_refactored branch authc = { git = "https://gitlab.com/veloren/auth.git", rev = "abb1a705827984e11706d7bb97fb7a459e1e6533" } # xMAC94x/current_master_till_refactored branch
slab = "0.4"
rand_distr = "0.4.0"
enumset = "1.0.8"
enum-map = { workspace = true } enum-map = { workspace = true }
noise = { version = "0.7", default-features = false } noise = { version = "0.7", default-features = false }
censor = "0.3" censor = "0.3"

View File

@ -10,15 +10,11 @@ be-dyn-lib = []
[dependencies] [dependencies]
common = { package = "veloren-common", path = "../../common"} common = { package = "veloren-common", path = "../../common"}
common-base = { package = "veloren-common-base", path = "../../common/base" }
common-net = { package = "veloren-common-net", path = "../../common/net" }
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 = { workspace = true, features = ["shred-derive"] } specs = { workspace = true, features = ["shred-derive"] }
vek = { workspace = true } vek = { workspace = true }
rand = { workspace = true, features = ["small_rng"] } rand = { workspace = true, features = ["small_rng"] }
tracing = { workspace = true }
itertools = { workspace = true } itertools = { workspace = true }
lazy_static = { workspace = true } lazy_static = { workspace = true }

View File

@ -73,7 +73,6 @@ conrod_winit = {git = "https://gitlab.com/veloren/conrod.git", branch="copypasta
euc = "0.5.0" euc = "0.5.0"
iced = {package = "iced_native", git = "https://github.com/Imberflur/iced", tag = "veloren-winit-0.28"} iced = {package = "iced_native", git = "https://github.com/Imberflur/iced", tag = "veloren-winit-0.28"}
iced_winit = {git = "https://github.com/Imberflur/iced", tag = "veloren-winit-0.28"} iced_winit = {git = "https://github.com/Imberflur/iced", tag = "veloren-winit-0.28"}
window_clipboard = "0.3"
glyph_brush = "0.7.0" glyph_brush = "0.7.0"
# https://gitlab.com/Frinksy/keyboard-keynames/-/merge_requests/8 # https://gitlab.com/Frinksy/keyboard-keynames/-/merge_requests/8
keyboard-keynames = { git = "https://gitlab.com/Imbris/keyboard-keynames.git", tag = "veloren-winit-0.28" } keyboard-keynames = { git = "https://gitlab.com/Imbris/keyboard-keynames.git", tag = "veloren-winit-0.28" }
@ -101,16 +100,13 @@ 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 = { workspace = true }
chrono = { workspace = true } chrono = { workspace = true }
chumsky = "0.9" chumsky = "0.9"
crossbeam-utils = { workspace = true } crossbeam-utils = { workspace = true }
crossbeam-channel = { workspace = true } crossbeam-channel = { workspace = true }
directories-next = "2.0" directories-next = "2.0"
dot_vox = "5.1" dot_vox = "5.1"
enum-iterator = "1.1.0"
guillotiere = "0.6.2" guillotiere = "0.6.2"
etagere = "0.2.7"
hashbrown = { workspace = true } hashbrown = { workspace = true }
image = { workspace = true, features = ["ico"]} image = { workspace = true, features = ["ico"]}
lazy_static = { workspace = true } lazy_static = { workspace = true }

View File

@ -20,7 +20,6 @@ common-dynlib = {package = "veloren-common-dynlib", path = "../common/dynlib", o
bincode = { workspace = true } bincode = { workspace = true }
bitvec = "1.0.1" bitvec = "1.0.1"
enum-iterator = "1.1.3"
enum-map = { workspace = true } enum-map = { workspace = true }
fxhash = { workspace = true } fxhash = { workspace = true }
image = { workspace = true } image = { workspace = true }