Closed aljazerzen closed 1 year ago
I've removed the rustversion
dep and the old function.
I've also updated it to pass all tests and return correct result. There a bit of duplication, but it was required due to different types.
Thanks for all your work, I have merged it and published it in version 0.3.3
Closes #https://github.com/aj-bagwell/clio/issues/13
Adds alternative implementation of
add_extension
function, which is slightly less efficient as it clones the path instead of mutating it.This does add a dependency to
rustversion
for conditional compilation depending on Rust version. If that is not desired,add_extension
function can be replaced completely.