liboxen 0.50.1

Oxen is a fast, unstructured data version control, to help version large machine learning datasets written in Rust.
Documentation
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Runtime {
    CLI,
    Python,
}

impl Runtime {
    pub fn from_runtime_name(s: &str) -> Self {
        match s.to_lowercase().as_str() {
            "python" => Runtime::Python,
            _ => Runtime::CLI,
        }
    }

    pub fn display_name(&self) -> &'static str {
        match self {
            Runtime::Python => "Python",
            Runtime::CLI => "CLI",
        }
    }
}