funzzy 1.5.0

Yet another fancy watcher inspired by entr.
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[cfg(not(feature = "test-integration"))]
pub fn is_enabled(name: &str) -> bool {
    let value = std::env::var(name).unwrap_or_else(|_| "0".to_string());
    value == "1" || value == "true"
}

#[cfg(feature = "test-integration")]
pub fn is_enabled(name: &str) -> bool {
    let value = std::env::var(format!("_TEST_{}", name)).unwrap_or_else(|_| "0".to_string());
    value == "1" || value == "true"
}