fix(blend): expose utility function also for tests (#1828)

This commit is contained in:
Antonio 2025-10-21 15:15:12 +02:00 committed by GitHub
parent 5a82b7b6ff
commit beb569a6b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -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"

View File

@ -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())