Azure / Azure/azure-sdk-for-rust

Consider adding checks in verify_dependencies.rs to look for packages with workspace dependencies are abstracted in `azure_core`

Open
#3,731 0 comments 0 reactions 0 assignees View on GitHub
EngSys
Dominant language
Rust
Stars
884
Forks
365
Avg merge
2d 19h
Merged PRs (30d)
112

Description

### Feature Summary

Packages with dependencies on types like `http`, `Uuid`, `Url`, and opentelemetry should not be directly referenced in packages

### Feature Description

There are a number of packages in azure_core which abstract functionality available in other packages.

To avoid unnecessary dependencies, we should add enforcement to block packages from referencing the master crates for types like `Url`, `Uuid, `reqwest`, and `opentelemetry` even as workspace packages.

This is especially critical for a non-dev dependencies - every dev dependency impliesa functionality gap in our abstraction.

### Use Case

_No response_

### Alternatives

_No response_

### Additional Context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start in verify_dependencies.rs and inspect the existing dependency checks for azure_core and workspace packages. Identify how dependencies on http, Uuid, Url, reqwest, and opentelemetry are currently represented, then add enforcement for the prohibited direct references. Done means the checks reject those dependencies, including non-dev dependencies, while the relevant validation passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.