| Crates.io | simple-expand-tilde |
| lib.rs | simple-expand-tilde |
| version | 0.5.2 |
| created_at | 2024-01-17 08:02:24.667235+00 |
| updated_at | 2025-07-26 17:32:25.435307+00 |
| description | Cross-platform and reliable tilde-expansion solution. |
| homepage | |
| repository | https://github.com/eschwart/simple-expand-tilde |
| max_upload_size | |
| id | 1102580 |
| size | 2,827 |
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();
}