Closed ealmloff closed 3 months ago
We currently warn the user with a tracing warning here if a crate tries to read the CLI config at runtime.
We rely on reading the tracing config for some automatic configuration like the base_path for the router. We should also warn with a compiler warning.
Add a build script to the cli-config crate that checks if the CLI config is present when the crate is being built
Feature Request
We currently warn the user with a tracing warning here if a crate tries to read the CLI config at runtime.
We rely on reading the tracing config for some automatic configuration like the base_path for the router. We should also warn with a compiler warning.
Implement Suggestion
Add a build script to the cli-config crate that checks if the CLI config is present when the crate is being built