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