aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2021-01-28 22:13:04 +0100
committerKatharina Fey <kookie@spacekookie.de>2021-01-29 11:28:29 +0100
commit4220b1a5428719fa3d6e86218dbe6833d42dcc7e (patch)
tree0867e1d65cb16a3ae8eddeea112c1d7ef34eb032
parent398027b443cfb331fee64cf351036ca45502ae1b (diff)
rstnode: update build infrastructure and dependencies
-rw-r--r--games/rstnode/.projectile0
-rw-r--r--games/rstnode/Cargo.lock21
-rw-r--r--games/rstnode/Cargo.toml5
-rw-r--r--games/rstnode/shell.nix2
4 files changed, 25 insertions, 3 deletions
diff --git a/games/rstnode/.projectile b/games/rstnode/.projectile
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/games/rstnode/.projectile
diff --git a/games/rstnode/Cargo.lock b/games/rstnode/Cargo.lock
index bab60ff63b13..d6074e27d20a 100644
--- a/games/rstnode/Cargo.lock
+++ b/games/rstnode/Cargo.lock
@@ -473,6 +473,26 @@ dependencies = [
]
[[package]]
+name = "const_env"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3e9e4f72c6e3398ca6da372abd9affd8f89781fe728869bbf986206e9af9627e"
+dependencies = [
+ "const_env_impl",
+]
+
+[[package]]
+name = "const_env_impl"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3a4f51209740b5e1589e702b3044cdd4562cef41b6da404904192ffffb852d62"
+dependencies = [
+ "proc-macro2 1.0.24",
+ "quote 1.0.8",
+ "syn 1.0.60",
+]
+
+[[package]]
name = "constant_time_eq"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2498,6 +2518,7 @@ dependencies = [
"async-trait",
"cgmath",
"chrono",
+ "const_env",
"ggez",
"netmod-mem",
"quadtree_rs",
diff --git a/games/rstnode/Cargo.toml b/games/rstnode/Cargo.toml
index 02592d271b75..a8bfe703e236 100644
--- a/games/rstnode/Cargo.toml
+++ b/games/rstnode/Cargo.toml
@@ -21,6 +21,7 @@ cgmath = { version = "*", features = ["mint"] }
chrono = { version = "0.4", features = ["serde"] }
rand = "0.7"
quadtree_rs = "0.1"
+const_env = "0.1"
-# [profile.release.overrides."*"]
-# opt-level = 3 \ No newline at end of file
+[profile.release.overrides."*"]
+opt-level = 3 \ No newline at end of file
diff --git a/games/rstnode/shell.nix b/games/rstnode/shell.nix
index ade2d6e97361..0cf2e03db1ec 100644
--- a/games/rstnode/shell.nix
+++ b/games/rstnode/shell.nix
@@ -3,7 +3,7 @@ with import <nixpkgs> {};
stdenv.mkDerivation {
name = "rstnode";
buildInputs = with pkgs; [
- rustracer rustup clangStdenv stdenv
+ rustc cargo clangStdenv stdenv rust-analyzer
alsaLib pkg-config libudev steam-run
] ++ (with pkgs.xlibs; [
libGL