sst 0.19.0

SST provides a sorted string table abstraction.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Inspect the internals of an sst.

use arrrg::CommandLine;

use sst::file_manager::FileHandle;
use sst::{Sst, SstOptions};

fn main() {
    let (opts, args) = SstOptions::from_command_line("Usage: sst-dump [OPTIONS] [SSTs]");
    // parse
    for sst in args {
        let sst = Sst::<FileHandle>::new(opts.clone(), sst).expect("could not open sst");
        sst.inspect().expect("inspect should always succeed");
    }
}