Use fnv for caches
This commit is contained in:
parent
c5f49ee51a
commit
de6f52ab81
|
@ -874,6 +874,7 @@ dependencies = [
|
||||||
"bdf",
|
"bdf",
|
||||||
"confy",
|
"confy",
|
||||||
"env_logger",
|
"env_logger",
|
||||||
|
"fnv",
|
||||||
"hex_color",
|
"hex_color",
|
||||||
"log",
|
"log",
|
||||||
"mio-extras",
|
"mio-extras",
|
||||||
|
|
|
@ -11,6 +11,7 @@ description = "A bare-bones terminal emulator that is not meant to be taken too
|
||||||
alacritty_terminal = "0.16"
|
alacritty_terminal = "0.16"
|
||||||
confy = "0.5"
|
confy = "0.5"
|
||||||
env_logger = "0.9"
|
env_logger = "0.9"
|
||||||
|
fnv = "1.0"
|
||||||
hex_color = { version = "2", features = ["serde"] }
|
hex_color = { version = "2", features = ["serde"] }
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
mio-extras = "2"
|
mio-extras = "2"
|
||||||
|
|
|
@ -2,8 +2,8 @@ use alacritty_terminal::ansi::{Color, NamedColor};
|
||||||
use alacritty_terminal::term::cell::{Cell, Flags as CellFlags};
|
use alacritty_terminal::term::cell::{Cell, Flags as CellFlags};
|
||||||
use alacritty_terminal::term::color::{Colors, Rgb};
|
use alacritty_terminal::term::color::{Colors, Rgb};
|
||||||
use alacritty_terminal::Term;
|
use alacritty_terminal::Term;
|
||||||
|
use fnv::FnvHashMap as HashMap;
|
||||||
use softbuffer::GraphicsContext;
|
use softbuffer::GraphicsContext;
|
||||||
use std::collections::HashMap;
|
|
||||||
use winit::window::Window;
|
use winit::window::Window;
|
||||||
|
|
||||||
use crate::config::{ColorConfig, Config, FontConfig};
|
use crate::config::{ColorConfig, Config, FontConfig};
|
||||||
|
|
Loading…
Reference in New Issue