diff --git a/flake.lock b/flake.lock index d7456f3..d9defde 100644 --- a/flake.lock +++ b/flake.lock @@ -22,16 +22,16 @@ "rust-analyzer-src": "rust-analyzer-src" }, "locked": { - "lastModified": 1756709111, - "narHash": "sha256-xv2u5dnQpdWkrIy5TBSomr055odWtRSoECSGBzNpp3w=", - "rev": "113eba389317407992ea219d5aaced44bf6407f9", - "revCount": 2375, + "lastModified": 1761979010, + "narHash": "sha256-isqMvjTk3jdTHN6KA/BWQvOSVe7O35OQKAZNtLK76OY=", + "rev": "3107255abfe4f2d1c3eee7a3e2f5a5eb6f2200fe", + "revCount": 2439, "type": "tarball", - "url": "https://api.flakehub.com/f/pinned/nix-community/fenix/0.1.2375%2Brev-113eba389317407992ea219d5aaced44bf6407f9/0199045f-8452-723d-b201-deb22d41c75e/source.tar.gz" + "url": "https://api.flakehub.com/f/pinned/nix-community/fenix/0.1.2439%2Brev-3107255abfe4f2d1c3eee7a3e2f5a5eb6f2200fe/019a3e7f-523d-7e82-b791-0e92cf55a0a9/source.tar.gz" }, "original": { "type": "tarball", - "url": "https://flakehub.com/f/nix-community/fenix/%3D0.1.2375" + "url": "https://flakehub.com/f/nix-community/fenix/0.1" } }, "nixpkgs": { @@ -58,11 +58,11 @@ "rust-analyzer-src": { "flake": false, "locked": { - "lastModified": 1756597274, - "narHash": "sha256-wfaKRKsEVQDB7pQtAt04vRgFphkVscGRpSx3wG1l50E=", + "lastModified": 1761894503, + "narHash": "sha256-SreGV62DEv7kLJEcOBrw2V6Kup0siT4wS3Ye8PlFTdE=", "owner": "rust-lang", "repo": "rust-analyzer", - "rev": "21614ed2d3279a9aa1f15c88d293e65a98991b30", + "rev": "2e2e3ebec91215078de9b754363fc9a7b0fdef13", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index b9e70aa..76aa482 100644 --- a/flake.nix +++ b/flake.nix @@ -5,7 +5,7 @@ nixpkgs.url = "https://flakehub.com/f/DeterminateSystems/secure/0"; fenix = { - url = "https://flakehub.com/f/nix-community/fenix/=0.1.2375"; # Stick with v1.89 since v1.90 can't seem to compile nixel + url = "https://flakehub.com/f/nix-community/fenix/0.1"; inputs.nixpkgs.follows = "nixpkgs"; }; diff --git a/src/shared/mod.rs b/src/shared/mod.rs index aa7a59f..f249c52 100644 --- a/src/shared/mod.rs +++ b/src/shared/mod.rs @@ -1,21 +1,10 @@ use std::path::{Path, PathBuf}; use color_eyre::eyre::Context as _; -use serde::{Deserialize, Serialize}; use tokio::fs::OpenOptions; use tokio::io::AsyncWriteExt; use url::Url; -#[derive(Deserialize, Serialize)] -pub struct DaemonInfoReponse { - pub supported_features: Vec, -} - -#[derive(Deserialize, Serialize)] -pub struct NetrcTokenAddRequest { - pub token: String, -} - pub async fn update_netrc_file( netrc_file_path: &Path, netrc_contents: &str,