From bb64fe6ca6bb9d4417f47a25bbef6363374cdfae Mon Sep 17 00:00:00 2001 From: keith Date: Wed, 4 Mar 2020 21:37:27 -0800 Subject: [PATCH] update to use skulpin branch with optional sdl embed --- Cargo.lock | 2 +- Cargo.toml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fc6a179..86904b3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1792,7 +1792,7 @@ dependencies = [ [[package]] name = "skulpin" version = "0.5.2" -source = "git+https://github.com/Kethku/skulpin?branch=sdl2#9c62459e55d46c824c16135f73a93b7f3c85a908" +source = "git+https://github.com/Kethku/skulpin?branch=optional-sdl-embed#1a51128833bd6483a8a5f24e7ce311a837da4819" dependencies = [ "ash", "cocoa", diff --git a/Cargo.toml b/Cargo.toml index 6c4e7d6..76a5ade 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,12 +6,16 @@ edition = "2018" build = "build.rs" description = "A simple GUI for Neovim." +[features] +default = ["sdl2-static-link"] +sdl2-static-link = ["skulpin/sdl2-static-link"] + [dependencies] euclid = "0.20.7" font-kit = "0.5.0" skribo = { git = "https://github.com/linebender/skribo" } lru = "0.4.3" -skulpin = { git = "https://github.com/Kethku/skulpin", branch = "sdl2" } +skulpin = { git = "https://github.com/Kethku/skulpin", branch = "optional-sdl-embed" } # skulpin = { path = "../skulpin" } derive-new = "0.5" rmpv = "0.4.4"