Y
Hacker News
new
|
ask
|
show
|
jobs
by
alias-dev
2159 days ago
They use the 'directories' crate (
https://docs.rs/directories/3.0.1/directories/struct.Project...
) to work out where the data directory should be, then write out to a json file. See 'src/utils.rs'