nicoburns / blessed-rs

A community guide to the Rust ecosystem
https://blessed.rs
1.32k stars 77 forks source link

Add user directories section #142

Closed alexveecle closed 1 month ago

alexveecle commented 1 month ago

From https://github.com/nicoburns/blessed-rs/discussions/139.

djc commented 1 month ago

So why did you decide to show dirs over directories? It feels to me like the directories API is a bit more modular and higher-level which probably makes more sense for our intended audience.

alexveecle commented 1 month ago

From https://github.com/nicoburns/blessed-rs/discussions/139#discussioncomment-10913757

probably for dirs with directories mentioned in the notes (HTML links work in notes sections)

But I really don't have a strong opinion. Personally, being able to construct a nice path for my application with directories looks nice.

nicoburns commented 1 month ago

From #139 (reply in thread)

probably for dirs with directories mentioned in the notes (HTML links work in notes sections)

But I really don't have a strong opinion. Personally, being able to construct a nice path for my application with directories looks nice.

I also don't really have a strong opinion on this. I'd be tempted to list both as "recommendations" (noting that dirs is slightly lower-level and directories slightly higher level) and stick etcetera under "see also".

Tbh, it looks like dirs and directories crates really ought to be one crate. They're both tiny wrappers around dirs-sys.

djc commented 1 month ago

I also don't really have a strong opinion on this. I'd be tempted to list both as "recommendations" (noting that dirs is slightly lower-level and directories slightly higher level) and stick etcetera under "see also".

This sounds good to me.

Tbh, it looks like dirs and directories crates really ought to be one crate. They're both tiny wrappers around dirs-sys.

Agreed.

alexveecle commented 1 month ago

Sorry, it's been a busy period. I tried to capture the latest suggestions here. Feel free to just overwrite with any wording you prefer- I'm also happy to apply any suggestions.

nicoburns commented 1 month ago

Thanks!