A minimal, fast, and reliable tilde expansion solution.
use simple_expand_tilde::*;
fn main() {
// Unix => /home/jdoe/.rustup
// Windows => C:\Users\jdoe\.rustup
let path = expand_tilde("~/.rustup").unwrap();
}| Name | Name | Last commit date | ||
|---|---|---|---|---|
A minimal, fast, and reliable tilde expansion solution.
use simple_expand_tilde::*;
fn main() {
// Unix => /home/jdoe/.rustup
// Windows => C:\Users\jdoe\.rustup
let path = expand_tilde("~/.rustup").unwrap();
}