kv-extsort 0.1.2

External sort for key-value data
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod chunk;
mod merge;
mod sorter;

pub use sorter::{sort, SortConfig};
use thiserror::Error;

#[derive(Error, Debug)]
pub enum Error<E> {
    #[error("An error occurred")]
    IO(#[from] std::io::Error),
    #[error("Canceled")]
    Canceled,
    #[error("Source error")]
    Source(E),
}

pub type Result<T, E> = std::result::Result<T, Error<E>>;