Merge pull request #429 from tomaka/remove-headless

[Breaking change] Remove the "headless" feature entirely
This commit is contained in:
tomaka 2015-05-06 16:56:20 +02:00
commit 2d97e0380f
4 changed files with 1 additions and 6 deletions

View file

@ -18,7 +18,6 @@ env:
script:
- cargo build --verbose
- cargo test --verbose
- cargo test --verbose --features "headless" --no-default-features
os:
- linux

View file

@ -13,7 +13,6 @@ build = "build.rs"
[features]
default = ["window"]
window = []
headless = []
[dependencies]
gl_common = "*"

View file

@ -9,5 +9,4 @@ install:
build: false
test_script:
- cargo test --verbose --no-default-features --features "window"
- cargo test --verbose --no-default-features --features "headless"
- cargo test --verbose

View file

@ -53,7 +53,6 @@ extern crate glutin_core_graphics as core_graphics;
extern crate x11;
pub use events::*;
#[cfg(feature = "headless")]
pub use headless::{HeadlessRendererBuilder, HeadlessContext};
#[cfg(feature = "window")]
pub use window::{WindowBuilder, Window, WindowProxy, PollEventsIterator, WaitEventsIterator};
@ -65,7 +64,6 @@ pub use native_monitor::NativeMonitorId;
mod api;
mod platform;
mod events;
#[cfg(feature = "headless")]
mod headless;
#[cfg(feature = "window")]
mod window;