Skip to content

nit(policy-controller): replace extern crate directive#14901

Draft
cratelyn wants to merge 1 commit intomainfrom
kate/absolute-path-for-extern-crate
Draft

nit(policy-controller): replace extern crate directive#14901
cratelyn wants to merge 1 commit intomainfrom
kate/absolute-path-for-extern-crate

Conversation

@cratelyn
Copy link
Member

in the policy controller we have a module named http which conflicts
with a dependency of the same name.

instead of relying on an extern crate directive to alias this
dependency, which is no longer idiomatic in modern rust code, we can
rely on an absolute path in a use directive.

Signed-off-by: katelyn martin kate@buoyant.io

in the policy controller we have a module named `http` which conflicts
with a dependency of the same name.

instead of relying on an `extern crate` directive to alias this
dependency, which is no longer idiomatic in modern rust code, we can
rely on an absolute path in a `use` directive.

Signed-off-by: katelyn martin <kate@buoyant.io>
@cratelyn cratelyn self-assigned this Jan 30, 2026
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.

1 participant

Comments