rstnode: update build infrastructure and dependencies

wip/yesman
Katharina Fey 3 years ago
parent 398027b443
commit 4220b1a542
Signed by: kookie
GPG Key ID: F972AEEA2887D547
  1. 0
      games/rstnode/.projectile
  2. 21
      games/rstnode/Cargo.lock
  3. 5
      games/rstnode/Cargo.toml
  4. 2
      games/rstnode/shell.nix

@ -472,6 +472,26 @@ dependencies = [
"serde",
]
[[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"
@ -2498,6 +2518,7 @@ dependencies = [
"async-trait",
"cgmath",
"chrono",
"const_env",
"ggez",
"netmod-mem",
"quadtree_rs",

@ -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
[profile.release.overrides."*"]
opt-level = 3

@ -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

Loading…
Cancel
Save