Use fnv for caches

This commit is contained in:
mars 2022-10-06 19:27:14 -06:00
parent c5f49ee51a
commit de6f52ab81
3 changed files with 3 additions and 1 deletions

1
Cargo.lock generated
View File

@ -874,6 +874,7 @@ dependencies = [
"bdf",
"confy",
"env_logger",
"fnv",
"hex_color",
"log",
"mio-extras",

View File

@ -11,6 +11,7 @@ description = "A bare-bones terminal emulator that is not meant to be taken too
alacritty_terminal = "0.16"
confy = "0.5"
env_logger = "0.9"
fnv = "1.0"
hex_color = { version = "2", features = ["serde"] }
log = "0.4"
mio-extras = "2"

View File

@ -2,8 +2,8 @@ use alacritty_terminal::ansi::{Color, NamedColor};
use alacritty_terminal::term::cell::{Cell, Flags as CellFlags};
use alacritty_terminal::term::color::{Colors, Rgb};
use alacritty_terminal::Term;
use fnv::FnvHashMap as HashMap;
use softbuffer::GraphicsContext;
use std::collections::HashMap;
use winit::window::Window;
use crate::config::{ColorConfig, Config, FontConfig};