From 47e7d8989e8cd67dac5bda64622f290eac038485 Mon Sep 17 00:00:00 2001 From: Frostie314159 Date: Tue, 13 Dec 2022 09:28:03 +0100 Subject: [PATCH] Updated cargo.toml and travis.yml. --- .travis.yml | 5 +++++ Cargo.toml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3b168d10..5a4daf7f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,12 +22,17 @@ addons: - libxinerama-dev - libxcursor-dev - xorg-dev + - libwayland-dev + - libxkbcommon-dev script: - sudo apt install libgl1 - sudo apt install libgl1-mesa-dev - cargo build - cargo test - cargo build --features "all" + - cargo build --features "image, log, vulkan" - cargo test --features "all" + - cargo test --features "image, log, vulkan" - cargo doc --features "all" + - cargo doc --features "image, log, vulkan" diff --git a/Cargo.toml b/Cargo.toml index e4113e6d..bbc02ef2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,7 +40,7 @@ version = "^0.4" log = "0.4" [features] -all = ["image", "vulkan", "log"] +all = ["image", "vulkan", "log", "wayland"] default = ["glfw-sys"] vulkan = ["vk-sys"] wayland = ["glfw-sys/wayland"]