Skip to content

Commit

Permalink
improve release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
wfraser committed Oct 31, 2024
1 parent 32ed229 commit f33801c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ threadpool = "1.8"

[dev-dependencies.tokio]
version = "1.37.0"
features = ["rt-multi-thread", "macros"]
features = ["rt-multi-thread", "macros", "io-std"]

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

[[example]]
name = "demo-async"
required-features = ["dbx_files", "default_async_client", "tokio/io-std"]
required-features = ["dbx_files", "default_async_client"]

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

# v0.18.1
2024-05-06
Expand Down

0 comments on commit f33801c

Please sign in to comment.