Skip to content

Commit 5f7c4a3

Browse files
authored
Merge pull request #25 from zhangzqs/master
Bump version to v0.2.3
2 parents 66a7b13 + 4f353e7 commit 5f7c4a3

File tree

19 files changed

+68
-61
lines changed

19 files changed

+68
-61
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change log
22

3+
## v0.2.3
4+
5+
- 修复 `c-ares` 高版本在 `windows` 平台无法正常使用的问题
6+
- 修复 `fs4``windows` 平台编译失败的问题
7+
- 修复 `qiniu_upload_token` 中的一些 `clippy check` 的问题
8+
- 修改 `qiniu_objects_manager::ListVersion` 中的默认版本为 `V1`
9+
310
## v0.2.2
411

512
- 修复 `qiniu_objects_manager::ListStream` 在使用 V2 API 列举时,当无法列举到结果时会导致无限循环的问题。

api-generator/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "qiniu-api-generator"
3-
version = "0.2.2"
3+
version = "0.2.3"
44
authors = ["Rong Zhou <[email protected]>", "Shanghai Qiniu Information Technologies Co., Ltd."]
55
edition = "2021"
66
rust-version = "1.60.0"
@@ -29,8 +29,8 @@ walkdir = "2.3.2"
2929

3030
[dev-dependencies]
3131
serde_json = "1.0.68"
32-
qiniu-http = { version = "0.2.2", path = "../http" }
33-
qiniu-http-client = { version = "0.2.2", path = "../http-client" }
34-
qiniu-upload-token = { version = "0.2.2", path = "../upload-token" }
35-
qiniu-utils = { version = "0.2.2", path = "../utils" }
32+
qiniu-http = { version = "0.2.3", path = "../http" }
33+
qiniu-http-client = { version = "0.2.3", path = "../http-client" }
34+
qiniu-upload-token = { version = "0.2.3", path = "../upload-token" }
35+
qiniu-utils = { version = "0.2.3", path = "../utils" }
3636
indexmap = "1.7.0"

apis/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "qiniu-apis"
3-
version = "0.2.2"
3+
version = "0.2.3"
44
authors = ["Rong Zhou <[email protected]>", "Shanghai Qiniu Information Technologies Co., Ltd."]
55
edition = "2021"
66
rust-version = "1.60.0"
@@ -22,8 +22,8 @@ indexmap = "1.7.0"
2222
futures = { version = "0.3.5", optional = true }
2323
async-std = { version = "1.9.0", optional = true }
2424

25-
qiniu-http-client = { version = "0.2.2", path = "../http-client", default-features = false }
26-
qiniu-utils = { version = "0.2.2", path = "../utils" }
25+
qiniu-http-client = { version = "0.2.3", path = "../http-client", default-features = false }
26+
qiniu-utils = { version = "0.2.3", path = "../utils" }
2727

2828
[features]
2929
default = ["ureq"]

credential/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "qiniu-credential"
3-
version = "0.2.2"
3+
version = "0.2.3"
44
authors = ["Rong Zhou <[email protected]>", "Shanghai Qiniu Information Technologies Co., Ltd."]
55
edition = "2021"
66
rust-version = "1.60.0"
@@ -24,7 +24,7 @@ assert-impl = "0.1.3"
2424
auto_impl = "1.0.0"
2525
futures-lite = { version = "1.12.0", optional = true }
2626

27-
qiniu-utils = { version = "0.2.2", path = "../utils" }
27+
qiniu-utils = { version = "0.2.3", path = "../utils" }
2828

2929
[dev-dependencies]
3030
anyhow = "1.0.41"

download-manager/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "qiniu-download-manager"
3-
version = "0.2.2"
3+
version = "0.2.3"
44
authors = ["Rong Zhou <[email protected]>", "Shanghai Qiniu Information Technologies Co., Ltd."]
55
edition = "2021"
66
rust-version = "1.60.0"
@@ -26,7 +26,7 @@ futures = { version = "0.3.5", optional = true }
2626
async-std = { version = "1.9.0", optional = true }
2727
smart-default = { version = "0.6.0", optional = true }
2828

29-
qiniu-apis = { version = "0.2.2", path = "../apis", default-features = false }
29+
qiniu-apis = { version = "0.2.3", path = "../apis", default-features = false }
3030

3131
[dev-dependencies]
3232
rand = "0.8.3"

etag/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "qiniu-etag"
3-
version = "0.2.2"
3+
version = "0.2.3"
44
authors = ["Rong Zhou <[email protected]>", "Shanghai Qiniu Information Technologies Co., Ltd."]
55
edition = "2021"
66
rust-version = "1.60.0"
@@ -19,7 +19,7 @@ digest = "0.9.0"
1919
assert-impl = "0.1.3"
2020
futures-lite = { version = "1.12.0", optional = true }
2121

22-
qiniu-utils = { version = "0.2.2", path = "../utils" }
22+
qiniu-utils = { version = "0.2.3", path = "../utils" }
2323

2424
[dev-dependencies]
2525
async-std = { version = "1.9.0", features = ["attributes"] }

http-client/Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "qiniu-http-client"
3-
version = "0.2.2"
3+
version = "0.2.3"
44
authors = ["Rong Zhou <[email protected]>", "Shanghai Qiniu Information Technologies Co., Ltd."]
55
edition = "2021"
66
rust-version = "1.60.0"
@@ -56,13 +56,13 @@ trust-dns-resolver = { version = "0.21.2", optional = true }
5656
async-std-resolver = { version = "0.21.2", optional = true }
5757
async-once-cell = { version = "0.3.0", optional = true }
5858

59-
qiniu-http = { version = "0.2.2", path = "../http" }
60-
qiniu-credential = { version = "0.2.2", path = "../credential" }
61-
qiniu-upload-token = { version = "0.2.2", path = "../upload-token" }
62-
qiniu-reqwest = { version = "0.2.2", path = "../http-reqwest", optional = true }
63-
qiniu-isahc = { version = "0.2.2", path = "../http-isahc", optional = true }
64-
qiniu-ureq = { version = "0.2.2", path = "../http-ureq", optional = true }
65-
qiniu-utils = { version = "0.2.2", path = "../utils" }
59+
qiniu-http = { version = "0.2.3", path = "../http" }
60+
qiniu-credential = { version = "0.2.3", path = "../credential" }
61+
qiniu-upload-token = { version = "0.2.3", path = "../upload-token" }
62+
qiniu-reqwest = { version = "0.2.3", path = "../http-reqwest", optional = true }
63+
qiniu-isahc = { version = "0.2.3", path = "../http-isahc", optional = true }
64+
qiniu-ureq = { version = "0.2.3", path = "../http-ureq", optional = true }
65+
qiniu-utils = { version = "0.2.3", path = "../utils" }
6666

6767
[target.'cfg(windows)'.dependencies]
6868
windows-sys = { version = "0.48.0", features = ["Win32_Storage_FileSystem", "Win32_Foundation", "Win32_System_IO"] }

http-client/src/client/resolver/c_ares_impl.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ impl CAresResolver {
5353

5454
/// 创建 [`c-ares`](https://c-ares.org/) 域名解析器
5555
#[inline]
56-
#[cfg(any(feature = "async"))]
56+
#[cfg(feature = "async")]
5757
pub fn new_with_options(
5858
sync_options: CAresResolverOptions,
5959
async_options: CAresResolverOptions,
@@ -68,7 +68,7 @@ impl CAresResolver {
6868
#[inline]
6969
pub fn new() -> CAresResolverResult<Self> {
7070
cfg_if! {
71-
if #[cfg(any(feature = "async"))] {
71+
if #[cfg(feature = "async")] {
7272
Self::new_with_options(CAresResolverOptions::new(), CAresResolverOptions::new())
7373
} else {
7474
Self::new_with_options(CAresResolverOptions::new())

http-client/src/client/resolver/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,10 @@ pub use timeout::TimeoutResolver;
201201

202202
mod owned_resolver_options;
203203

204-
#[cfg(any(feature = "c_ares"))]
204+
#[cfg(feature = "c_ares")]
205205
mod c_ares_impl;
206206

207-
#[cfg(any(feature = "c_ares"))]
207+
#[cfg(feature = "c_ares")]
208208
pub use c_ares_impl::{c_ares, c_ares_resolver, CAresResolver};
209209

210210
#[cfg(all(feature = "trust_dns", feature = "async"))]

http-isahc/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "qiniu-isahc"
3-
version = "0.2.2"
3+
version = "0.2.3"
44
authors = ["Rong Zhou <[email protected]>", "Shanghai Qiniu Information Technologies Co., Ltd."]
55
edition = "2021"
66
rust-version = "1.60.0"
@@ -16,7 +16,7 @@ keywords = ["qiniu", "storage"]
1616
[dependencies]
1717
anyhow = "1.0.41"
1818
isahc = { version = "1.4.0" }
19-
qiniu-http = { version = "0.2.2", path = "../http" }
19+
qiniu-http = { version = "0.2.3", path = "../http" }
2020
futures = { version = "0.3.16", optional = true }
2121

2222
[features]

0 commit comments

Comments
 (0)