mirror of
https://github.com/logos-blockchain/logos-blockchain.git
synced 2026-01-07 15:43:08 +00:00
fix(blend): expose utility function also for tests (#1828)
This commit is contained in:
parent
5a82b7b6ff
commit
beb569a6b8
@ -13,6 +13,11 @@ ignore = [
|
||||
{ id = "RUSTSEC-2024-0388", reason = "`derivative` is unmaintained; consider using an alternative. Use `cargo tree -p derivative -i > tmp.txt` to check the dependency tree." },
|
||||
{ id = "RUSTSEC-2024-0436", reason = "`paste` has a security vulnerability; consider using an alternative. Use `cargo tree -p paste -i > tmp.txt` to check the dependency tree." },
|
||||
{ id = "RUSTSEC-2025-0055", reason = "`tracing-subscriber` v0.2.25 pulled in by ark-relations v0.4.0 - will be addressed before mainnet" },
|
||||
{ id = "RUSTSEC-2025-0075", reason = "`unic-char-range` is unmaintained; consider using an alternative. Use `cargo tree -p difference -i > tmp.txt` to check the dependency tree." },
|
||||
{ id = "RUSTSEC-2025-0080", reason = "`unic-common` is unmaintained; consider using an alternative. Use `cargo tree -p difference -i > tmp.txt` to check the dependency tree." },
|
||||
{ id = "RUSTSEC-2025-0081", reason = "`unic-char-property` is unmaintained; consider using an alternative. Use `cargo tree -p difference -i > tmp.txt` to check the dependency tree." },
|
||||
{ id = "RUSTSEC-2025-0098", reason = "`unic-ucd-version` is unmaintained; consider using an alternative. Use `cargo tree -p difference -i > tmp.txt` to check the dependency tree." },
|
||||
{ id = "RUSTSEC-2025-0100", reason = "`unic-ucd-ident` is unmaintained; consider using an alternative. Use `cargo tree -p difference -i > tmp.txt` to check the dependency tree." },
|
||||
]
|
||||
yanked = "deny"
|
||||
|
||||
|
||||
@ -63,7 +63,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "unsafe-test-functions")]
|
||||
#[cfg(any(test, feature = "unsafe-test-functions"))]
|
||||
#[must_use]
|
||||
pub fn new_without_local(nodes: &[Node<NodeId>]) -> Self {
|
||||
Self::new(nodes, &[0; _].try_into().unwrap())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user