Skip to content

Conversation

cataggar
Copy link
Member

@cataggar cataggar commented Aug 10, 2022

This makes all of these checks to work:

  • cargo check --target=wasm32-unknown-unknown --no-default-features
  • cargo check --tests --features test_e2e --manifest-path sdk/storage_blobs/Cargo.toml
  • cargo check --tests --features test_e2e --manifest-path sdk/storage_datalake/Cargo.toml

The storage_blobs & storage_datalake dependency changes were included in yesterday's release.

@cataggar cataggar changed the title make identity a dev-dependency for storage_datalake allow wasm32 for identity Aug 10, 2022
@cataggar cataggar changed the title allow wasm32 for identity allow wasm32 for azure_identity Aug 10, 2022
mock_transport = { path = "../../eng/test/mock_transport" }

[features]
default = ["enable_reqwest", "azure_identity/default"]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

azure_identity is a dev-dependency, so this doesn't work. It fails when publishing.

[dependencies]
async-trait = "0.1"
azure_core = { path = "../core", version = "0.4" }
azure_identity = { path = "../identity", default_features = false }
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

azure_identity should be a dev-dependency.

Copy link
Contributor

@rylev rylev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just land the dependency changes first? I'd rather not add all of these feature flags (which are really hard to understand), and just focus on fixing #996.

@cataggar
Copy link
Member Author

I'd prefer to merge this and then back out the changes once #996 is fixed.

@rylev rylev merged commit 2536038 into Azure:main Aug 12, 2022
@cataggar cataggar deleted the identity-dependency branch August 15, 2022 13:19
roeap pushed a commit to roeap/azure-sdk-for-rust that referenced this pull request Aug 18, 2022
* make oauth2 an internal dependency of identity

* stub out oauth2_async_http_client

* add but headers

* fix after merge

* oauth2::http

* str

* move adapter into mod

* examples cleanup

* remove #[cfg(feature = "enable_reqwest")] from Azure#995

* set headers and body

* address feedback

Co-authored-by: Cameron Taggart <cameron.taggart@gmail.com>
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.

3 participants