aqua_ipfs_distro/
lib.rs

1pub const IPFS_EFFECTOR: &[u8] = include_bytes!("../ipfs-service/ipfs_effector.wasm");
2pub const IPFS_FACADE: &[u8] = include_bytes!("../ipfs-service/ipfs_pure.wasm");
3pub const CONFIG: &[u8] = include_bytes!("../ipfs-service/Config.toml");
4
5pub mod build_info {
6    include!(concat!(env!("OUT_DIR"), "/built.rs"));
7}
8
9pub use build_info::PKG_VERSION as VERSION;
10
11pub fn modules() -> std::collections::HashMap<&'static str, &'static [u8]> {
12    maplit::hashmap! {
13        "ipfs_pure" => IPFS_FACADE,
14        "ipfs_effector" => IPFS_EFFECTOR,
15    }
16}