mentaljam / standard_paths

A Rust port of QStandardPaths class which provides methods for accessing standard paths on the local filesystem (config, cache, user directories and etc.).
https://docs.rs/crate/standard_paths
MIT License
7 stars 1 forks source link

Determine app_name at compile time for StandardPaths::default() #7

Closed Shatur closed 2 years ago

Shatur commented 2 years ago

Previously used function did it at runtime. I switched to the env! macro

AndrewKvalheim commented 1 year ago

@mentaljam Looks like this isn’t on Crates.io yet. Mind pushing an update? Thanks.

mentaljam commented 1 year ago

@AndrewKvalheim, thank you for pointing! Pushed the updated version 1.2.0