pass thru the kcl version (#5366)
Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
@ -236,6 +236,11 @@ fn try_f64_to_i64(f: f64) -> Option<i64> {
|
||||
}
|
||||
}
|
||||
|
||||
/// Get the version of the KCL library.
|
||||
pub fn version() -> &'static str {
|
||||
env!("CARGO_PKG_VERSION")
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use super::*;
|
||||
|
||||
Reference in New Issue
Block a user