diff --git a/third_party/rust/core-graphics/.cargo-checksum.json b/third_party/rust/core-graphics/.cargo-checksum.json index fc316bc48c65..ff83471b3255 100644 --- a/third_party/rust/core-graphics/.cargo-checksum.json +++ b/third_party/rust/core-graphics/.cargo-checksum.json @@ -1 +1 @@ -{"files":{".cargo-ok":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",".gitignore":"d0114f648b7f61e473b61c6d682fefaa4e3fadf2101aff056e2ffc52e9229d87",".travis.yml":"ed428615e11c6a76a8fb12dd8d4f87ba278cb2b9a1ebb0703afa931b3c5b9704","COPYRIGHT":"ec82b96487e9e778ee610c7ab245162464782cfa1f555c2299333f8dbe5c036a","Cargo.toml":"41d44b937d2de261c4ad47c4b7303b0d92b499a017045121724bc6496a1010f6","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"62065228e42caebca7e7d7db1204cbb867033de5982ca4009928915e4095f3a3","README.md":"4a45abeb1e684e30bb361dfa7db59189423348e18d310cbae694b7c8c57cd86a","src/base.rs":"3f3d5d69bd79b146cc3c0402de6260f7531c04e6a44b080f4ec7c8cedebd1337","src/color_space.rs":"7d447e774e85cc33de574637a93c9a8550b681c8d4b94e99f95261ea9740e288","src/context.rs":"7c764ffde2e0ebaecd30ced31ece29f82ddea2f3c8145f4ea59882df38fec0d2","src/data_provider.rs":"899a5762ea472b828e1726e1cefc8d2dbd237772ce171cf6b31a79f144ce8df1","src/display.rs":"906cbcb13f8214308a6afcfb3abdd04e409f48ce62673574d40087486f38b36d","src/event.rs":"697529f912ad3a6acdf324bf1f0be4bc48d2b3c0e0e4579be757638b25cb89a4","src/event_source.rs":"6d1c1378dab8988c46dd3bf20639913716418980b9b490a37a0d5120c60ad580","src/font.rs":"635ee3d1039c807e00fe93b974c9e375c532f09c99322dd93b9496783a662c0a","src/geometry.rs":"9f59dcf55f393a3fa001afe8aea68a85a3c9a06239aeafe6da5d2823ed37b271","src/lib.rs":"efed3638b05e6a806a6fa0c544893afeec931f6c6889bd4a69d8fd2f9838967f","src/private.rs":"87c96ed2002bd567bf02535b4c6e8e3f22827afb2dd92ee17d91cfb45bc6072c"},"package":"9c80a36b106a8fa8b8ed882b0c14d83fa6678c0c05a0f5a100975c2de2c415d8"} \ No newline at end of file +{"files":{".cargo-ok":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",".gitignore":"d0114f648b7f61e473b61c6d682fefaa4e3fadf2101aff056e2ffc52e9229d87",".travis.yml":"ed428615e11c6a76a8fb12dd8d4f87ba278cb2b9a1ebb0703afa931b3c5b9704","COPYRIGHT":"ec82b96487e9e778ee610c7ab245162464782cfa1f555c2299333f8dbe5c036a","Cargo.toml":"f3a47c47c3b72e3b9c80c2de165f86121cd8cc767090ad0e9adc222ddfff1a36","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"62065228e42caebca7e7d7db1204cbb867033de5982ca4009928915e4095f3a3","README.md":"4a45abeb1e684e30bb361dfa7db59189423348e18d310cbae694b7c8c57cd86a","src/base.rs":"7550ee10db0539ac717e54ebc719aa52acac9edb91969cea3b7af2a8caa8ba3c","src/color_space.rs":"7d447e774e85cc33de574637a93c9a8550b681c8d4b94e99f95261ea9740e288","src/context.rs":"2ccc15ea582bbbb32edf7fc0df7087df0e0c0a66a93a1462cebf8c6e25975a73","src/data_provider.rs":"899a5762ea472b828e1726e1cefc8d2dbd237772ce171cf6b31a79f144ce8df1","src/display.rs":"906cbcb13f8214308a6afcfb3abdd04e409f48ce62673574d40087486f38b36d","src/font.rs":"635ee3d1039c807e00fe93b974c9e375c532f09c99322dd93b9496783a662c0a","src/geometry.rs":"9f59dcf55f393a3fa001afe8aea68a85a3c9a06239aeafe6da5d2823ed37b271","src/lib.rs":"ed510924bf8978d8864779d49180aeae8d07b31b7eec9392dc0421e6f0c922d3","src/private.rs":"87c96ed2002bd567bf02535b4c6e8e3f22827afb2dd92ee17d91cfb45bc6072c"},"package":"f0c1e70c26fbf342d448e01510360eefeb20a4f26c9e47d687843212f14e5122"} \ No newline at end of file diff --git a/third_party/rust/core-graphics/Cargo.toml b/third_party/rust/core-graphics/Cargo.toml index fef99bbd37a8..3381499db7cd 100644 --- a/third_party/rust/core-graphics/Cargo.toml +++ b/third_party/rust/core-graphics/Cargo.toml @@ -3,7 +3,7 @@ name = "core-graphics" description = "Bindings to Core Graphics for OS X" homepage = "https://github.com/servo/core-graphics-rs" repository = "https://github.com/servo/core-graphics-rs" -version = "0.4.3" +version = "0.4.1" authors = ["The Servo Project Developers"] license = "MIT / Apache-2.0" diff --git a/third_party/rust/core-graphics/src/base.rs b/third_party/rust/core-graphics/src/base.rs index 9cfb0a902e91..6c7c33d9fa6c 100644 --- a/third_party/rust/core-graphics/src/base.rs +++ b/third_party/rust/core-graphics/src/base.rs @@ -38,18 +38,3 @@ pub const kCGImageAlphaFirst: u32 = 4; pub const kCGImageAlphaNoneSkipLast: u32 = 5; pub const kCGImageAlphaNoneSkipFirst: u32 = 6; -pub const kCGBitmapByteOrderDefault: u32 = (0 << 12); -pub const kCGBitmapByteOrder16Little: u32 = (1 << 12); -pub const kCGBitmapByteOrder32Little: u32 = (2 << 12); -pub const kCGBitmapByteOrder16Big: u32 = (3 << 12); -pub const kCGBitmapByteOrder32Big: u32 = (4 << 12); - -#[cfg(target_endian = "big")] -pub const kCGBitmapByteOrder16Host: u32 = kCGBitmapByteOrder16Big; -#[cfg(target_endian = "big")] -pub const kCGBitmapByteOrder32Host: u32 = kCGBitmapByteOrder32Big; - -#[cfg(target_endian = "little")] -pub const kCGBitmapByteOrder16Host: u32 = kCGBitmapByteOrder16Little; -#[cfg(target_endian = "little")] -pub const kCGBitmapByteOrder32Host: u32 = kCGBitmapByteOrder32Little; diff --git a/third_party/rust/core-graphics/src/context.rs b/third_party/rust/core-graphics/src/context.rs index ffb8a160efa5..9cdd5227724b 100644 --- a/third_party/rust/core-graphics/src/context.rs +++ b/third_party/rust/core-graphics/src/context.rs @@ -14,18 +14,6 @@ use libc::{c_void, size_t}; use std::mem; use std::ptr; use std::slice; -use geometry::CGRect; - -#[repr(C)] -pub enum CGTextDrawingMode { - CGTextFill, - CGTextStroke, - CGTextFillStroke, - CGTextInvisible, - CGTextFillClip, - CGTextStrokeClip, - CGTextClip -} #[repr(C)] pub struct __CGContext; @@ -161,42 +149,6 @@ impl CGContext { CGContextSetShouldAntialias(self.as_concrete_TypeRef(), should_antialias) } } - - pub fn set_allows_font_subpixel_quantization(&self, allows_font_subpixel_quantization: bool) { - unsafe { - CGContextSetAllowsFontSubpixelQuantization(self.as_concrete_TypeRef(), allows_font_subpixel_quantization) - } - } - - pub fn set_should_subpixel_quantize_fonts(&self, should_subpixel_quantize_fonts: bool) { - unsafe { - CGContextSetShouldSubpixelQuantizeFonts(self.as_concrete_TypeRef(), should_subpixel_quantize_fonts) - } - } - - pub fn set_allows_font_subpixel_positioning(&self, allows_font_subpixel_positioning: bool) { - unsafe { - CGContextSetAllowsFontSubpixelPositioning(self.as_concrete_TypeRef(), allows_font_subpixel_positioning) - } - } - - pub fn set_should_subpixel_position_fonts(&self, should_subpixel_position_fonts: bool) { - unsafe { - CGContextSetShouldSubpixelPositionFonts(self.as_concrete_TypeRef(), should_subpixel_position_fonts) - } - } - - pub fn set_text_drawing_mode(&self, mode: CGTextDrawingMode) { - unsafe { - CGContextSetTextDrawingMode(self.as_concrete_TypeRef(), mode) - } - } - - pub fn fill_rect(&self, rect: CGRect) { - unsafe { - CGContextFillRect(self.as_concrete_TypeRef(), rect) - } - } } #[link(name = "ApplicationServices", kind = "framework")] @@ -218,21 +170,10 @@ extern { fn CGContextSetShouldSmoothFonts(c: CGContextRef, shouldSmoothFonts: bool); fn CGContextSetAllowsAntialiasing(c: CGContextRef, allowsAntialiasing: bool); fn CGContextSetShouldAntialias(c: CGContextRef, shouldAntialias: bool); - fn CGContextSetAllowsFontSubpixelQuantization(c: CGContextRef, - allowsFontSubpixelQuantization: bool); - fn CGContextSetShouldSubpixelQuantizeFonts(c: CGContextRef, - shouldSubpixelQuantizeFonts: bool); - fn CGContextSetAllowsFontSubpixelPositioning(c: CGContextRef, - allowsFontSubpixelPositioning: bool); - fn CGContextSetShouldSubpixelPositionFonts(c: CGContextRef, - shouldSubpixelPositionFonts: bool); - fn CGContextSetTextDrawingMode(c: CGContextRef, mode: CGTextDrawingMode); fn CGContextSetRGBFillColor(context: CGContextRef, red: CGFloat, green: CGFloat, blue: CGFloat, alpha: CGFloat); - fn CGContextFillRect(context: CGContextRef, - rect: CGRect); } diff --git a/third_party/rust/core-graphics/src/event.rs b/third_party/rust/core-graphics/src/event.rs deleted file mode 100644 index b193426d4196..000000000000 --- a/third_party/rust/core-graphics/src/event.rs +++ /dev/null @@ -1,283 +0,0 @@ -use core_foundation::base::{CFRelease, CFRetain, CFTypeID, CFTypeRef, TCFType}; -use geometry::CGPoint; -use event_source::{CGEventSource,CGEventSourceRef}; - -use libc; -use std::mem; -use std::ptr; - -pub type CGKeyCode = libc::uint16_t; - -/// Flags for events -/// -/// [Ref](http://opensource.apple.com/source/IOHIDFamily/IOHIDFamily-700/IOHIDSystem/IOKit/hidsystem/IOLLEvent.h) -#[repr(C)] -#[derive(Clone, Copy, Debug)] -pub enum CGEventFlags { - // Device-independent modifier key bits. - AlphaShift = 0x00010000, - Shift = 0x00020000, - Control = 0x00040000, - Alternate = 0x00080000, - Command = 0x00100000, - - // Special key identifiers. - Help = 0x00400000, - SecondaryFn = 0x00800000, - - // Identifies key events from numeric keypad area on extended keyboards. - NumericPad = 0x00200000, - - // Indicates if mouse/pen movement events are not being coalesced - NonCoalesced = 0x00000100, -} - -/// Constants that specify the different types of input events. -/// -/// [Ref](http://opensource.apple.com/source/IOHIDFamily/IOHIDFamily-700/IOHIDSystem/IOKit/hidsystem/IOLLEvent.h) -#[repr(C)] -#[derive(Clone, Copy, Debug)] -pub enum CGEventType { - Null = 1 << 0, - - // Mouse events. - LeftMouseDown = 1 << 1, - LeftMouseUp = 1 << 2, - RightMouseDown = 1 << 3, - RightMouseUp = 1 << 4, - MouseMoved = 1 << 5, - LeftMouseDragged = 1 << 6, - RightMouseDragged = 1 << 7, - - // Keyboard events. - KeyDown = 1 << 10, - KeyUp = 1 << 11, - FlagsChanged = 1 << 12, - - // Specialized control devices. - ScrollWheel = 1 << 22, - TabletPointer = 1 << 23, - TabletProximity = 1 << 24, - OtherMouseDown = 1 << 25, - OtherMouseUp = 1 << 26, - OtherMouseDragged = 1 << 27, - - // Out of band event types. These are delivered to the event tap callback - // to notify it of unusual conditions that disable the event tap. - TapDisabledByTimeout = 0xFFFFFFFE, - TapDisabledByUserInput = 0xFFFFFFFF, -} - -// Constants that specify buttons on a one, two, or three-button mouse. -#[repr(C)] -#[derive(Clone, Copy, Debug)] -pub enum CGMouseButton { - Left, - Right, - Center, -} - -/// Possible tapping points for events. -#[repr(C)] -#[derive(Clone, Copy, Debug)] -pub enum CGEventTapLocation { - HID, - Session, - AnnotatedSession, -} - -#[repr(C)] -pub struct __CGEvent; - -pub type CGEventRef = *const __CGEvent; - -pub struct CGEvent { - obj: CGEventRef, -} - -impl Clone for CGEvent { - #[inline] - fn clone(&self) -> CGEvent { - unsafe { - TCFType::wrap_under_get_rule(self.obj) - } - } -} - -impl Drop for CGEvent { - fn drop(&mut self) { - unsafe { - let ptr = self.as_CFTypeRef(); - assert!(ptr != ptr::null()); - CFRelease(ptr); - } - } -} - -impl TCFType for CGEvent { - #[inline] - fn as_concrete_TypeRef(&self) -> CGEventRef { - self.obj - } - - #[inline] - unsafe fn wrap_under_get_rule(reference: CGEventRef) -> CGEvent { - let reference: CGEventRef = mem::transmute(CFRetain(mem::transmute(reference))); - TCFType::wrap_under_create_rule(reference) - } - - #[inline] - fn as_CFTypeRef(&self) -> CFTypeRef { - unsafe { - mem::transmute(self.as_concrete_TypeRef()) - } - } - - #[inline] - unsafe fn wrap_under_create_rule(obj: CGEventRef) -> CGEvent { - CGEvent { - obj: obj, - } - } - - #[inline] - fn type_id() -> CFTypeID { - unsafe { - CGEventGetTypeID() - } - } -} - -impl CGEvent { - pub fn new(source: CGEventSource) -> Result { - unsafe { - let event_ref = CGEventCreate(source.as_concrete_TypeRef()); - if event_ref != ptr::null() { - Ok(TCFType::wrap_under_create_rule(event_ref)) - } else { - Err(()) - } - } - } - - pub fn new_keyboard_event( - source: CGEventSource, - keycode: CGKeyCode, - keydown: bool - ) -> Result { - unsafe { - let event_ref = CGEventCreateKeyboardEvent(source.as_concrete_TypeRef(), keycode, keydown); - if event_ref != ptr::null() { - Ok(TCFType::wrap_under_create_rule(event_ref)) - } else { - Err(()) - } - } - } - - pub fn new_mouse_event( - source: CGEventSource, - mouse_type: CGEventType, - mouse_cursor_position: CGPoint, - mouse_button: CGMouseButton - ) -> Result { - unsafe { - let event_ref = CGEventCreateMouseEvent(source.as_concrete_TypeRef(), mouse_type, - mouse_cursor_position, mouse_button); - if event_ref != ptr::null() { - Ok(TCFType::wrap_under_create_rule(event_ref)) - } else { - Err(()) - } - } - } - - pub fn post(&self, tap_location: CGEventTapLocation) { - unsafe { - CGEventPost(tap_location, self.as_concrete_TypeRef()); - } - } - - pub fn location(&self) -> CGPoint { - unsafe { - CGEventGetLocation(self.as_concrete_TypeRef()) - } - } - - pub fn post_to_pid(&self, pid: libc::pid_t) { - unsafe { - CGEventPostToPid(pid, self.as_concrete_TypeRef()); - } - } - - pub fn set_flags(&self, flags: CGEventFlags) { - unsafe { - CGEventSetFlags(self.as_concrete_TypeRef(), flags); - } - } - - pub fn get_flags(&self) -> CGEventFlags { - unsafe { - CGEventGetFlags(self.as_concrete_TypeRef()) - } - } -} - -#[link(name = "ApplicationServices", kind = "framework")] -extern { - /// Return the type identifier for the opaque type `CGEventRef'. - fn CGEventGetTypeID() -> CFTypeID; - - /// Return a new event using the event source `source'. If `source' is NULL, - /// the default source is used. - fn CGEventCreate(source: CGEventSourceRef) -> CGEventRef; - - /// Return a new keyboard event. - /// - /// The event source may be taken from another event, or may be NULL. Based - /// on the virtual key code values entered, the appropriate key down, key up, - /// or flags changed events are generated. - /// - /// All keystrokes needed to generate a character must be entered, including - /// SHIFT, CONTROL, OPTION, and COMMAND keys. For example, to produce a 'Z', - /// the SHIFT key must be down, the 'z' key must go down, and then the SHIFT - /// and 'z' key must be released: - fn CGEventCreateKeyboardEvent(source: CGEventSourceRef, keycode: CGKeyCode, - keydown: bool) -> CGEventRef; - - /// Return a new mouse event. - /// - /// The event source may be taken from another event, or may be NULL. - /// `mouseType' should be one of the mouse event types. `mouseCursorPosition' - /// should be the position of the mouse cursor in global coordinates. - /// `mouseButton' should be the button that's changing state; `mouseButton' - /// is ignored unless `mouseType' is one of `kCGEventOtherMouseDown', - /// `kCGEventOtherMouseDragged', or `kCGEventOtherMouseUp'. - /// - /// The current implemementation of the event system supports a maximum of - /// thirty-two buttons. Mouse button 0 is the primary button on the mouse. - /// Mouse button 1 is the secondary mouse button (right). Mouse button 2 is - /// the center button, and the remaining buttons are in USB device order. - fn CGEventCreateMouseEvent(source: CGEventSourceRef, mouseType: CGEventType, - mouseCursorPosition: CGPoint, mouseButton: CGMouseButton) -> CGEventRef; - - /// Post an event into the event stream at a specified location. - /// - /// This function posts the specified event immediately before any event taps - /// instantiated for that location, and the event passes through any such - /// taps. - fn CGEventPost(tapLocation: CGEventTapLocation, event: CGEventRef); - - /// Post an event to a specified process ID - fn CGEventPostToPid(pid: libc::pid_t, event: CGEventRef); - - /// Set the event flags of an event. - fn CGEventSetFlags(event: CGEventRef, flags: CGEventFlags); - - /// Return the event flags of an event. - fn CGEventGetFlags(event: CGEventRef) -> CGEventFlags; - - /// Return the location of an event in global display coordinates. - /// CGPointZero is returned if event is not a valid CGEventRef. - fn CGEventGetLocation(event: CGEventRef) -> CGPoint; -} diff --git a/third_party/rust/core-graphics/src/event_source.rs b/third_party/rust/core-graphics/src/event_source.rs deleted file mode 100644 index 32bbaefbbb10..000000000000 --- a/third_party/rust/core-graphics/src/event_source.rs +++ /dev/null @@ -1,97 +0,0 @@ -use core_foundation::base::{CFRelease, CFRetain, CFTypeID, CFTypeRef, TCFType}; - -use std::mem; -use std::ptr; - -/// Possible source states of an event source. -#[repr(C)] -#[derive(Clone, Copy, Debug)] -pub enum CGEventSourceStateID { - Private = -1, - CombinedSessionState = 0, - HIDSystemState = 1, -} - -#[repr(C)] -pub struct __CGEventSource; - -pub type CGEventSourceRef = *const __CGEventSource; - -pub struct CGEventSource { - obj: CGEventSourceRef, -} - -impl Clone for CGEventSource { - #[inline] - fn clone(&self) -> CGEventSource { - unsafe { - TCFType::wrap_under_get_rule(self.obj) - } - } -} - -impl Drop for CGEventSource { - fn drop(&mut self) { - unsafe { - let ptr = self.as_CFTypeRef(); - assert!(ptr != ptr::null()); - CFRelease(ptr); - } - } -} - -impl TCFType for CGEventSource { - #[inline] - fn as_concrete_TypeRef(&self) -> CGEventSourceRef { - self.obj - } - - #[inline] - unsafe fn wrap_under_get_rule(reference: CGEventSourceRef) -> CGEventSource { - let reference: CGEventSourceRef = mem::transmute(CFRetain(mem::transmute(reference))); - TCFType::wrap_under_create_rule(reference) - } - - #[inline] - fn as_CFTypeRef(&self) -> CFTypeRef { - unsafe { - mem::transmute(self.as_concrete_TypeRef()) - } - } - - #[inline] - unsafe fn wrap_under_create_rule(obj: CGEventSourceRef) -> CGEventSource { - CGEventSource { - obj: obj, - } - } - - #[inline] - fn type_id() -> CFTypeID { - unsafe { - CGEventSourceGetTypeID() - } - } -} - -impl CGEventSource { - pub fn new(state_id: CGEventSourceStateID) -> Result { - unsafe { - let event_source_ref = CGEventSourceCreate(state_id); - if event_source_ref != ptr::null() { - Ok(TCFType::wrap_under_create_rule(event_source_ref)) - } else { - Err(()) - } - } - } -} - -#[link(name = "ApplicationServices", kind = "framework")] -extern { - /// Return the type identifier for the opaque type `CGEventSourceRef'. - fn CGEventSourceGetTypeID() -> CFTypeID; - - /// Return a Quartz event source created with a specified source state. - fn CGEventSourceCreate(stateID: CGEventSourceStateID) -> CGEventSourceRef; -} diff --git a/third_party/rust/core-graphics/src/lib.rs b/third_party/rust/core-graphics/src/lib.rs index fed16b22ded9..a162a1c6f7a6 100644 --- a/third_party/rust/core-graphics/src/lib.rs +++ b/third_party/rust/core-graphics/src/lib.rs @@ -16,8 +16,7 @@ pub mod color_space; pub mod context; pub mod data_provider; pub mod display; -pub mod event; -pub mod event_source; pub mod font; pub mod geometry; pub mod private; + diff --git a/third_party/rust/error-chain/.cargo-checksum.json b/third_party/rust/error-chain/.cargo-checksum.json index bbf5dd380481..64f43b41ed9c 100644 --- a/third_party/rust/error-chain/.cargo-checksum.json +++ b/third_party/rust/error-chain/.cargo-checksum.json @@ -1 +1 @@ -{"files":{".cargo-ok":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",".gitignore":"ed8bb3864902ddf6322e6b1d6358bcaec9b51382a5216b9526ad0987ae430b0d",".travis.yml":"d56246d6c8796c638b5012c2d7a91d9b6ec101b6a47128e2d4bfa957c1c784e8","CHANGELOG.md":"8eb613d4a417752d4d1c81e065853e5ba0a21530e0881886c2ae4ffbf0ce57cd","Cargo.toml":"9e551bbef17e031db548e1a81f52d249c94db73a194daf0fe2906bc9404b9805","README.md":"6771ca940645b2f7e7a018c8cd25b25f8bf35786e229b54fa2fded1f2d0ae411","examples/all.rs":"2e6d530e95907bde1e49bda7fde7167568d08a370ade44a153612e2d1cb899d7","examples/doc.rs":"574948eb776c3d363f5cff9a48015bab6c17828c7306dc3eb8818afa90a31a83","examples/quickstart.rs":"0cd227741ed3559c0ead90dcc643cef30b73255d9c9f15c2ee20c4a1085d6f5c","examples/size.rs":"7922acd891dfd06f1d36308a3ccdf03def2646b2f39bfd1b15cf2896247bad8f","src/error_chain.rs":"236c4feead97661b33541434ae71f32c279738a81d0d4b7ce9c50550d5d6a662","src/example_generated.rs":"edaead3c4911afd0a0870cfcab11f8835eb17447031d227bbb5d17210379f778","src/lib.rs":"14ce5d1e76185e762db2414b51411095ddd38207a6f4d9dd50d4a041e7b77d88","src/quick_error.rs":"1889b9ca1f7a5e9124275fd5da81e709d0d6bd3b06915bf320c23d4c4f083301","src/quick_main.rs":"755028c2b4305482a1ab86f8b1b68a95eac22b331c94e14d29777dc69dad1bf4","tests/quick_main.rs":"1d6a726856b954d4cffddab00602583921972ceeeb2bf7ba9ebbac6a51584b53","tests/tests.rs":"2f7ceee2f9808d0985c848d99fe967e8f0b549cf144d4d692a5c5d1c2ba7d660"},"package":"318cb3c71ee4cdea69fdc9e15c173b245ed6063e1709029e8fd32525a881120f"} \ No newline at end of file +{"files":{".cargo-ok":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",".gitattributes":"7e18693dd440d30e646b599e2088919e50f6955ea6191bed27d852e92d38d08e",".gitignore":"ed8bb3864902ddf6322e6b1d6358bcaec9b51382a5216b9526ad0987ae430b0d",".travis.yml":"d56246d6c8796c638b5012c2d7a91d9b6ec101b6a47128e2d4bfa957c1c784e8","CHANGELOG.md":"8eb613d4a417752d4d1c81e065853e5ba0a21530e0881886c2ae4ffbf0ce57cd","Cargo.toml":"9e551bbef17e031db548e1a81f52d249c94db73a194daf0fe2906bc9404b9805","README.md":"6771ca940645b2f7e7a018c8cd25b25f8bf35786e229b54fa2fded1f2d0ae411","examples/all.rs":"2e6d530e95907bde1e49bda7fde7167568d08a370ade44a153612e2d1cb899d7","examples/doc.rs":"574948eb776c3d363f5cff9a48015bab6c17828c7306dc3eb8818afa90a31a83","examples/quickstart.rs":"0cd227741ed3559c0ead90dcc643cef30b73255d9c9f15c2ee20c4a1085d6f5c","examples/size.rs":"7922acd891dfd06f1d36308a3ccdf03def2646b2f39bfd1b15cf2896247bad8f","src/error_chain.rs":"236c4feead97661b33541434ae71f32c279738a81d0d4b7ce9c50550d5d6a662","src/example_generated.rs":"edaead3c4911afd0a0870cfcab11f8835eb17447031d227bbb5d17210379f778","src/lib.rs":"14ce5d1e76185e762db2414b51411095ddd38207a6f4d9dd50d4a041e7b77d88","src/quick_error.rs":"1889b9ca1f7a5e9124275fd5da81e709d0d6bd3b06915bf320c23d4c4f083301","src/quick_main.rs":"755028c2b4305482a1ab86f8b1b68a95eac22b331c94e14d29777dc69dad1bf4","tests/quick_main.rs":"1d6a726856b954d4cffddab00602583921972ceeeb2bf7ba9ebbac6a51584b53","tests/tests.rs":"2f7ceee2f9808d0985c848d99fe967e8f0b549cf144d4d692a5c5d1c2ba7d660"},"package":"318cb3c71ee4cdea69fdc9e15c173b245ed6063e1709029e8fd32525a881120f"} \ No newline at end of file diff --git a/third_party/rust/error-chain/.gitattributes b/third_party/rust/error-chain/.gitattributes new file mode 100644 index 000000000000..c531d7a5c222 --- /dev/null +++ b/third_party/rust/error-chain/.gitattributes @@ -0,0 +1,4 @@ +*.rs text eol=lf +*.lock text eol=lf +*.txt text eol=lf +*.toml text eol=lf \ No newline at end of file