Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
# Install cargo-fuzz only if not found in cache
- name: Install cargo-fuzz
if: steps.cache-rust.outputs.cache-hit != 'true'
run: cargo install cargo-fuzz --locked --force
run: cargo +nightly install cargo-fuzz --locked --force

# Pull corpus data from the floresta-qa-assets repository
- name: Pull corpus data
Expand Down
1 change: 1 addition & 0 deletions crates/floresta-chain/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
//! ready-to-use implementation, see the [KvChainStore] struct.
#![cfg_attr(not(test), no_std)]
#![cfg_attr(not(test), deny(clippy::unwrap_used))]
#![allow(clippy::manual_is_multiple_of)]

pub mod pruned_utreexo;
pub(crate) use floresta_common::prelude;
Expand Down
2 changes: 2 additions & 0 deletions crates/floresta-compact-filters/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
//! This module should receive blocks as we download them, it'll create a filter
//! for it. Therefore, you can't use this to speedup wallet sync **before** IBD,
//! since we wouldn't have the filter for all blocks yet.
#![allow(clippy::manual_is_multiple_of)]

use core::fmt::Debug;
use std::fmt::Display;
use std::sync::PoisonError;
Expand Down
1 change: 1 addition & 0 deletions crates/floresta-electrum/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
#![allow(clippy::manual_is_multiple_of)]

use serde::Deserialize;
use serde::Serialize;
Expand Down
2 changes: 2 additions & 0 deletions crates/floresta-watch-only/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
#![allow(clippy::manual_is_multiple_of)]

use core::cmp::Ordering;
use core::fmt::Debug;

Expand Down
6 changes: 3 additions & 3 deletions flake.lock

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

6 changes: 4 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,13 @@
};
};
};
# This check runs clippy and rusfmt on all defined files in `fileset`,

# This check runs clippy and rustfmt on all defined files in `fileset`,
# the rust files we have in this project
rust-sanity-check =
let
# since the rust code of this project is spread across multiple files,
# its better to track them using file sets to avoid useless operations.
# it's better to track them using file sets to avoid useless operations.
fileSet = lib.fileset.unions [
./Cargo.toml
./Cargo.lock
Expand Down Expand Up @@ -117,6 +118,7 @@
};
};
};

# This check runs black on check mode on all defined files in `fileset`,
# the python files we have in this project
python-sanity-check =
Expand Down
Loading