Skip to content

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

Merged
cratelyn merged 1 commit into
mainfrom
kate/absolute-path-for-extern-crate
Mar 19, 2026
Merged

nit(policy-controller): replace extern crate directive#14901
cratelyn merged 1 commit into
mainfrom
kate/absolute-path-for-extern-crate

Conversation

@cratelyn
Copy link
Copy Markdown
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
@cratelyn cratelyn marked this pull request as ready for review February 26, 2026 20:53
@cratelyn cratelyn requested a review from a team as a code owner February 26, 2026 20:53
@cratelyn cratelyn merged commit 2cc8962 into main Mar 19, 2026
131 of 139 checks passed
@cratelyn cratelyn deleted the kate/absolute-path-for-extern-crate branch March 19, 2026 16:47
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.

2 participants