Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Finomnis committed Oct 12, 2023
1 parent 15bfcb0 commit b2fc26c
Show file tree
Hide file tree
Showing 55 changed files with 2,180 additions and 3,398 deletions.
50 changes: 16 additions & 34 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,58 +1,40 @@
[package]
name = "tokio-graceful-shutdown"
authors = ["Finomnis <[email protected]>"]
version = "0.13.0"
edition = "2018"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/Finomnis/tokio-graceful-shutdown"
description = "Utilities to perform a graceful shutdown on a Tokio based service."
keywords = ["tokio", "shutdown"]
categories = ["asynchronous"]
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

exclude = [
"/.gitignore",
"/.github/",
"/TODO.txt",
"/UPCOMING_VERSION_CHANGES.txt",
]

[dependencies]
# Error definitions
thiserror = "1.0.32"
miette = "5.3.0"
tracing = { version = "0.1.37", default-features = false }

# For async utilities
tokio = { version = "1.20.1", default-features = false, features = [
tokio = { version = "1.32.0", default-features = false, features = [
"signal",
"rt",
"macros",
"time",
] }
tokio-util = { version = "0.7.2", default-features = false }
futures = "0.3.23"
async-recursion = "1.0.0"
pin-project-lite = "0.2.9"

# For 'IntoSubsystem' trait
async-trait = "0.1.57"
tokio-util = { version = "0.7.8", default-features = false }

# For logging
log = "0.4.17"
pin-project-lite = "0.2.13"
thiserror = "1.0.49"
miette = "5.10.0"
async-trait = "0.1.73"
atomic = "0.6.0"
bytemuck = { version = "1.14.0", features = ["derive"] }

[dev-dependencies]
# Error propagation
anyhow = "1.0.61"
anyhow = "1.0.75"
eyre = "0.6.8"
miette = { version = "5.3.0", features = ["fancy"] }
miette = { version = "5.10.0", features = ["fancy"] }

# Logging
env_logger = "0.10.0"
tracing-subscriber = "0.3.17"
tracing-test = "0.2.4"

# Tokio
tokio = { version = "1.20.1", features = ["full"] }
tokio = { version = "1.32.0", features = ["full"] }

# Hyper example
hyper = { version = "0.14.20", features = ["full"] }
Expand Down
201 changes: 0 additions & 201 deletions LICENSE-APACHE

This file was deleted.

21 changes: 0 additions & 21 deletions LICENSE-MIT

This file was deleted.

Loading

0 comments on commit b2fc26c

Please sign in to comment.