From 3b007f4a4cae788611edcc0bd35ce213d6a386ba Mon Sep 17 00:00:00 2001 From: Yash Karandikar Date: Sat, 30 Apr 2022 17:43:32 -0500 Subject: [PATCH] Allow static linking --- Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index d9def5c..8ab7b49 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cat-box" -version = "0.1.5" +version = "0.1.6" edition = "2018" license = "MIT" description = "Work in progress game engine, inspired by arcade" @@ -13,3 +13,7 @@ exclude = ["src/main.rs"] [dependencies.sdl2] version = "0.35.2" features = ["image", "ttf"] + +[features] +default = [] +static = ["sdl2/bundled"]