sdsl 0.3.1

A Rust interface for the Succinct Data Structure Library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use anyhow::Result;

pub mod layouts;
pub mod wt_huff;
pub mod wt_int;

pub fn get_metas() -> Result<Vec<Box<dyn crate::meta::common::Meta>>> {
    let mut metas = vec![
        Box::new(wt_huff::WtHuffMeta::new()) as Box<dyn crate::meta::common::Meta>,
        Box::new(wt_int::WtIntMeta::new()) as Box<dyn crate::meta::common::Meta>,
    ];
    metas.extend(layouts::get_metas()?);
    Ok(metas)
}