Skip to content

Commit

Permalink
make serde an optional dep again
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpdrsn committed Feb 14, 2022
1 parent 967297b commit a6a37d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions axum-extra/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@ version = "0.1.2"
[features]
default = []
erased-json = ["serde_json"]
typed-routing = ["axum-macros"]
typed-routing = ["axum-macros", "serde"]

[dependencies]
axum = { path = "../axum", version = "0.4" }
bytes = "1.1.0"
http = "0.2"
mime = "0.3"
pin-project-lite = "0.2"
serde = "1.0"
tower = { version = "0.4", default_features = false, features = ["util"] }
tower-http = { version = "0.2", features = ["map-response-body"] }
tower-layer = "0.3"
tower-service = "0.3"

# optional dependencies
axum-macros = { path = "../axum-macros", version = "0.1", optional = true }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0.71", optional = true }

[dev-dependencies]
Expand Down

0 comments on commit a6a37d3

Please sign in to comment.