recall_ipld/lib.rs
1// Copyright 2025 Recall Contributors
2// Copyright 2022-2024 Protocol Labs
3// Copyright 2019-2022 ChainSafe Systems
4// SPDX-License-Identifier: Apache-2.0, MIT
5
6#[cfg(feature = "fil-actor")]
7use crate::hash_algorithm::FvmHashSha256;
8#[cfg(not(feature = "fil-actor"))]
9use fvm_ipld_hamt::Sha256;
10
11pub mod amt;
12pub mod hamt;
13mod hash_algorithm;
14
15#[cfg(feature = "fil-actor")]
16type Hasher = FvmHashSha256;
17
18#[cfg(not(feature = "fil-actor"))]
19type Hasher = Sha256;