diff --git a/Cargo.toml b/Cargo.toml index e90e25b..0a68ea9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,14 @@ [package] - -name = "core_graphics" +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.1.0" authors = ["The Servo Project Developers"] +license = "MIT / Apache-2.0" [dependencies] libc = "*" -[target.x86_64-apple-darwin.dependencies.core_foundation] -git = "https://github.com/servo/rust-core-foundation" - +[target.x86_64-apple-darwin.dependencies] +core-foundation = "*" diff --git a/src/base.rs b/src/base.rs index 94d8249..65d3999 100644 --- a/src/base.rs +++ b/src/base.rs @@ -9,6 +9,8 @@ // this file defines CGFloat, as well as stubbed data types. +#![allow(non_camel_case_types)] + use libc; #[cfg(target_pointer_width = "32")] diff --git a/src/lib.rs b/src/lib.rs index 96e6ffb..0ef6aaf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -7,9 +7,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![crate_name = "core_graphics"] -#![crate_type = "rlib"] - extern crate libc; extern crate core_foundation;