about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2023-02-22 00:19:02 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2023-02-22 00:19:02 +0100
commit851ee0eb70b4ca886976ccd5501a955870508004 (patch)
treed8f8a65cfa1d62190ea4d7dd8ee803ca181e2a3f
parentInitial Commit (diff)
downloadkyukai-851ee0eb70b4ca886976ccd5501a955870508004.tar.gz
kyukai-851ee0eb70b4ca886976ccd5501a955870508004.tar.bz2
kyukai-851ee0eb70b4ca886976ccd5501a955870508004.zip
Dependencies: Add "SDL2" dependency
-rw-r--r--Cargo.lock56
-rw-r--r--Cargo.toml1
-rw-r--r--flake.nix1
3 files changed, 58 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 4e99b13..dc895d7 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3,5 +3,61 @@
 version = 3
 
 [[package]]
+name = "bitflags"
+version = "1.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
+
+[[package]]
+name = "cfg-if"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+
+[[package]]
 name = "kyukai"
 version = "0.1.0"
+dependencies = [
+ "sdl2",
+]
+
+[[package]]
+name = "lazy_static"
+version = "1.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+
+[[package]]
+name = "libc"
+version = "0.2.139"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79"
+
+[[package]]
+name = "sdl2"
+version = "0.35.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f7959277b623f1fb9e04aea73686c3ca52f01b2145f8ea16f4ff30d8b7623b1a"
+dependencies = [
+ "bitflags",
+ "lazy_static",
+ "libc",
+ "sdl2-sys",
+]
+
+[[package]]
+name = "sdl2-sys"
+version = "0.35.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e3586be2cf6c0a8099a79a12b4084357aa9b3e0b0d7980e3b67aaf7a9d55f9f0"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "version-compare",
+]
+
+[[package]]
+name = "version-compare"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "579a42fc0b8e0c63b76519a339be31bed574929511fa53c1a3acae26eb258f29"
diff --git a/Cargo.toml b/Cargo.toml
index cf76c8a..a995d9e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,3 +6,4 @@ edition = "2021"
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
+sdl2 = "0.35.2"
diff --git a/flake.nix b/flake.nix
index 52195b0..4f73c52 100644
--- a/flake.nix
+++ b/flake.nix
@@ -22,6 +22,7 @@
             rust-analyzer
             openssl
             pkgconfig
+            SDL2.dev
             (rust-bin.beta.latest.default.override {
               extensions = [ "rust-src" ];
               targets = [ "x86_64-unknown-linux-gnu" "wasm32-unknown-unknown" ];