Remove audit exception; fix crossbeam issue.

This commit is contained in:
Andreas Fackler 2019-07-25 12:22:31 +02:00 committed by Andreas Fackler
parent 4b2cff8db7
commit 74e2e93a5d
2 changed files with 4 additions and 4 deletions

6
ci.sh
View File

@ -17,13 +17,11 @@ cargo fmt -- --check
cargo test --features=use-insecure-test-only-mock-crypto --release
cargo doc
cargo deadlinks --dir target/doc/hbbft/
# TODO: Remove exception once https://github.com/poanetwork/hbbft/issues/415 is fixed.
cargo audit --ignore RUSTSEC-2019-0011
cargo audit
cd hbbft_testing
cargo clippy --all-targets -- --deny clippy::all
cargo fmt -- --check
cargo test --features=use-insecure-test-only-mock-crypto --release
# TODO: Remove exception once https://github.com/poanetwork/hbbft/issues/415 is fixed.
cargo audit --ignore RUSTSEC-2019-0011
cargo audit
cd ..

View File

@ -85,6 +85,8 @@ impl<M: Send> Messaging<M> {
}
/// Spawns the message delivery thread in a given thread scope.
// TODO: Remove this once https://github.com/crossbeam-rs/crossbeam/issues/404 is resolved.
#[allow(clippy::drop_copy, clippy::zero_ptr)]
pub fn spawn<'a, 'scope>(
&self,
scope: &'scope Scope<'a>,