Skip to content

feat: Remove all usage of env vars#24

Merged
86667 merged 4 commits into
masterfrom
data_dir
Apr 29, 2026
Merged

feat: Remove all usage of env vars#24
86667 merged 4 commits into
masterfrom
data_dir

Conversation

@86667
Copy link
Copy Markdown
Contributor

@86667 86667 commented Apr 29, 2026

  • Implements a DataDir whose location can be specified via --data-dir param
  • Adds the ability to specify log level via config

The overarching aim here is to remove all reliance on env vars (HG_CONFIG_PATH and RUST_LOG) in favour of config.toml.

@86667 86667 changed the title feat: Add DataDir and the ability to specify it's location on disk feat: Remove reliance on env vars Apr 29, 2026
@86667 86667 changed the title feat: Remove reliance on env vars feat: Remove all usage of env vars Apr 29, 2026
Copy link
Copy Markdown
Collaborator

@SeverinAlexB SeverinAlexB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two NITs. Probably worth having a look but up to you what you want to tackle.

Comment thread src/infrastructure/config.rs Outdated
Comment thread README.md
@86667 86667 merged commit 07c4091 into master Apr 29, 2026
2 checks passed
@86667 86667 linked an issue Apr 29, 2026 that may be closed by this pull request
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.

feat: Read log level from config.toml

2 participants