Skip to content

Commit

Permalink
Update miette requirement from 5.10.0 to 7.0.0 (#81)
Browse files Browse the repository at this point in the history
* Update miette requirement from 5.10.0 to 7.0.0
* Bump nix dependency to 0.28.0

* Bump MSRV to 1.70
* Bump version to 0.15.0

* Fix redundant import
  • Loading branch information
dependabot[bot] authored Mar 30, 2024
1 parent 81091d9 commit 865d76d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
15 changes: 8 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "tokio-graceful-shutdown"
authors = ["Finomnis <finomnis@gmail.com>"]
version = "0.14.3"
version = "0.15.0"
edition = "2021"
rust-version = "1.63"
rust-version = "1.70"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/Finomnis/tokio-graceful-shutdown"
Expand Down Expand Up @@ -33,7 +33,7 @@ tokio-util = { version = "0.7.10", default-features = false }

pin-project-lite = "0.2.13"
thiserror = "1.0.49"
miette = "5.10.0"
miette = "7.0.0"
async-trait = "0.1.73"
atomic = "0.6.0"
bytemuck = { version = "1.14.0", features = ["derive"] }
Expand All @@ -42,7 +42,7 @@ bytemuck = { version = "1.14.0", features = ["derive"] }
# Error propagation
anyhow = "1.0.75"
eyre = "0.6.8"
miette = { version = "5.10.0", features = ["fancy"] }
miette = { version = "7.2.0", features = ["fancy"] }

# Logging
tracing-subscriber = "0.3.17"
Expand All @@ -63,12 +63,13 @@ tower = ">= 0.4.1" # Required to fix minimal-versions

# Warp example
warp = "0.3.6"
headers = ">= 0.3.5" # Required to fix minimal-versions
serde_urlencoded = ">= 0.7.1" # Required to fix minimal-versions
headers = ">= 0.3.5" # Required to fix minimal-versions
serde_urlencoded = ">= 0.7.1" # Required to fix minimal-versions
unicode-linebreak = ">= 0.1.5" # Required to fix minimal-versions

# For testing unix signals
[target.'cfg(unix)'.dev-dependencies]
nix = { version = "0.27.1", default-features = false, features = ["signal"] }
nix = { version = "0.28.0", default-features = false, features = ["signal"] }

# Make leak sanitizer more reliable
[profile.dev]
Expand Down
1 change: 0 additions & 1 deletion src/subsystem/subsystem_handle/tests.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use tokio::time::{sleep, timeout, Duration};

use super::*;
use crate::subsystem::SubsystemBuilder;

#[tokio::test]
async fn recursive_cancellation() {
Expand Down

0 comments on commit 865d76d

Please sign in to comment.