Merge pull request #313 from tomaka/crates-io

Pull all dependencies from crates.io
This commit is contained in:
tomaka 2015-03-13 22:02:08 +01:00
commit b431ef5591
4 changed files with 13 additions and 44 deletions

View file

@ -29,5 +29,4 @@ after_success:
- | - |
[ $TRAVIS_BRANCH = master ] && [ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] && [ $TRAVIS_PULL_REQUEST = false ] &&
patch Cargo.toml < preupload.patch &&
cargo publish --token ${CRATESIO_TOKEN} cargo publish --token ${CRATESIO_TOKEN}

View file

@ -1,7 +1,7 @@
[package] [package]
name = "glutin" name = "glutin"
version = "0.0.8" version = "0.0.9"
authors = ["tomaka <pierre.krieger1708@gmail.com>"] authors = ["tomaka <pierre.krieger1708@gmail.com>"]
description = "Cross-plaform OpenGL context provider. Important: the crates.io only supports Windows and Linux for the moment." description = "Cross-plaform OpenGL context provider. Important: the crates.io only supports Windows and Linux for the moment."
keywords = ["windowing", "opengl"] keywords = ["windowing", "opengl"]
@ -28,25 +28,25 @@ khronos_api = "*"
clock_ticks = "*" clock_ticks = "*"
[target.arm-linux-androideabi.dependencies.android_glue] [target.arm-linux-androideabi.dependencies.android_glue]
git = "https://github.com/tomaka/android-rs-glue" version = "0"
[target.i686-apple-darwin.dependencies.cocoa] [target.i686-apple-darwin.dependencies.glutin_cocoa]
git = "https://github.com/servo/rust-cocoa" version = "0"
[target.x86_64-apple-darwin.dependencies.cocoa] [target.x86_64-apple-darwin.dependencies.glutin_cocoa]
git = "https://github.com/servo/rust-cocoa" version = "0"
[target.i686-apple-darwin.dependencies.core_graphics] [target.i686-apple-darwin.dependencies.glutin_core_graphics]
git = "https://github.com/servo/rust-core-graphics" version = "0"
[target.x86_64-apple-darwin.dependencies.core_graphics] [target.x86_64-apple-darwin.dependencies.glutin_core_graphics]
git = "https://github.com/servo/rust-core-graphics" version = "0"
[target.i686-apple-darwin.dependencies.core_foundation] [target.i686-apple-darwin.dependencies.core_foundation]
git = "https://github.com/servo/rust-core-foundation" version = "0"
[target.x86_64-apple-darwin.dependencies.core_foundation] [target.x86_64-apple-darwin.dependencies.core_foundation]
git = "https://github.com/servo/rust-core-foundation" version = "0"
[target.i686-pc-windows-gnu.dependencies] [target.i686-pc-windows-gnu.dependencies]
winapi = "0.1" winapi = "0.1"

View file

@ -1,30 +0,0 @@
--- Cargo.toml.old 2015-02-15 14:00:02.613705211 +0100
+++ Cargo.toml 2015-02-15 14:00:07.309705073 +0100
@@ -27,27 +27,6 @@
[dev-dependencies]
clock_ticks = "*"
-[target.arm-linux-androideabi.dependencies.android_glue]
-git = "https://github.com/tomaka/android-rs-glue"
-
-[target.i686-apple-darwin.dependencies.cocoa]
-git = "https://github.com/servo/rust-cocoa"
-
-[target.x86_64-apple-darwin.dependencies.cocoa]
-git = "https://github.com/servo/rust-cocoa"
-
-[target.i686-apple-darwin.dependencies.core_graphics]
-git = "https://github.com/servo/rust-core-graphics"
-
-[target.x86_64-apple-darwin.dependencies.core_graphics]
-git = "https://github.com/servo/rust-core-graphics"
-
-[target.i686-apple-darwin.dependencies.core_foundation]
-git = "https://github.com/servo/rust-core-foundation"
-
-[target.x86_64-apple-darwin.dependencies.core_foundation]
-git = "https://github.com/servo/rust-core-foundation"
-
[target.i686-pc-windows-gnu.dependencies]
winapi = "0.1"
gdi32-sys = "*"

View file

@ -42,7 +42,7 @@ extern crate cocoa;
#[cfg(target_os = "macos")] #[cfg(target_os = "macos")]
extern crate core_foundation; extern crate core_foundation;
#[cfg(target_os = "macos")] #[cfg(target_os = "macos")]
extern crate core_graphics; extern crate "glutin_core_graphics" as core_graphics;
pub use events::*; pub use events::*;
#[cfg(feature = "headless")] #[cfg(feature = "headless")]