Skip to content

Commit

Permalink
Hotfix: axum is obviously an optional dep
Browse files Browse the repository at this point in the history
  • Loading branch information
vi committed May 15, 2024
1 parent fed20e7 commit 6d659a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tokio-listener"
version = "0.4.0"
version = "0.4.1"
edition = "2021"
repository = "https://github.com/vi/tokio-listener"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -31,7 +31,7 @@ tokio = { version = "1.29.1", features = ["net", "io-std", "time", "sync"] }
tonic = { package = "tonic", version = "0.11.0", optional = true }
tonic_010 = { package = "tonic", version = "0.10.2", optional = true }
tracing = "0.1.37"
axum07 = { version="0.7", package="axum" }
axum07 = { version="0.7", package="axum", optional=true }
futures-util = {version="0.3", optional=true}
tokio-util = {version = "0.7", optional=true, features=["net","codec"]}

Expand All @@ -52,7 +52,7 @@ serde = ["dep:serde", "serde_with"]
hyper014 = ["dep:hyper014"]

## Enable tokio-listener-adapted `serve` function from Axum 0.7 (and related types)
axum07 = ["dep:hyper1", "dep:hyper-util", "dep:futures-util", "dep:tower-service", "dep:tower"]
axum07 = ["dep:hyper1", "dep:hyper-util", "dep:futures-util", "dep:tower-service", "dep:tower", "dep:axum07"]

## Enable inetd (stdin/stdout) mode
inetd = ["dep:futures-util"]
Expand Down

0 comments on commit 6d659a1

Please sign in to comment.