-
Notifications
You must be signed in to change notification settings - Fork 6
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 #15 from qiniu/releases/v0.1.4
Releases/v0.1.4
- Loading branch information
Showing
42 changed files
with
355 additions
and
254 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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "qiniu-api-generator" | ||
version = "0.1.3" | ||
version = "0.1.4" | ||
authors = ["Rong Zhou <[email protected]>", "Shanghai Qiniu Information Technologies Co., Ltd."] | ||
edition = "2021" | ||
license = "MIT" | ||
|
@@ -28,8 +28,8 @@ walkdir = "2.3.2" | |
|
||
[dev-dependencies] | ||
serde_json = "1.0.68" | ||
qiniu-http = { version = "0.1.3", path = "../http" } | ||
qiniu-http-client = { version = "0.1.3", path = "../http-client" } | ||
qiniu-upload-token = { version = "0.1.3", path = "../upload-token" } | ||
qiniu-utils = { version = "0.1.3", path = "../utils" } | ||
qiniu-http = { version = "0.1.4", path = "../http" } | ||
qiniu-http-client = { version = "0.1.4", path = "../http-client" } | ||
qiniu-upload-token = { version = "0.1.4", path = "../upload-token" } | ||
qiniu-utils = { version = "0.1.4", path = "../utils" } | ||
indexmap = "1.7.0" |
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 = "qiniu-apis" | ||
version = "0.1.3" | ||
version = "0.1.4" | ||
authors = ["Rong Zhou <[email protected]>", "Shanghai Qiniu Information Technologies Co., Ltd."] | ||
edition = "2021" | ||
rust-version = "1.60.0" | ||
|
@@ -21,8 +21,8 @@ indexmap = "1.7.0" | |
futures = { version = "0.3.5", optional = true } | ||
async-std = { version = "1.9.0", optional = true } | ||
|
||
qiniu-http-client = { version = "0.1.3", path = "../http-client", default-features = false } | ||
qiniu-utils = { version = "0.1.3", path = "../utils" } | ||
qiniu-http-client = { version = "0.1.4", path = "../http-client", default-features = false } | ||
qiniu-utils = { version = "0.1.4", path = "../utils" } | ||
|
||
[dev-dependencies] | ||
anyhow = "1.0.43" | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "qiniu-credential" | ||
version = "0.1.3" | ||
version = "0.1.4" | ||
authors = ["Rong Zhou <[email protected]>", "Shanghai Qiniu Information Technologies Co., Ltd."] | ||
edition = "2021" | ||
rust-version = "1.60.0" | ||
|
@@ -24,7 +24,7 @@ assert-impl = "0.1.3" | |
auto_impl = "1.0.0" | ||
futures-lite = { version = "1.12.0", optional = true } | ||
|
||
qiniu-utils = { version = "0.1.3", path = "../utils" } | ||
qiniu-utils = { version = "0.1.4", path = "../utils" } | ||
|
||
[dev-dependencies] | ||
anyhow = "1.0.44" | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "qiniu-download-manager" | ||
version = "0.1.3" | ||
version = "0.1.4" | ||
authors = ["Rong Zhou <[email protected]>", "Shanghai Qiniu Information Technologies Co., Ltd."] | ||
edition = "2021" | ||
rust-version = "1.60.0" | ||
|
@@ -24,7 +24,7 @@ futures = { version = "0.3.5", optional = true } | |
async-std = { version = "1.9.0", optional = true } | ||
smart-default = { version = "0.6.0", optional = true } | ||
|
||
qiniu-apis = { version = "0.1.3", path = "../apis", default-features = false } | ||
qiniu-apis = { version = "0.1.4", path = "../apis", default-features = false } | ||
|
||
[dev-dependencies] | ||
anyhow = "1.0.51" | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "qiniu-etag" | ||
version = "0.1.3" | ||
version = "0.1.4" | ||
authors = ["Rong Zhou <[email protected]>", "Shanghai Qiniu Information Technologies Co., Ltd."] | ||
edition = "2021" | ||
rust-version = "1.60.0" | ||
|
@@ -19,7 +19,7 @@ digest = "0.9.0" | |
assert-impl = "0.1.3" | ||
futures-lite = { version = "1.12.0", optional = true } | ||
|
||
qiniu-utils = { version = "0.1.3", path = "../utils" } | ||
qiniu-utils = { version = "0.1.4", path = "../utils" } | ||
|
||
[dev-dependencies] | ||
async-std = { version = "1.9.0", features = ["attributes"] } | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "qiniu-http-client" | ||
version = "0.1.3" | ||
version = "0.1.4" | ||
authors = ["Rong Zhou <[email protected]>", "Shanghai Qiniu Information Technologies Co., Ltd."] | ||
edition = "2021" | ||
rust-version = "1.60.0" | ||
|
@@ -55,13 +55,13 @@ trust-dns-resolver = { version = "0.21.2", optional = true } | |
async-std-resolver = { version = "0.21.2", optional = true } | ||
async-once-cell = { version = "0.3.0", optional = true } | ||
|
||
qiniu-http = { version = "0.1.3", path = "../http" } | ||
qiniu-credential = { version = "0.1.3", path = "../credential" } | ||
qiniu-upload-token = { version = "0.1.3", path = "../upload-token" } | ||
qiniu-reqwest = { version = "0.1.3", path = "../http-reqwest", optional = true } | ||
qiniu-isahc = { version = "0.1.3", path = "../http-isahc", optional = true } | ||
qiniu-ureq = { version = "0.1.3", path = "../http-ureq", optional = true } | ||
qiniu-utils = { version = "0.1.3", path = "../utils" } | ||
qiniu-http = { version = "0.1.4", path = "../http" } | ||
qiniu-credential = { version = "0.1.4", path = "../credential" } | ||
qiniu-upload-token = { version = "0.1.4", path = "../upload-token" } | ||
qiniu-reqwest = { version = "0.1.4", path = "../http-reqwest", optional = true } | ||
qiniu-isahc = { version = "0.1.4", path = "../http-isahc", optional = true } | ||
qiniu-ureq = { version = "0.1.4", path = "../http-ureq", optional = true } | ||
qiniu-utils = { version = "0.1.4", path = "../utils" } | ||
|
||
[dev-dependencies] | ||
async-std = { version = "1.9.0", features = ["attributes"] } | ||
|
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
use super::super::super::IpAddrWithPort; | ||
use std::fmt::{self, Display}; | ||
|
||
#[derive(Default, Debug)] | ||
pub(super) struct IpAddrs(Vec<IpAddrWithPort>); | ||
|
||
impl From<IpAddrs> for Vec<IpAddrWithPort> { | ||
fn from(ips: IpAddrs) -> Self { | ||
ips.0 | ||
} | ||
} | ||
|
||
impl From<Vec<IpAddrWithPort>> for IpAddrs { | ||
fn from(ips: Vec<IpAddrWithPort>) -> Self { | ||
Self(ips) | ||
} | ||
} | ||
|
||
impl Display for IpAddrs { | ||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ||
write!(f, "[")?; | ||
for (i, ip) in self.0.iter().enumerate() { | ||
if i > 0 { | ||
write!(f, ", ")?; | ||
} | ||
write!(f, "{}", ip)?; | ||
} | ||
write!(f, "]")?; | ||
Ok(()) | ||
} | ||
} |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
mod domain_or_ip_addr; | ||
mod error; | ||
mod ip_addrs; | ||
mod ip_addrs_set; | ||
mod request_call; | ||
mod send_http_request; | ||
|
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
Oops, something went wrong.