diff --git a/Cargo.toml b/Cargo.toml index d4fdbb8..86b7efc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,3 +4,4 @@ members = [ "crates/creo-rs", "crates/creo-sys", ] +resolver = "2" \ No newline at end of file diff --git a/crates/creo-rs/src/pro_util.rs b/crates/creo-rs/src/pro_util.rs index 0bd1467..1725090 100644 --- a/crates/creo-rs/src/pro_util.rs +++ b/crates/creo-rs/src/pro_util.rs @@ -9,7 +9,7 @@ use crate::pro_toolkit_errors::ProErrors; /// # Errors /// /// * `PRO_TK_E_NOT_FOUND` - The function was unable to find current working directory. -fn pro_directory_current_get() -> Result { +pub fn pro_directory_current_get() -> Result { unsafe { let mut dir_path = [0; creo_sys::PRO_PATH_SIZE as usize]; let status = creo_sys::ProDirectoryCurrentGet(dir_path.as_mut_ptr());