• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

graphprotocol / indexer-rs / 9070604675

13 May 2024 10:22PM UTC coverage: 67.738% (+0.5%) from 67.221%
9070604675

push

github

web-flow
Improve service config with examples, more defaults (#160)

* refactor(common): inline config defaults

Signed-off-by: Alexis Asseman <alexis@semiotic.ai>

* feat(common): add more default config values

Signed-off-by: Alexis Asseman <alexis@semiotic.ai>

* docs(service): add min/max config file examples + tests

The tests ensure that the config files are up to date with the code.
I also looks like freezing `serde_spanned` is not needed anymore + needed to remove it to be able to add `toml`.

Signed-off-by: Alexis Asseman <alexis@semiotic.ai>

* docs(service): add doc to `--config` option

Points to the example config files on github.

Signed-off-by: Alexis Asseman <alexis@semiotic.ai>

* feat(service): add env expansion for toml config file

Signed-off-by: Alexis Asseman <alexis@semiotic.ai>

* docs(service): improve config toml docs

Signed-off-by: Alexis Asseman <alexis@semiotic.ai>

* feat(service): remove commented lines from TOML config

So that we can give examples for the shell expansion functionality in comments
in the example config files.

Signed-off-by: Alexis Asseman <alexis@semiotic.ai>

* docs: update README.md

Signed-off-by: Alexis Asseman <alexis@semiotic.ai>

* fix(common): config support for #164

Signed-off-by: Alexis Asseman <alexis@semiotic.ai>

---------

Signed-off-by: Alexis Asseman <alexis@semiotic.ai>

36 of 37 new or added lines in 3 files covered. (97.3%)

1 existing line in 1 file now uncovered.

3521 of 5198 relevant lines covered (67.74%)

42.32 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/service/src/cli.rs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc