Skip to content

Commit

Permalink
Merge pull request #216 from nerodono/make-parking_lot-optional
Browse files Browse the repository at this point in the history
Make parking_lot optional in tokio
  • Loading branch information
lipanski authored Feb 21, 2025
2 parents 4b4eddc + 98d6c69 commit 566364c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ regex = "1.7"
serde_json = "1.0"
serde_urlencoded = "0.7"
similar = "2.2"
tokio = { version = "1.25", features = ["net", "parking_lot", "rt", "sync"] }
tokio = { version = "1.25", features = ["net", "rt", "sync"] }

[dev-dependencies]
env_logger = "0.8"
Expand All @@ -43,5 +43,7 @@ reqwest = { version = "0.12", default-features = false, features = ["http2"] }
tokio = { version = "1.25", features = ["macros", "rt-multi-thread"] }

[features]
default = ["color"]
default = ["color", "parking_lot"]
color = ["colored"]

parking_lot = ["tokio/parking_lot"]

0 comments on commit 566364c

Please sign in to comment.