Skip to content

Commit

Permalink
flake up
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Mar 29, 2024
1 parent b1ef0ed commit 524cbc1
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,4 @@ install-updater = true

[patch.crates-io]
diesel-async = { git = "https://github.com/weiznich/diesel_async.git", rev = "017ebe2fb7a2709ab5db92148dea5ce812a35e09" }
scoped-futures = { path = "../../scoped-futures" }
tokio-postgres-rustls = { git = "https://github.com/jbg/tokio-postgres-rustls.git", rev = "b3b59ac2fa1b5823f2426fef78a0fb74c004ec38" }
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.

4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
};
stdenv = pkgs.stdenvAdapters.useMoldLinker pkgs.stdenv;
rustPlatform = pkgs.makeRustPlatform {
cargo = pkgs.rust-bin.stable.latest.minimal;
rustc = pkgs.rust-bin.stable.latest.minimal;
cargo = pkgs.rust-bin.beta.latest.minimal;
rustc = pkgs.rust-bin.beta.latest.minimal;
inherit stdenv;
};

Expand Down
1 change: 0 additions & 1 deletion lib/cursiv/src/handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ fn raw_verify(key: &[u8; blake3::KEY_LEN], hash: &HashRef, message: &MessageRef)
impl CsrfHandle {
/// Keep the current signature and message inside the cookie
#[inline]
#[allow(clippy::assigning_clones)] // `.clone_from` usage won't work because of the mutex without trying way too hard
pub fn keep_cookie(&self) {
let inner = &mut *self.inner.lock().unwrap();
inner.set_data.clone_from(&inner.read_data);
Expand Down

0 comments on commit 524cbc1

Please sign in to comment.