From d9df53ac4bd34ccecdd8f338e408d98028bdcede Mon Sep 17 00:00:00 2001 From: mtvare6 Date: Sun, 8 Dec 2024 11:37:33 +0530 Subject: [PATCH] fix: many compilation errors --- Cargo.lock | 11 ++--------- Cargo.toml | 3 +-- src/main.rs | 2 -- 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c536dd0..b26556e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1685,12 +1685,6 @@ dependencies = [ "libc", ] -[[package]] -name = "crate" -version = "0.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba551890c7c7d0917c71ca40559c42156ffffd703c45558114968cecb83bfd97" - [[package]] name = "crc" version = "1.8.1" @@ -2832,9 +2826,9 @@ checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" [[package]] name = "fuck" -version = "0.0.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "040c97749520259ca4feca5caa11ed69d57fcc3d94adcfbaf916e3617160657a" +checksum = "73a32a807b0edd51f9c047fdc99f5848fe9e6f275986dcb54b97df06a38a87a1" [[package]] name = "futf" @@ -3581,7 +3575,6 @@ dependencies = [ "clap 3.2.6", "cookie 0.15.1", "cookie_store", - "crate", "crossbeam", "crossterm", "crypto", diff --git a/Cargo.toml b/Cargo.toml index f52c065..f2c8fc6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,6 @@ chrono-tz = "0.6.0" clap = "3.0.0-beta.4" cookie = "0.15.1" cookie_store = "0.15.0" -crate = "0.0.2" crossbeam = "0.8.1" crossterm = "0.21.0" crypto = "0.3.0" @@ -32,7 +31,7 @@ dotenv = "0.15.0" fern = "0.6.0" fluent-bundle = "0.15.1" french-numbers = "1.1.4" -fuck = "0.0.0" +fuck = "0.1.1" futures = "0.3.17" get-shell = "0.1.0" gfx = "0.18.2" diff --git a/src/main.rs b/src/main.rs index a8e0801..b2495f5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,3 @@ -#![feature(destructuring_assignment)] #![feature(generators)] #![allow(non_camel_case_types)] #![allow(dead_code)] @@ -12,7 +11,6 @@ use french_numbers::*; use get_shell::{get_shell,Shell::*}; /// These constants are to avoid magic strings/values. const LANGUAGE_LOCALES: &[&str] = &["ar", "be", "bg", "bn", "cc", "cs", "da", "de", "el", "en", "eo", "es", "fa", "fr", "ga", "he", "hi", "hr", "hu", "id", "is", "it", "jp", "kk", "kr", "la", "lj", "lt", "my", "nl", "no", "pl", "pt", "ro", "ru", "sa", "sn", "sv", "th", "tr", "uk", "zh"]; -; const LANGUAGES_DIRECTORY: &str = "translations"; const MSG: &str = "msg";