diff --git a/Cargo.toml b/Cargo.toml index fcb9cfd9..e25422f3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,35 +9,35 @@ license = "GPL-3.0-or-later" crate-type = ["cdylib", "lib"] [dependencies] -ash = "0.37.2" +ash = "0.37.3" bincode = "1.3.3" -bitflags = "1.3.2" +bitflags = "2.3.3" bxt-ipc-types = { version = "0.1.0", path = "bxt-ipc-types" } bxt-macros = { path = "bxt-macros" } bxt-patterns = { path = "bxt-patterns" } bxt-strafe = { path = "bxt-strafe" } byte-slice-cast = "1.2.2" color-eyre = { version = "0.6.2", default-features = false } -crossbeam-channel = "0.5.6" +crossbeam-channel = "0.5.8" git-version = "0.3.5" -glam = "0.22.0" +glam = "0.24.1" hltas = { version = "0.8.0", features = ["serde1"] } -ipc-channel = "0.16.0" -itertools = "0.10.5" -libc = "0.2.139" -libloading = "0.7.4" -once_cell = "1.17.0" +ipc-channel = "0.16.1" +itertools = "0.11.0" +libc = "0.2.147" +libloading = "0.8.0" +once_cell = "1.18.0" rand = "0.8.5" -rayon = "1.6.1" -rhai = { version = "1.12.0", features = ["no_closure", "no_custom_syntax", "no_module", "no_time", "f32_float", "serde"] } -rusqlite = { version = "0.28.0", features = ["bundled"] } -serde = { version = "1.0.152", features = ["derive"] } -serde_json = "1.0.91" +rayon = "1.7.0" +rhai = { version = "1.15.1", features = ["no_closure", "no_custom_syntax", "no_module", "no_time", "f32_float", "serde"] } +rusqlite = { version = "0.29.0", features = ["bundled"] } +serde = { version = "1.0.174", features = ["derive"] } +serde_json = "1.0.103" tap = "1.0.1" -thiserror = "1.0.38" +thiserror = "1.0.44" tracing = "0.1.37" -tracing-chrome = "0.7.0" -tracing-subscriber = "0.3.16" +tracing-chrome = "0.7.1" +tracing-subscriber = "0.3.17" [target."cfg(windows)".dependencies] minhook-sys = "0.1.1" @@ -47,9 +47,9 @@ version = "0.3.9" features = ["libloaderapi", "psapi", "winuser", "synchapi", "handleapi", "processthreadsapi", "winbase", "winerror"] [dev-dependencies] -expect-test = "1.4.0" +expect-test = "1.4.1" hltas = { version = "0.8.0", features = ["serde1", "proptest1"] } -proptest = "1.0.0" +proptest = "1.2.0" [build-dependencies] gl_generator = "0.14.0" diff --git a/bxt-ipc-types/Cargo.toml b/bxt-ipc-types/Cargo.toml index e6e6e8f4..1b2b2b11 100644 --- a/bxt-ipc-types/Cargo.toml +++ b/bxt-ipc-types/Cargo.toml @@ -6,4 +6,4 @@ edition = "2021" [dependencies] bxt-strafe = { version = "0.1.0", path = "../bxt-strafe" } hltas = { version = "0.8.0", features = ["serde1"] } -serde = { version = "1.0.152", features = ["derive"] } +serde = { version = "1.0.174", features = ["derive"] } diff --git a/bxt-macros/Cargo.toml b/bxt-macros/Cargo.toml index 1f8f31fa..9ae1b45e 100644 --- a/bxt-macros/Cargo.toml +++ b/bxt-macros/Cargo.toml @@ -9,4 +9,4 @@ license = "GPL-3.0-or-later" proc_macro = true [dev-dependencies] -trybuild = "1.0.77" +trybuild = "1.0.82" diff --git a/bxt-strafe/Cargo.toml b/bxt-strafe/Cargo.toml index ed04b5a8..b28f537b 100644 --- a/bxt-strafe/Cargo.toml +++ b/bxt-strafe/Cargo.toml @@ -4,15 +4,15 @@ version = "0.1.0" edition = "2021" [dependencies] -arrayvec = { version = "0.7.2", features = ["serde"] } +arrayvec = { version = "0.7.4", features = ["serde"] } bxt-vct = { path = "../bxt-vct" } -glam = { version = "0.22.0", features = ["serde"] } +glam = { version = "0.24.1", features = ["serde"] } hltas = { version = "0.8.0" } -serde = { version = "1.0.152", features = ["derive"] } +serde = { version = "1.0.174", features = ["derive"] } tap = "1.0.1" [dev-dependencies] ncollide3d = "0.33.0" -proptest = "1.0.0" +proptest = "1.2.0" proptest-derive = "0.3.0" hltas = { version = "0.8.0", features = ["proptest1"] } diff --git a/bxt-vct/Cargo.toml b/bxt-vct/Cargo.toml index 695f5dbe..cb95a7e3 100644 --- a/bxt-vct/Cargo.toml +++ b/bxt-vct/Cargo.toml @@ -4,5 +4,5 @@ version = "0.1.0" edition = "2021" [dependencies] -arrayvec = "0.7.2" -ordered-float = "3.4.0" +arrayvec = "0.7.4" +ordered-float = "3.7.0" diff --git a/src/ffi/buttons.rs b/src/ffi/buttons.rs index 5cbd1106..2553c2ab 100644 --- a/src/ffi/buttons.rs +++ b/src/ffi/buttons.rs @@ -1,6 +1,7 @@ use bitflags::bitflags; bitflags! { + #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub struct Buttons: u16 { const IN_ATTACK = 1; const IN_JUMP = 1 << 1; diff --git a/src/ffi/cvar.rs b/src/ffi/cvar.rs index 4632db9c..9760c279 100644 --- a/src/ffi/cvar.rs +++ b/src/ffi/cvar.rs @@ -7,6 +7,7 @@ use std::ptr::null; use bitflags::bitflags; bitflags! { + #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub struct Flags: i32 { const FCVAR_ARCHIVE = 1; const FCVAR_USERINFO = 2; diff --git a/src/ffi/edict.rs b/src/ffi/edict.rs index e1f72296..71ed3b8c 100644 --- a/src/ffi/edict.rs +++ b/src/ffi/edict.rs @@ -7,6 +7,7 @@ use std::ptr::null; use bitflags::bitflags; bitflags! { + #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub struct Flags: i32 { const FL_FLY = 1; const FL_SWIM = 1 << 1; diff --git a/src/ffi/playermove.rs b/src/ffi/playermove.rs index 1474e6ca..3dea9acc 100644 --- a/src/ffi/playermove.rs +++ b/src/ffi/playermove.rs @@ -13,6 +13,7 @@ use crate::ffi::pmtrace::pmtrace_s; use crate::ffi::usercmd::usercmd_s; bitflags! { + #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub struct TraceFlags: c_int { const PM_NORMAL = 0; const PM_STUDIO_IGNORE = 1; diff --git a/src/hooks/sdl.rs b/src/hooks/sdl.rs index 54be4912..d5b75f0d 100644 --- a/src/hooks/sdl.rs +++ b/src/hooks/sdl.rs @@ -159,7 +159,7 @@ pub fn reset_pointers(marker: MainThreadMarker) { bitflags! { /// Mouse buttons that can be pressed. - #[derive(Default)] + #[derive(Debug, Clone, Copy, PartialEq, Eq, Default)] pub struct MouseButtons: u32 { /// Half-Life's `mouse1`. const Left = 1 << 0;