flowr 1.0.0

Runners for compiled 'flow' programs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
const VERSION: &str = env!("CARGO_PKG_VERSION");

/// Return the version number of the `flowrlib` library
#[must_use]
pub fn version() -> &'static str {
    VERSION
}

#[cfg(test)]
#[allow(clippy::unwrap_used, clippy::expect_used)]
mod test {
    use super::*;

    #[test]
    fn can_get_version() {
        assert!(!version().is_empty());
    }
}