Skip to content

Commit f33801c

Browse files
committed
improve release notes
1 parent 32ed229 commit f33801c

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ threadpool = "1.8"
5252

5353
[dev-dependencies.tokio]
5454
version = "1.37.0"
55-
features = ["rt-multi-thread", "macros"]
55+
features = ["rt-multi-thread", "macros", "io-std"]
5656

5757
[dev-dependencies.tokio-util]
5858
version = "0.7.10"
@@ -69,7 +69,7 @@ required-features = ["dbx_files", "default_client"]
6969

7070
[[example]]
7171
name = "demo-async"
72-
required-features = ["dbx_files", "default_async_client", "tokio/io-std"]
72+
required-features = ["dbx_files", "default_async_client"]
7373

7474
[features]
7575
# dbx_* features each correspond to one Stone spec file.

RELEASE_NOTES.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ xxxx-yy-zz
55
* Should actually be much simpler to implement now, as the work of setting the right headers has been extracted out
66
into client_helpers code, and implementations now just need to provide a generic HttpRequest type which can set
77
any header.
8-
* Users who use the default client shouldn't notice any changes.
8+
* The default sync client is still the default enabled feature.
9+
* To switch to the async mode, enable the `default_async_client` feature (and disable the `default_client`, `sync_routes`, `sync_routes_default` features).
910
* **BIG CHANGE: no more nested Results**
1011
* Functions which used to return `Result<Result<T, E>, dropbox_sdk::Error>` now return `Result<T, dropbox_sdk::Error<E>>`.
12+
* in other words, `Ok(Err(e))` is now written `Err(dropbox_sdk::Error::Api(e))` and `Ok(Ok(v))` is just `Ok(v)`.
13+
* `dropbox_sdk::Error` now has a type parameter which differs depending on the function being called.
14+
* MSRV raised to 1.71.0
1115

1216
# v0.18.1
1317
2024-05-06

0 commit comments

Comments
 (0)