diff --git a/Cargo.lock b/Cargo.lock index 7ac94c9..e18752d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -16,13 +16,14 @@ checksum = "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234" [[package]] name = "ahash" -version = "0.7.7" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ - "getrandom", + "cfg-if", "once_cell", "version_check", + "zerocopy", ] [[package]] @@ -173,7 +174,7 @@ dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.39", + "syn", ] [[package]] @@ -394,7 +395,7 @@ checksum = "eecf8589574ce9b895052fa12d69af7a233f99e6107f5cb8dd1044f2a17bfdcb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn", ] [[package]] @@ -406,7 +407,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.39", + "syn", ] [[package]] @@ -442,24 +443,24 @@ dependencies = [ [[package]] name = "fixed-map" -version = "0.8.2" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "371343526624eade25dc7ed378122dd560bc75185bdc64834977fe11174fdf69" +checksum = "86ed19add84e8cb9e8cc5f7074de0324247149ffef0b851e215fb0edc50c229b" dependencies = [ "fixed-map-derive", - "hashbrown 0.12.3", + "hashbrown 0.13.2", "serde", ] [[package]] name = "fixed-map-derive" -version = "0.8.2" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7be63f8e07fcb843b5d8b9c1b21f8c9223c4ccda49556a76f6de9ccf90fd1af1" +checksum = "6dc7a9cb3326bafb80642c5ce99b39a2c0702d4bfa8ee8a3e773791a6cbe2407" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn", ] [[package]] @@ -472,17 +473,6 @@ dependencies = [ "miniz_oxide", ] -[[package]] -name = "getrandom" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" -dependencies = [ - "cfg-if", - "libc", - "wasi", -] - [[package]] name = "gif" version = "0.12.0" @@ -495,9 +485,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.12.3" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" +checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ "ahash", ] @@ -848,7 +838,7 @@ checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn", ] [[package]] @@ -887,17 +877,6 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" -[[package]] -name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - [[package]] name = "syn" version = "2.0.39" @@ -964,7 +943,7 @@ checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn", ] [[package]] @@ -1030,7 +1009,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn", ] [[package]] @@ -1117,12 +1096,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - [[package]] name = "weezl" version = "0.1.7" @@ -1234,3 +1207,23 @@ checksum = "829846f3e3db426d4cee4510841b71a8e58aa2a76b1132579487ae430ccd9c7b" dependencies = [ "memchr", ] + +[[package]] +name = "zerocopy" +version = "0.7.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.7.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] diff --git a/hypnagogic_core/Cargo.toml b/hypnagogic_core/Cargo.toml index 552649a..b0cf1d2 100644 --- a/hypnagogic_core/Cargo.toml +++ b/hypnagogic_core/Cargo.toml @@ -10,7 +10,7 @@ bitflags = "1.3" dmi = "0.3.1" enum_dispatch = "0.3" enum-iterator = "1.2" -fixed-map = { version = "0.8", features = ["serde"] } +fixed-map = { version = "0.9.5", features = ["serde"] } image = { version = "0.24", default-features = false, features = ["png", "gif"] } once_cell = "1.17.1" serde = { version = "1.0", features = ["derive"] } diff --git a/hypnagogic_core/src/lib.rs b/hypnagogic_core/src/lib.rs index 24ce744..909a144 100644 --- a/hypnagogic_core/src/lib.rs +++ b/hypnagogic_core/src/lib.rs @@ -5,15 +5,17 @@ #![allow(clippy::cast_lossless)] #![allow(clippy::cast_precision_loss)] #![allow(clippy::cast_possible_truncation)] -// Not actually going to be a published crate, useless to add +// not actually going to be a published crate, useless to add #![allow(clippy::cargo_common_metadata)] -// Annoying +// annoying #![allow(clippy::module_name_repetitions)] // allow this for now, but it's probably a bad idea #![allow(clippy::missing_errors_doc)] #![allow(clippy::missing_panics_doc)] // sign conversion is fine #![allow(clippy::cast_sign_loss)] +// error we can't do anything about because of dependancies +#![allow(clippy::multiple_crate_versions)] pub mod config; pub mod generation;