mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 22:31:30 +11:00
Merge pull request #429 from tomaka/remove-headless
[Breaking change] Remove the "headless" feature entirely
This commit is contained in:
commit
2d97e0380f
|
@ -18,7 +18,6 @@ env:
|
||||||
script:
|
script:
|
||||||
- cargo build --verbose
|
- cargo build --verbose
|
||||||
- cargo test --verbose
|
- cargo test --verbose
|
||||||
- cargo test --verbose --features "headless" --no-default-features
|
|
||||||
|
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
|
|
|
@ -13,7 +13,6 @@ build = "build.rs"
|
||||||
[features]
|
[features]
|
||||||
default = ["window"]
|
default = ["window"]
|
||||||
window = []
|
window = []
|
||||||
headless = []
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
gl_common = "*"
|
gl_common = "*"
|
||||||
|
|
|
@ -9,5 +9,4 @@ install:
|
||||||
build: false
|
build: false
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- cargo test --verbose --no-default-features --features "window"
|
- cargo test --verbose
|
||||||
- cargo test --verbose --no-default-features --features "headless"
|
|
||||||
|
|
|
@ -53,7 +53,6 @@ extern crate glutin_core_graphics as core_graphics;
|
||||||
extern crate x11;
|
extern crate x11;
|
||||||
|
|
||||||
pub use events::*;
|
pub use events::*;
|
||||||
#[cfg(feature = "headless")]
|
|
||||||
pub use headless::{HeadlessRendererBuilder, HeadlessContext};
|
pub use headless::{HeadlessRendererBuilder, HeadlessContext};
|
||||||
#[cfg(feature = "window")]
|
#[cfg(feature = "window")]
|
||||||
pub use window::{WindowBuilder, Window, WindowProxy, PollEventsIterator, WaitEventsIterator};
|
pub use window::{WindowBuilder, Window, WindowProxy, PollEventsIterator, WaitEventsIterator};
|
||||||
|
@ -65,7 +64,6 @@ pub use native_monitor::NativeMonitorId;
|
||||||
mod api;
|
mod api;
|
||||||
mod platform;
|
mod platform;
|
||||||
mod events;
|
mod events;
|
||||||
#[cfg(feature = "headless")]
|
|
||||||
mod headless;
|
mod headless;
|
||||||
#[cfg(feature = "window")]
|
#[cfg(feature = "window")]
|
||||||
mod window;
|
mod window;
|
||||||
|
|
Loading…
Reference in a new issue