probminhash 0.1.12

Minhash algorithms for weighted Jaccard index
Documentation
// for logging (debug mostly, switched at compile time in cargo.toml)

use lazy_static::lazy_static;

mod maxvaluetrack;

pub mod jaccard;

pub mod probminhasher;

pub mod densminhash;
pub mod setsketcher;
pub mod superminhasher;

pub mod exp01;
pub mod fyshuffle;
pub mod weightedset;
// we keep it in case. give integer signature but slower!
#[cfg(feature = "sminhash2")]
pub mod superminhasher2;

pub mod invhash;
pub mod nohasher;

// hashing stuff

lazy_static! {
    #[allow(dead_code)]
    pub static ref LOG: u64 = {
        init_log()
    };
}
// install a logger facility
// set RUST_LOG to trace, warn debug off ....
fn init_log() -> u64 {
    env_logger::Builder::from_default_env().init();
    println!("\n ************** initializing logger from env *****************\n");
    1
}