mirror of
https://github.com/alacritty/alacritty.git
synced 2025-02-17 15:57:08 -05:00
Update dependencies
This commit is contained in:
parent
9e0b9d5de1
commit
d76bb0c697
11 changed files with 306 additions and 262 deletions
538
Cargo.lock
generated
538
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -13,7 +13,7 @@ alacritty_terminal = { path = "../alacritty_terminal" }
|
|||
clap = "2"
|
||||
log = "0.4"
|
||||
time = "0.1.40"
|
||||
env_logger = "0.6.0"
|
||||
env_logger = "0.7.1"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_yaml = "0.8"
|
||||
serde_json = "1"
|
||||
|
@ -31,10 +31,10 @@ rustc_tools_util = "0.2.0"
|
|||
xdg = "2"
|
||||
|
||||
[target.'cfg(not(target_os = "macos"))'.dependencies]
|
||||
image = "0.21.0"
|
||||
image = "0.22.3"
|
||||
|
||||
[target.'cfg(any(target_os = "macos", windows))'.dependencies]
|
||||
dirs = "1.0.2"
|
||||
dirs = "2.0.2"
|
||||
|
||||
[target.'cfg(not(any(target_os="windows", target_os="macos")))'.dependencies]
|
||||
x11-dl = "2"
|
||||
|
|
|
@ -24,14 +24,13 @@ log = "0.4"
|
|||
fnv = "1"
|
||||
unicode-width = "0.1"
|
||||
base64 = "0.10.0"
|
||||
static_assertions = "0.3.0"
|
||||
terminfo = "0.6.1"
|
||||
url = "2"
|
||||
copypasta = { path = "../copypasta" }
|
||||
rfind_url = "0.4.0"
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
nix = "0.14.1"
|
||||
nix = "0.15.0"
|
||||
signal-hook = { version = "0.1", features = ["mio-support"] }
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
|
@ -54,7 +53,7 @@ nightly = []
|
|||
bench = []
|
||||
|
||||
[build-dependencies]
|
||||
gl_generator = "0.13.0"
|
||||
gl_generator = "0.14.0"
|
||||
|
||||
[dev-dependencies]
|
||||
serde_json = "1.0.0"
|
||||
|
|
|
@ -15,7 +15,6 @@ use std::ops::{Index, IndexMut};
|
|||
use std::vec::Drain;
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
use static_assertions::assert_eq_size;
|
||||
|
||||
use super::Row;
|
||||
use crate::index::Line;
|
||||
|
@ -221,7 +220,7 @@ impl<T> Storage<T> {
|
|||
/// instructions. This implementation achieves the swap in only 8 movups
|
||||
/// instructions.
|
||||
pub fn swap(&mut self, a: usize, b: usize) {
|
||||
assert_eq_size!(Row<T>, [usize; 4]);
|
||||
debug_assert_eq!(std::mem::size_of::<Row<T>>(), 32);
|
||||
|
||||
let a = self.compute_index(a);
|
||||
let b = self.compute_index(b);
|
||||
|
|
|
@ -8,12 +8,12 @@ license = "Apache-2.0"
|
|||
[dependencies]
|
||||
euclid = "0.20"
|
||||
libc = "0.2"
|
||||
foreign-types = "0.4"
|
||||
foreign-types = "0.5"
|
||||
log = "0.4"
|
||||
|
||||
[target.'cfg(not(any(target_os = "macos", windows)))'.dependencies]
|
||||
servo-fontconfig = "0.4.0"
|
||||
freetype-rs = "0.19"
|
||||
freetype-rs = "0.23"
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
core-foundation = "0.6"
|
||||
|
|
|
@ -19,7 +19,7 @@ use super::ffi::FcCharSetCreate;
|
|||
use super::ffi::{FcCharSet, FcCharSetAddChar, FcCharSetDestroy};
|
||||
|
||||
foreign_type! {
|
||||
pub type CharSet {
|
||||
pub unsafe type CharSet {
|
||||
type CType = FcCharSet;
|
||||
fn drop = FcCharSetDestroy;
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ use super::ffi::{FcConfig, FcConfigDestroy, FcConfigGetCurrent, FcConfigGetFonts
|
|||
use super::{FontSetRef, SetName};
|
||||
|
||||
foreign_type! {
|
||||
pub type Config {
|
||||
pub unsafe type Config {
|
||||
type CType = FcConfig;
|
||||
fn drop = FcConfigDestroy;
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ use super::{ConfigRef, ObjectSetRef, PatternRef};
|
|||
use super::ffi::{FcFontSet, FcFontSetDestroy, FcFontSetList};
|
||||
|
||||
foreign_type! {
|
||||
pub type FontSet {
|
||||
pub unsafe type FontSet {
|
||||
type CType = FcFontSet;
|
||||
fn drop = FcFontSetDestroy;
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ use super::ffi::{FcObjectSet, FcObjectSetAdd, FcObjectSetCreate, FcObjectSetDest
|
|||
use foreign_types::ForeignTypeRef;
|
||||
|
||||
foreign_type! {
|
||||
pub type ObjectSet {
|
||||
pub unsafe type ObjectSet {
|
||||
type CType = FcObjectSet;
|
||||
fn drop = FcObjectSetDestroy;
|
||||
}
|
||||
|
|
|
@ -326,7 +326,7 @@ impl_derived_property_iter! {
|
|||
}
|
||||
|
||||
foreign_type! {
|
||||
pub type Pattern {
|
||||
pub unsafe type Pattern {
|
||||
type CType = FcPattern;
|
||||
fn drop = FcPatternDestroy;
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ bitflags = "1.0"
|
|||
widestring = "0.4.0"
|
||||
|
||||
[target.'cfg(windows)'.dev-dependencies]
|
||||
named_pipe = "0.3"
|
||||
named_pipe = "0.4.1"
|
||||
winapi = { version = "0.3", features = ["winnt", "processthreadsapi"] }
|
||||
|
||||
[target.'cfg(windows)'.build-dependencies]
|
||||
|
|
Loading…
Add table
Reference in a new issue