chore: prevent bitrot

This commit is contained in:
Rekai Nyangadzayi Musuka 2024-10-13 14:59:24 -05:00
parent 068e4124a6
commit 8a352ca807
3 changed files with 33 additions and 31 deletions

54
Cargo.lock generated
View File

@ -253,9 +253,9 @@ checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb"
[[package]] [[package]]
name = "bitfield" name = "bitfield"
version = "0.14.0" version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2d7e60934ceec538daadb9d8432424ed043a904d8e0243f3c6446bce549a46ac" checksum = "f798d2d157e547aa99aab0967df39edd0b70307312b6f8bd2848e6abe40896e0"
[[package]] [[package]]
name = "bitflags" name = "bitflags"
@ -332,12 +332,6 @@ version = "1.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "428d9aa8fbc0670b7b8d6030a7fadd0f86151cae55e4dbbece15f3780a3dfaf3" checksum = "428d9aa8fbc0670b7b8d6030a7fadd0f86151cae55e4dbbece15f3780a3dfaf3"
[[package]]
name = "cache-padded"
version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "981520c98f422fcc584dc1a95c334e6953900b9106bc47a9839b81790009eb21"
[[package]] [[package]]
name = "calloop" name = "calloop"
version = "0.10.6" version = "0.10.6"
@ -482,6 +476,16 @@ dependencies = [
"libc", "libc",
] ]
[[package]]
name = "core-foundation"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b55271e5c8c478ad3f38ad24ef34923091e0548492a266d19b3c0b4d82574c63"
dependencies = [
"core-foundation-sys",
"libc",
]
[[package]] [[package]]
name = "core-foundation-sys" name = "core-foundation-sys"
version = "0.8.7" version = "0.8.7"
@ -495,7 +499,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2581bbab3b8ffc6fcbd550bf46c355135d16e9ff2a6ea032ad6b9bf1d7efe4fb" checksum = "2581bbab3b8ffc6fcbd550bf46c355135d16e9ff2a6ea032ad6b9bf1d7efe4fb"
dependencies = [ dependencies = [
"bitflags 1.3.2", "bitflags 1.3.2",
"core-foundation", "core-foundation 0.9.4",
"core-graphics-types", "core-graphics-types",
"foreign-types", "foreign-types",
"libc", "libc",
@ -508,7 +512,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "45390e6114f68f718cc7a830514a96f903cccd70d02a8f6d9f643ac4ba45afaf" checksum = "45390e6114f68f718cc7a830514a96f903cccd70d02a8f6d9f643ac4ba45afaf"
dependencies = [ dependencies = [
"bitflags 1.3.2", "bitflags 1.3.2",
"core-foundation", "core-foundation 0.9.4",
"libc", "libc",
] ]
@ -794,9 +798,9 @@ dependencies = [
[[package]] [[package]]
name = "gilrs" name = "gilrs"
version = "0.10.10" version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a556964c6d62458084356ce9770676f5104bd667e12e9a795691076e8a17c5cf" checksum = "bbb2c998745a3c1ac90f64f4f7b3a54219fd3612d7705e7798212935641ed18f"
dependencies = [ dependencies = [
"fnv", "fnv",
"gilrs-core", "gilrs-core",
@ -807,11 +811,11 @@ dependencies = [
[[package]] [[package]]
name = "gilrs-core" name = "gilrs-core"
version = "0.5.15" version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "732dadc05170599ddec9a89653f10d7a2af54da9181b3fa6e2bd49907ec8f7e4" checksum = "495af945e45efd6386227613cd9fb7bd7c43d3c095040e30c5304c489e6abed5"
dependencies = [ dependencies = [
"core-foundation", "core-foundation 0.10.0",
"inotify", "inotify",
"io-kit-sys", "io-kit-sys",
"js-sys", "js-sys",
@ -973,11 +977,11 @@ dependencies = [
[[package]] [[package]]
name = "inotify" name = "inotify"
version = "0.10.2" version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fdd168d97690d0b8c412d6b6c10360277f4d7ee495c5d0d5d5fe0854923255cc" checksum = "f37dccff2791ab604f9babef0ba14fbe0be30bd368dc541e2b08d07c8aa908f3"
dependencies = [ dependencies = [
"bitflags 1.3.2", "bitflags 2.6.0",
"inotify-sys", "inotify-sys",
"libc", "libc",
] ]
@ -1801,25 +1805,23 @@ checksum = "f1382d1f0a252c4bf97dc20d979a2fdd05b024acd7c2ed0f7595d7817666a157"
[[package]] [[package]]
name = "rodio" name = "rodio"
version = "0.17.3" version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3b1bb7b48ee48471f55da122c0044fcc7600cfcc85db88240b89cb832935e611" checksum = "6006a627c1a38d37f3d3a85c6575418cfe34a5392d60a686d0071e1c8d427acb"
dependencies = [ dependencies = [
"claxon", "claxon",
"cpal", "cpal",
"hound", "hound",
"lewton", "lewton",
"symphonia", "symphonia",
"thiserror",
] ]
[[package]] [[package]]
name = "rtrb" name = "rtrb"
version = "0.2.3" version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "99e704dd104faf2326a320140f70f0b736d607c1caa1b1748a6c568a79819109" checksum = "f3f94e84c073f3b85d4012b44722fa8842b9986d741590d4f2636ad0a5b14143"
dependencies = [
"cache-padded",
]
[[package]] [[package]]
name = "rustc-demangle" name = "rustc-demangle"
@ -2871,7 +2873,7 @@ dependencies = [
"android-activity", "android-activity",
"bitflags 1.3.2", "bitflags 1.3.2",
"cfg_aliases 0.1.1", "cfg_aliases 0.1.1",
"core-foundation", "core-foundation 0.9.4",
"core-graphics", "core-graphics",
"dispatch", "dispatch",
"instant", "instant",

View File

@ -8,16 +8,16 @@ edition = "2021"
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"
bitfield = "0.14" bitfield = "0.17"
clap = { version = "4.0", features = ["cargo"] } clap = { version = "4.0", features = ["cargo"] }
gilrs = "0.10" gilrs = "0.11"
winit = "0.28" winit = "0.28"
egui = "0.21" egui = "0.21"
egui_wgpu_backend = "0.22" egui_wgpu_backend = "0.22"
egui_winit_platform = "0.18" egui_winit_platform = "0.18"
pollster = "0.3" pollster = "0.3"
rodio = "0.17" rodio = "0.19"
rtrb = "0.2" rtrb = "0.3"
directories-next = "2.0" directories-next = "2.0"
tracing = "0.1" tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["std", "env-filter"] } tracing-subscriber = { version = "0.3", features = ["std", "env-filter"] }

View File

@ -368,7 +368,7 @@ fn surface_config(window: &Window, capabilities: SurfaceCapabilities) -> Surface
height: size.height as u32, height: size.height as u32,
present_mode: PresentMode::Fifo, present_mode: PresentMode::Fifo,
alpha_mode: capabilities.alpha_modes[0], alpha_mode: capabilities.alpha_modes[0],
view_formats: vec![TextureFormat::Bgra8UnormSrgb], view_formats: vec![TextureFormat::Rgba8UnormSrgb],
} }
} }