-
Notifications
You must be signed in to change notification settings - Fork 758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Ineffective .with_regex(false)
when parsing in EnvFilter::builder
in build
#2702
Comments
.with_regex(false)
when parsing in EnvFilter::builder.with_regex(false)
when parsing in EnvFilter::builder
.with_regex(false)
when parsing in EnvFilter::builder
.with_regex(false)
when parsing in EnvFilter::builder
in build
.with_regex(false)
when parsing in EnvFilter::builder
in build.with_regex(false)
when parsing in EnvFilter::builder
in build
.with_regex(false)
when parsing in EnvFilter::builder
in build.with_regex(false)
when parsing in EnvFilter::builder
in build
If you're concerned about the binary size impact of Essentially, the Hope that's helpful! |
Perfect, that's exactly what I was looking for. |
tracing/tracing-subscriber/src/filter/env/directive.rs
Line 122 in bf05c61
The
parse
method internally calls all the methods ofEnvFilter::builder
, and since it checks theregex
during runtime, its dependency will remain in the code.It would be really nice to have a feature to disable it during code compilation to reduce the binary size.
The text was updated successfully, but these errors were encountered: