diff --git a/Cargo.toml b/Cargo.toml index 9149741..74908aa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "offscreen_gl_context" license = "MIT / Apache-2.0" -version = "0.1.3" +version = "0.1.4" authors = ["ecoal95 ", "The Servo Project Developers"] description = "Creation and manipulation of HW accelerated offscreen rendering contexts in multiple platforms. Originally intended for the Servo project's WebGL implementation." repository = "https://github.com/ecoal95/rust-offscreen-rendering-context" @@ -28,18 +28,7 @@ serde_macros = { version = ">=0.6.1, <0.8", optional = true } core-foundation = "0.2.0" cgl = "0.1" -[target.i686-unknown-linux-gnu.dependencies.x11] +[target.'cfg(target_os = "linux")'.dependencies.x11] version = "2.3.0" features = ["xlib"] -[target.x86_64-unknown-linux-gnu.dependencies.x11] -version = "2.3.0" -features = ["xlib"] - -[target.arm-unknown-linux-gnueabihf.dependencies.x11] -version = "2.3.0" -features = ["xlib"] - -[target.aarch64-unknown-linux-gnu.dependencies.x11] -version = "2.3.0" -features = ["xlib"]