Skip to content

Commit

Permalink
Replace deadpool dependency by deadpool-runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
bikeshedder committed Sep 6, 2023
1 parent 5dc65e2 commit 6244182
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions sync/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v0.1.1 (unreleased)

* Replace `deadpool` dependency by `deadpool-runtime`. This is a
non-breaking change as the `Runtime` and `SpawnBlockingError`
types were a re-export from `deadpool-runtime` anyways.

## v0.1.0

* First release
4 changes: 2 additions & 2 deletions sync/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deadpool-sync"
version = "0.1.0"
version = "0.1.1"
edition = "2018"
resolver = "2"
authors = ["Michael P. Jung <[email protected]>"]
Expand All @@ -13,4 +13,4 @@ readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
deadpool = { version = "0.9.0", path = "../" }
deadpool-runtime = { version = "0.1.2", path = "../runtime" }
2 changes: 1 addition & 1 deletion sync/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ use std::{
sync::{Arc, Mutex, MutexGuard, PoisonError, TryLockError},
};

use deadpool::{Runtime, SpawnBlockingError};
use deadpool_runtime::{Runtime, SpawnBlockingError};

/// Possible errors returned when [`SyncWrapper::interact()`] fails.
#[derive(Debug)]
Expand Down

0 comments on commit 6244182

Please sign in to comment.