Skip to content

Commit ce4ca06

Browse files
committed
Make dependency optional
1 parent c0206ce commit ce4ca06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ cfg-if = "1.0"
1818
once_cell = "1.17"
1919
anyhow = { version = "1", optional = true }
2020
ext-php-rs-derive = { version = "=0.10.1", path = "./crates/macros" }
21-
php-tokio = "0.1.4"
21+
php-tokio = { version = "=0.1.4", optional = true }
2222

2323
[dev-dependencies]
2424
skeptic = "0.13"
@@ -41,7 +41,7 @@ zip = "0.6"
4141
[features]
4242
closure = []
4343
embed = []
44-
async = []
44+
async = ["dep:php-tokio"]
4545

4646
[workspace]
4747
members = ["crates/macros", "crates/cli"]

0 commit comments

Comments
 (0)