Commit 4296b8f8 authored by Lemon Lam's avatar Lemon Lam
Browse files

warpgate: 0.21.1 -> 0.23.1

parent ee57154a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
diff --git a/warpgate-common/src/version.rs b/warpgate-common/src/version.rs
index 07db547..2a7967f 100644
index 0e7985a..62c2b67 100644
--- a/warpgate-common/src/version.rs
+++ b/warpgate-common/src/version.rs
@@ -1,8 +1,3 @@
-use git_version::git_version;
-
 pub fn warpgate_version() -> &'static str {
 pub const fn warpgate_version() -> &'static str {
-    git_version!(
-        args = ["--tags", "--always", "--dirty=-modified"],
-        fallback = "unknown"
+5 −4
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ rustPlatform.buildRustPackage (

      patches = [ ./web-ui-package-json.patch ];

      npmDepsHash = "sha256-MwcQL4nLN0kCMSubHbgtX3rGcA4xJjUuGv6nFgDXQtw=";
      npmDepsHash = "sha256-jRY3vR9rwqQc1WjxIuPb797ZXXrgDYNZ947fERxJ0zA=";

      nativeBuildInputs = [ openapi-generator-cli ];

@@ -35,19 +35,20 @@ rustPlatform.buildRustPackage (
  in
  {
    pname = "warpgate";
    version = "0.21.1";
    version = "0.23.1";

    src = fetchFromGitHub {
      owner = "warp-tech";
      repo = "warpgate";
      tag = "v${finalAttrs.version}";
      hash = "sha256-j2F+Y3rEiAOybiNXD0vdo1kSdJQs78wnKD8n4JuR9VA=";
      hash = "sha256-GayjhHkD9LtuR7dz7tw1smz4fPwOl8R9X9QTgx9snnM=";
    };

    cargoHash = "sha256-HQdBBd+XX+7OgYrxuP+scmnG2unBVryPfA5/inflqMw=";
    cargoHash = "sha256-Y3oVvQkZDmGmmxUYrWSP6qKZ4hgjly+t98PRmi88oaY=";

    patches = [
      (replaceVars ./hardcode-version.patch { inherit (finalAttrs) version; })
      ./remove-nightly-rustflags.patch
    ];

    env.RUSTFLAGS = "--cfg tokio_unstable";
+26 −0
Original line number Diff line number Diff line
diff --git a/Cargo.toml b/Cargo.toml
index 0e92acb..d187ebc 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -100,21 +100,3 @@ strip = "debuginfo"
 [profile.coverage]
 inherits = "dev"
 # rustflags = ["-Cinstrument-coverage"]
-
-[profile.dev.package.aws-sdk-ec2]
-rustflags = ["-Zhint-mostly-unused"]
-
-[profile.release.package.aws-sdk-ec2]
-rustflags = ["-Zhint-mostly-unused"]
-
-[profile.dev.package.aws-sdk-rds]
-rustflags = ["-Zhint-mostly-unused"]
-
-[profile.release.package.aws-sdk-rds]
-rustflags = ["-Zhint-mostly-unused"]
-
-[profile.dev.package.aws-sdk-eks]
-rustflags = ["-Zhint-mostly-unused"]
-
-[profile.release.package.aws-sdk-eks]
-rustflags = ["-Zhint-mostly-unused"]