build: fix rust-tls resolver issues

This commit is contained in:
Jeremy Wall 2024-06-23 11:23:57 -04:00
parent 251cbfa5c7
commit 3e853f51eb
3 changed files with 8 additions and 9 deletions

13
flake.lock generated
View File

@ -99,11 +99,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1679174867, "lastModified": 1719152388,
"narHash": "sha256-fFxb8wN3bjOMvHPr63Iyzo3cuHhQzWW03UkckfTeBWU=", "narHash": "sha256-pHg0nzAa2ZM+zFamfsY7ZvVaB19pMr5wl4G5nO0J7eU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f5ec87b82832736f1624874fd34eb60c0b68bdd6", "rev": "be54c7d931a68ba6a79f097ce979288e90a74288",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -124,17 +124,16 @@
}, },
"rust-overlay": { "rust-overlay": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_2",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1702001829, "lastModified": 1718681902,
"narHash": "sha256-6gEVidNVqzTb06zIy2Gxhz9m6/jXyAgViRxfgEpZkQ8=", "narHash": "sha256-E/T7Ge6ayEQe7FVKMJqDBoHyLhRhjc6u9CmU8MyYfy0=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "c2a1dd067a928624c1aab36f976758c0722c79bd", "rev": "16c8ad83297c278eebe740dea5491c1708960dd1",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -25,7 +25,7 @@
let let
overlays = [ rust-overlay.overlays.default ]; overlays = [ rust-overlay.overlays.default ];
pkgs = import nixpkgs { inherit system overlays; }; pkgs = import nixpkgs { inherit system overlays; };
rust-wasm = pkgs.rust-bin.stable."1.74.1".default.override { rust-wasm = pkgs.rust-bin.stable."1.77.0".default.override {
extensions = [ "rust-src" ]; extensions = [ "rust-src" ];
# Add wasm32 as an extra target besides the native target. # Add wasm32 as an extra target besides the native target.
targets = [ "wasm32-unknown-unknown" ]; targets = [ "wasm32-unknown-unknown" ];

View File

@ -51,7 +51,7 @@ features = ["serde", "v4"]
[dependencies.axum] [dependencies.axum]
version = "0.5.16" version = "0.5.16"
features = ["headers", "http2", "rustls-tls"] features = ["headers", "http2"]
[dependencies.clap] [dependencies.clap]
version = "3.2.16" version = "3.2.16"