Skip to content

Commit

Permalink
Make dependency optional
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Oct 21, 2023
1 parent c0206ce commit ce4ca06
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 @@ -18,7 +18,7 @@ cfg-if = "1.0"
once_cell = "1.17"
anyhow = { version = "1", optional = true }
ext-php-rs-derive = { version = "=0.10.1", path = "./crates/macros" }
php-tokio = "0.1.4"
php-tokio = { version = "=0.1.4", optional = true }

[dev-dependencies]
skeptic = "0.13"
Expand All @@ -41,7 +41,7 @@ zip = "0.6"
[features]
closure = []
embed = []
async = []
async = ["dep:php-tokio"]

[workspace]
members = ["crates/macros", "crates/cli"]
Expand Down

0 comments on commit ce4ca06

Please sign in to comment.