Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};

Expand Down
11 changes: 0 additions & 11 deletions src/shared/mod.rs
Original file line number Diff line number Diff line change
@@ -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<String>,
}

#[derive(Deserialize, Serialize)]
pub struct NetrcTokenAddRequest {
pub token: String,
}

pub async fn update_netrc_file(
netrc_file_path: &Path,
netrc_contents: &str,
Expand Down
Loading