pub fn root(leaves: &[[u8; 32]]) -> [u8; 32]
The Merkle root over leaves, RFC 9162 section 2.1: the tree splits at the largest power of two below the width, which is the shape the proofs below are sound over.
leaves