Skip to content

Commit

Permalink
Make actix-web dependency optional (#44)
Browse files Browse the repository at this point in the history
Co-authored-by: Darren Baldwin <[email protected]>
  • Loading branch information
hazelmeow and DarrenBaldwin07 authored May 16, 2024
1 parent 6faf0cb commit 2b81291
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ serde_json = "^1.0"
url = "^2.2"
regex = "1.7.3"
jsonwebtoken = "8.3.0"
actix-web = "4.3.1"
futures-util = "0.3.28"
actix-rt = { version = "2.9.0", optional = true }
actix-web = { version = "4.3.1", optional = true }
axum = { version = "0.7.5", optional = true }
axum-extra = { version = "0.9.3", features = ["cookie"], optional = true }
tower = { version = "0.4.13", optional = true }
Expand All @@ -61,5 +61,5 @@ tokio = { version = "1.27.0", features = ["full"] }
default = ["rustls-tls"]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls-tls"]
actix = ["dep:actix-rt"]
actix = ["dep:actix-rt", "dep:actix-web"]
axum = ["dep:axum", "dep:axum-extra", "dep:tower"]

0 comments on commit 2b81291

Please sign in to comment.