Skip to content

Configuration cleanup - #17

Open
Kixunil wants to merge 1 commit into
Podcastindex-org:mainfrom
Kixunil:config-cleanup
Open

Configuration cleanup#17
Kixunil wants to merge 1 commit into
Podcastindex-org:mainfrom
Kixunil:config-cleanup

Conversation

@Kixunil

@Kixunil Kixunil commented Dec 24, 2021

Copy link
Copy Markdown

This change makes configure_me do the job of reading environment
variables, significantly reducing the required code. It also changes use
of String to PathBuf where appropriate and removes some string
manipulations.

This change makes `configure_me` do the job of reading environment
variables, significantly reducing the required code. It also changes use
of `String` to `PathBuf` where appropriate and removes some string
manipulations.
@daveajones

Copy link
Copy Markdown
Contributor

Thank you for this!! I’ll merge it into v0.1.6. It’s good seeing a real world example of how to use the env part of configure_me. I wanted to use it but didn’t see it in the crate docs. I could have easily overlooked it though.

@Kixunil

Kixunil commented Dec 27, 2021

Copy link
Copy Markdown
Author

Yeah, crate docs aren't that great yet. Definitely something I want to improve.

@valcanobacon

valcanobacon commented Jan 12, 2022

Copy link
Copy Markdown
Contributor

I had to look it up https://docs.rs/configure_me/0.4.0/configure_me/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants