You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: lib.rs
    path of file: ./repos/CYFS/src/component/cyfs-base/src
    
    the code of the file until where you have to start completion: mod codec;
mod crypto;
mod base;
mod objects;
mod perf;

pub use base::endpoint;

/*
#[deprecated(
    //since = "0.2.1",
    note = "Please use cyfs_base::* or cyfs_base::codec::* instead"
)]
pub use codec as raw_encode;
*/

pub use self::crypto:
    
fn str_to_level(level: &str) -> log::LevelFilter {
    use log::LevelFilter;

    match level {
        "none" => LevelFilter::Off,
        "trace" => LevelFilter::Trace,
        "debug" => LevelFilter::Debug,
        "info" => LevelFilter::Info,
        "warn" => LevelFilter::Warn,
        "error" => LevelFilter::Error,
        _ => LevelFilter::Debug,
    }
}