upgrade euclid dep

This commit is contained in:
Wez Furlong committed 2019-09-21 12:32:21 -07:00
1 parent 3dce78bd9c
commit c7c25025ed
3 files changed
+5 -4

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ clipboard = "0.5"
crossbeam-channel = "0.3"
dirs = "1.0"
downcast-rs = "1.0"
euclid = "0.19"
euclid = "0.20"
filedescriptor = "0.5"
pretty_env_logger = "0.3"
failure = "0.1"
+3 -3
View File
@@ -21,10 +21,10 @@ use term::{self, CursorPosition, Line, Underline};
use window::bitmaps::{BitmapImage, Image};
use window::Operator;
type Transform3D = euclid::Transform3D<f32>;
type Transform3D = euclid::Transform3D<f32, f32, f32>;
#[derive(Copy, Clone, Debug)]
struct Point(euclid::Point2D<f32>);
struct Point(euclid::default::Point2D<f32>);
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
struct GlyphKey {
@@ -53,7 +53,7 @@ impl Default for Point {
}
impl Deref for Point {
type Target = euclid::Point2D<f32>;
type Target = euclid::default::Point2D<f32>;
fn deref(&self) -> &Self::Target {
&self.0
}
+1
View File
@@ -9,6 +9,7 @@ license = "MIT"
[dependencies]
bitflags = "1.0"
euclid = "0.20"
failure = "0.1"
failure_derive = "0.1"
lazy_static = "1.3"