Skip to content

Commit

Permalink
Rename default_features to default-features
Browse files Browse the repository at this point in the history
Fixes the following warning:
`default_features` is deprecated in favor of `default-features`
and will not work in the 2024 edition.
  • Loading branch information
paolobarbolini committed Sep 8, 2024
1 parent 3f98dc1 commit 431b5ed
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tower-http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ tower-service = "0.3"
# optional dependencies
async-compression = { version = "0.4", optional = true, features = ["tokio"] }
base64 = { version = "0.22", optional = true }
futures-core = { version = "0.3", optional = true, default_features = false }
futures-util = { version = "0.3.14", optional = true, default_features = false }
futures-core = { version = "0.3", optional = true, default-features = false }
futures-util = { version = "0.3.14", optional = true, default-features = false }
http-body = { version = "1.0.0", optional = true }
http-body-util = { version = "0.1.0", optional = true }
http-range-header = { version = "0.4.0", optional = true }
iri-string = { version = "0.7.0", optional = true }
mime = { version = "0.3.17", optional = true, default_features = false }
mime_guess = { version = "2", optional = true, default_features = false }
mime = { version = "0.3.17", optional = true, default-features = false }
mime_guess = { version = "2", optional = true, default-features = false }
percent-encoding = { version = "2.1.0", optional = true }
tokio = { version = "1.6", optional = true, default_features = false }
tokio-util = { version = "0.7", optional = true, default_features = false, features = ["io"] }
tokio = { version = "1.6", optional = true, default-features = false }
tokio-util = { version = "0.7", optional = true, default-features = false, features = ["io"] }
tower = { version = "0.5", optional = true }
tracing = { version = "0.1", default_features = false, optional = true }
tracing = { version = "0.1", default-features = false, optional = true }
httpdate = { version = "1.0", optional = true }
uuid = { version = "1.0", features = ["v4"], optional = true }

Expand Down

0 comments on commit 431b5ed

Please sign in to comment.