This repository has been archived by the owner on Oct 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from MindFlavor/feature/get_block_list
Implemented get_block_list with tests
- Loading branch information
Showing
13 changed files
with
463 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "azure_sdk_for_rust" | ||
version = "0.7.2" | ||
version = "0.8.0" | ||
description = "Rust wrappers around Microsoft Azure REST APIs" | ||
readme = "README.md" | ||
authors = ["Francesco Cogno <[email protected]>", "Max Gortman <[email protected]>", "Dong Liu <[email protected]>"] | ||
|
@@ -28,12 +28,12 @@ quick-error = "1.2.2" | |
serde = "1.0.66" | ||
serde_derive = "1.0.66" | ||
serde_json = "1.0.19" | ||
serde-xml-rs = "0.2.1" | ||
time = "0.1.40" | ||
tokio-core = "0.1.17" | ||
url = "1.7.0" | ||
uuid = "0.6.5" | ||
uuid = { version = "0.6", features = ["v4"] } | ||
rust-crypto = "0.2.36" | ||
failure = "0.1.1" | ||
smallvec = { version = "0.6", features = ["serde"] } | ||
|
||
[features] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,6 @@ define_encode_set! { | |
'+', '-', '&' | ||
} | ||
} | ||
|
||
use uuid::Uuid; | ||
pub type RequestId = Uuid; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
use azure::storage::blob::BlobBlockType; | ||
use std::borrow::Borrow; | ||
|
||
#[derive(Debug, Clone, PartialEq)] | ||
pub struct BlobBlockWithSize<T> | ||
where | ||
T: Borrow<str>, | ||
{ | ||
pub block_list_type: BlobBlockType<T>, | ||
pub size_in_bytes: u64, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pub enum BlockListType { | ||
Committed, | ||
Uncommitted, | ||
All, | ||
} |
Oops, something went wrong.