Skip to content
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

[Rust] Rust Storage SDK Wrapper Proof of Concepts #1

Draft
wants to merge 20 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
bd65517
Initial wrapping work, BlobClient with working e2e download, no auth
vincenttran-msft Oct 30, 2024
bc60739
Moved gen code into our dir, rough draft StorageHeadersPolicy, having…
vincenttran-msft Oct 31, 2024
da34a57
Modifiable options POC, next step is bringing in auth and verifying S…
vincenttran-msft Oct 31, 2024
3d8fad6
Added StorageHeadersPolicy to per_call_policies, but weird side effec…
vincenttran-msft Nov 1, 2024
11afbc6
Working authenticated download
vincenttran-msft Nov 2, 2024
c04ebff
Fleshed out more of ContainerClient, BlobServiceClient, added get_blo…
vincenttran-msft Nov 5, 2024
d30397c
Found root-cause of API failures: %-encoding
vincenttran-msft Nov 5, 2024
ba209be
All written tests working except commented, double-ended issues with …
vincenttran-msft Nov 6, 2024
2818038
Finally working tags header value, working options bag
vincenttran-msft Nov 7, 2024
61e55eb
Refactor get-subclient, bring back type-state for blob types(append,p…
vincenttran-msft Nov 12, 2024
0282be7
Attempt to make it one crate
vincenttran-msft Nov 12, 2024
c71e264
Create container working, list blobs and containers working
vincenttran-msft Nov 13, 2024
0d081a6
stage_block and commit_block_list fleshed out, but too many issues to…
vincenttran-msft Nov 14, 2024
39fa6b3
Generated code changes necessary
vincenttran-msft Nov 14, 2024
bf66185
Merge branch 'main' into vincenttran/wrapping_proof_of_concept
vincenttran-msft Nov 14, 2024
906db1c
Working overwrite options bag, example for pub(crate) options in opti…
vincenttran-msft Nov 15, 2024
9b081bc
Working setting tags on upload, sample helper
vincenttran-msft Nov 15, 2024
96d5ca8
Slight cleanup, ranged downloads
vincenttran-msft Nov 19, 2024
e1e96f3
blob_client.rs all passing w/ asserts
vincenttran-msft Nov 19, 2024
a597ebf
Code cleanup
vincenttran-msft Nov 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions sdk/storage/azure_storage_blob/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@ rust-version.workspace = true

[dependencies]
azure_storage_common.workspace = true
async-trait.workspace = true
async-std = { workspace = true }
azure_core = { workspace = true }
azure_identity = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
time = { workspace = true }
typespec_client_core = { workspace = true, features = ["reqwest"] }
typespec_derive = { workspace = true }
blob_storage = { path = "blob_storage" }
uuid = { workspace = true }

[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }

[lints]
workspace = true
20 changes: 20 additions & 0 deletions sdk/storage/azure_storage_blob/blob_storage/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[package]
name = "blob_storage"
version = "0.1.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true

[dependencies]
async-std = { workspace = true }
azure_core = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
time = { workspace = true }
typespec_client_core = { workspace = true, features = ["reqwest"] }
typespec_derive = { workspace = true }

[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }

Large diffs are not rendered by default.

3,265 changes: 3,265 additions & 0 deletions sdk/storage/azure_storage_blob/blob_storage/src/generated/clients/blob_blob.rs

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading